/* The public sales page. Same world as the product: warm paper, ink, one ocean accent, Figtree.
   Bigger and more committed than the dashboard, but never louder than the booking page it sells. */
@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --ink: #1b2129; --muted: #59626c; --line: #e2dfd7; --bg: #f7f6f2; --card: #fff; --paper-deep: #efede6;
  --accent: #0f6c7a; --accent-deep: #0a4f5a; --accent-soft: #e3f0f1;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; scrollbar-color: #c9c5bb var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 "Figtree", system-ui, sans-serif; -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: var(--accent-soft); color: var(--accent-deep); }
a { color: var(--accent-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: 0; transform: translateY(-120%); background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 8px; z-index: 50; }
.skip:focus { transform: translateY(12px); }
.wrap { width: min(72rem, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(44rem, 100% - 32px); }
.fine { font-size: .92rem; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn:hover { background: #2c343e; text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--card); }
.btn.small { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; }
.btn.big { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.1rem; }
form { margin: 0; }

/* header */
.h-top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--bg) 94%, transparent); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.h-top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.mark { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.mark span { color: var(--accent); }
.h-top nav { margin-left: auto; display: flex; align-items: center; gap: 1.3rem; }
.h-top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.h-top nav a:not(.btn):hover { color: var(--accent-deep); }
@media (max-width: 640px) { .h-top nav a[href^="#"] { display: none; } .h-top nav { gap: .9rem; } }

/* hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; } }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); max-width: 13ch; letter-spacing: -0.035em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36rem; margin-top: 1.4rem; line-height: 1.55; }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero .fine { margin-top: .9rem; }

/* the example booking page: drawn in the booking page's own visual language */
.example { margin: 0; --b: #7a3b69; }
.ex-page { background: var(--bg); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(27, 33, 41, .28), 0 2px 6px rgba(27, 33, 41, .06); max-width: 26rem; margin: 0 auto; font-size: .95rem; }
.ex-head { display: flex; align-items: center; gap: .6rem; background: var(--b); color: #fff; padding: .95rem 1.1rem; font-size: 1.05rem; }
.ex-logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.ex-tabs { display: flex; gap: .4rem; padding: .8rem 1rem .2rem; }
.ex-tabs span { padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: .85rem; }
.ex-tabs .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ex-cls { background: var(--card); margin: .7rem 1rem 0; border-radius: 14px; padding: .95rem 1rem; box-shadow: 0 1px 3px rgba(27, 33, 41, .07); }
.ex-cls h3 { font-size: 1.1rem; letter-spacing: -0.015em; }
.ex-meta { color: var(--muted); font-size: .88rem; margin-top: .2rem; }
.ex-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .75rem; font-size: .88rem; flex-wrap: wrap; }
.ex-low { font-style: normal; font-weight: 650; font-size: .78rem; color: #a3470d; background: #fdf0e6; border-radius: 999px; padding: .1rem .5rem; margin-left: .3rem; }
.ex-book { display: inline-flex; align-items: center; gap: .6rem; }
.ex-book b { font-size: 1.02rem; }
.ex-btn { display: inline-flex; align-items: center; min-height: 36px; padding: .3rem 1rem; border-radius: 999px; background: var(--b); color: #fff; font-weight: 700; font-size: .9rem; }
.ex-btn.dark { background: var(--ink); }
.ex-bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: 1rem; padding: .8rem 1rem; background: var(--card); border-top: 1px solid var(--line); font-size: .9rem; }
.example figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1rem; }

/* sections */
section h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.two { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; } }
.two h2 + p, .two p + p { margin-top: 1.1rem; }
.two p { max-width: 34rem; color: var(--muted); }
.two p.fine { font-size: .92rem; }

/* the block demo: one authored moment */
.block-demo { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: var(--card); border-block: 1px solid var(--line); }
.bd { background: var(--bg); border-radius: 16px; padding: 1.3rem; }
.bd-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.bd-head b { font-size: 1.1rem; }
.bd-weeks { list-style: none; margin: 1rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 520px) { .bd-weeks { grid-template-columns: repeat(6, 1fr); } }
.bd-weeks li { display: grid; gap: .1rem; padding: .7rem .6rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); font-size: .82rem;
  transition: background-color 260ms var(--ease-out), color 260ms var(--ease-out), opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.bd-weeks li b { font-size: .95rem; }
.bd-weeks li.gone { background: transparent; color: var(--muted); opacity: .55; transform: scale(.96); box-shadow: inset 0 0 0 1px var(--line); }
.bd-weeks li.gone b { text-decoration: line-through; text-decoration-thickness: 1px; }
.bd-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .9rem; color: var(--muted); }
.bd-ctl span { margin-right: .2rem; }
.bd-ctl button { min-width: 40px; font: inherit; font-weight: 650; font-size: .88rem; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; min-height: 36px; padding: .25rem .8rem; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.bd-ctl button:active { transform: scale(0.96); }
.bd-ctl button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.bd-out { margin-top: 1.1rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.bd-out b { font-size: 1.6rem; color: var(--accent-deep); }

/* what it does better */
.better { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.better-list { margin: 2.4rem 0 0; display: grid; gap: 0 3.5rem; }
@media (min-width: 820px) { .better-list { grid-template-columns: 1fr 1fr; } }
.better-list > div { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.better-list dt { font-weight: 750; font-size: 1.12rem; letter-spacing: -0.01em; }
.better-list dd { margin: .35rem 0 0; color: var(--muted); max-width: 32rem; }

/* own website */
.site { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--paper-deep); }
.code-card { background: var(--ink); color: #e9ecef; border-radius: 16px; padding: 1.3rem 1.4rem; }
.code-card p { color: #c3c9d0; font-size: .95rem; }
.code-card .fine { color: #9aa3ad; margin-top: .9rem; }
.code-card pre { margin: .8rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 .9rem/1.55 ui-monospace, "SF Mono", Menlo, monospace; color: #fff; }
.code-card ::selection { background: #2d6f79; color: #fff; }

/* pricing */
.pricing { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.pricing .sub { color: var(--muted); margin-top: .8rem; max-width: 40rem; }
.price-wrap { margin-top: 2.4rem; background: var(--card); border-radius: 16px; box-shadow: 0 1px 3px rgba(27, 33, 41, .06); overflow: hidden; }
.prices { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prices thead th { text-align: left; vertical-align: top; padding: 1.4rem 1.1rem 1.2rem; width: 19%; }
.prices thead td { width: 24%; }
.p-name { display: block; font-weight: 750; font-size: 1.05rem; }
.p-price { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-top: .3rem; }
.p-price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.p-blurb { display: block; color: var(--muted); font-size: .86rem; font-weight: 400; margin-top: .4rem; line-height: 1.45; }
.prices tbody th { text-align: left; font-weight: 500; padding: .6rem 1.1rem; color: var(--ink); }
.prices tbody td { padding: .6rem 1.1rem; }
.prices tbody tr { border-top: 1px solid var(--line); }
.prices .pick { background: color-mix(in oklab, var(--accent-soft) 60%, #fff); }
.prices thead .pick .p-name { color: var(--accent-deep); }
.yes { display: inline-flex; color: var(--accent); } .yes svg { width: 20px; height: 20px; }
.no { color: #b9b5ab; }
.plan-cards { display: none; }
@media (max-width: 760px) {
  .price-wrap { display: none; }
  .plan-cards { display: grid; gap: .8rem; list-style: none; margin: 2rem 0 0; padding: 0; }
  .plan-cards > li { background: var(--card); border-radius: 16px; padding: 1.2rem; box-shadow: 0 1px 3px rgba(27, 33, 41, .06); }
  .plan-cards > li.pick { box-shadow: inset 0 0 0 2px var(--accent); }
  .plan-cards h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.25rem; }
  .plan-cards h3 small { font-size: .85rem; font-weight: 500; color: var(--muted); }
  .plan-cards p { color: var(--muted); font-size: .93rem; margin-top: .35rem; }
  .plan-cards .pc-limits { color: var(--ink); font-weight: 600; }
  .plan-cards ul { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .25rem; font-size: .93rem; }
  .plan-cards ul li { display: flex; gap: .45rem; align-items: center; }
  .plan-cards ul svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
}
.fees { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; max-width: 44rem; }

/* who, questions, end */
.me { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--card); border-block: 1px solid var(--line); }
.me h2, .faq h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.me p { margin-top: 1rem; font-size: 1.12rem; max-width: 40rem; }
.faq { padding: clamp(3rem, 7vw, 5rem) 0; }
.faq h2 { margin-bottom: 1.2rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 1.2rem; color: var(--muted); max-width: 38rem; }
.end { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); text-align: center; }
.end h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.end p { color: var(--muted); margin: 1rem auto 1.8rem; max-width: 30rem; }
.h-foot { border-top: 1px solid var(--line); padding: 1.6rem 0 calc(1.6rem + env(safe-area-inset-bottom)); font-size: .9rem; color: var(--muted); }
.h-foot .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
@media (max-width: 520px) { .bd-ctl > span { flex-basis: 100%; margin-bottom: .2rem; } .bd-ctl button { flex: 1; } }
