/* Counterboard — the product page.
 *
 * Most people arrive on a phone, in a shop, with one hand free. So: one
 * column, large type, the price in plain numbers, and something to press that
 * is never more than a thumb away. Dark, because the product is a lit screen
 * in a room and the page should feel like the thing it sells.
 *
 * Every picture on this page is the real software, photographed - no drawings
 * of a product that exists.
 */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-var.woff2') format('woff2-variations'),
       url('/fonts/archivo-var.woff2') format('woff2');
  font-weight: 400 800; font-display: swap;
}

:root {
  --ink: #f2f6fc;
  --dim: #9fb3ce;
  --deep: #050b16;
  --deep-2: #0a1526;
  --line: rgba(255, 255, 255, .12);
  --brand: #3f8cff;
  --brand-deep: #1d5fd8;
  --gold: #f5b52a;
  --glass: rgba(255, 255, 255, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--deep);
  font: 400 17px/1.6 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.mid { width: min(880px, 100% - 2.5rem); margin-inline: auto; }

/* Light behind everything: two soft suns, one blue one warm. */
.glowfield { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.glowfield::before, .glowfield::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(130px); opacity: .55;
}
.glowfield::before { width: 70vw; height: 70vw; top: -28vw; right: -18vw; background: rgba(39, 96, 198, .55); }
.glowfield::after { width: 46vw; height: 46vw; top: 44vw; left: -16vw; background: rgba(245, 181, 42, .16); }
.page { position: relative; z-index: 1; }

h1, h2, h3 { font-weight: 800; letter-spacing: -.022em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0; }
.lede { color: var(--dim); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: linear-gradient(180deg, #ffcb4d, var(--gold)); color: #1a1204; box-shadow: 0 10px 30px rgba(245, 181, 42, .28); }
.btn.glass { background: var(--glass); border-color: var(--line); color: var(--ink); backdrop-filter: blur(6px); }
.btn.glass:hover { border-color: rgba(255, 255, 255, .3); }
.btn.big { padding: 1.05rem 1.8rem; font-size: 1.06rem; }
.btn.block { width: 100%; }

/* ----------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(5, 11, 22, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; }
.mark { display: flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 1.06rem; }
.mark img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.top nav a.plain { color: var(--dim); text-decoration: none; padding: .55rem .75rem; border-radius: 9px; font-weight: 600; font-size: .96rem; }
.top nav a.plain:hover { color: var(--ink); background: var(--glass); }
@media (max-width: 760px) { .top nav a.plain.hide-small { display: none; } }
@media (max-width: 430px) { .mark span { display: none; } }

/* ------------------------------------------------------------------- hero */
.hero { padding: clamp(2.2rem, 4.5vw, 3.6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; gap: clamp(2rem, 4vw, 3.4rem); grid-template-columns: 1.02fr 1fr; align-items: center; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); color: var(--dim);
  font-size: .85rem; font-weight: 600; margin-bottom: 1.3rem;
}
.badge b { color: var(--gold); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffd873, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin: 1.1rem 0 1.6rem; max-width: 32rem; }
.hero .cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero .fineprint { margin-top: 1.1rem; color: #7f95b4; font-size: .95rem; }

/* A screenshot, framed as the thing it is shown on. */
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); overflow: hidden; background: #0b1524; }
.shot img { width: 100%; }
.tvshot { position: relative; max-width: 620px; margin-inline: auto; }
.tvshot .bezel { padding: 10px; border-radius: 18px; background: linear-gradient(180deg, #1b2637, #0b1220); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 110px rgba(0, 0, 0, .6); }
.tvshot .bezel img { border-radius: 9px; width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 18%; }
.tvshot .stand { width: 108px; height: 10px; background: #131d2c; margin: 0 auto; border-radius: 0 0 7px 7px; }
.tvshot .stand.base { width: 190px; height: 8px; border-radius: 6px; margin-top: 4px; }
/* The phone that changes it, overlapping the TV that shows it. */
.tvshot .phone {
  position: absolute; right: -14px; bottom: -46px; width: 27%; min-width: 128px;
  border-radius: 18px; border: 5px solid #101a29; overflow: hidden; background: #101a29;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .6);
}
.tvshot .phone img { width: 260%; max-width: none; margin-left: -12%; }
@media (max-width: 560px) { .tvshot .phone { display: none; } }

/* ---------------------------------------------------------------- strips */
.trades { border-block: 1px solid var(--line); padding: 1.1rem 0; }
.trades .wrap { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; color: var(--dim); font-size: .93rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.trades span::after { content: '·'; margin-left: 1.4rem; opacity: .4; }
.trades span:last-child::after { content: ''; }

/* Other people's boards, side by side. They are drawn to different shapes, so
   each is cropped to one shape and held to the top, where the shop's name is. */
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.3rem); }
.showcase-grid figure { margin: 0; }
.showcase-grid img {
  width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0;
  border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
}
.showcase-grid figcaption { margin-top: .7rem; color: var(--dim); font-size: .86rem; font-weight: 600; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .showcase-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- sections */
section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin-bottom: .8rem; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head .lede { margin-top: .9rem; }

/* The AI section: words one side, the real dialog the other. */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); grid-template-columns: 1fr 1.1fr; align-items: center; }
.split.flip { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } }
.checks { display: grid; gap: .8rem; margin-top: 1.6rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; color: var(--dim); }
.check b { color: var(--ink); display: block; font-weight: 700; }
.check .tick { color: var(--gold); font-weight: 800; }

/* Three steps. */
.trio { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.card .n {
  width: 2.1rem; height: 2.1rem; border-radius: 10px; display: grid; place-items: center;
  background: rgba(63, 140, 255, .18); color: #9cc3ff; font-weight: 800; margin-bottom: .9rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--dim); font-size: .99rem; }

/* Bento of reasons. */
.bento { display: grid; gap: 1.1rem; grid-template-columns: repeat(6, 1fr); }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 3; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento .card, .bento .card.wide { grid-column: auto; } }

/* Setting up: the drawings, on dark. */
.setup-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .setup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .setup-grid { grid-template-columns: 1fr; } }
.setup-tile { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.setup-tile svg { width: 100%; height: auto; background: #f4f8fd; display: block; }
.setup-tile .words { padding: .95rem 1.1rem 1.2rem; }
.setup-tile b { display: block; margin-bottom: .2rem; }
.setup-tile span { color: var(--dim); font-size: .94rem; }

/* --------------------------------------------------------------- pricing */
.prices { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } }
.price { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.price.best { border-color: rgba(245, 181, 42, .55); background: linear-gradient(180deg, rgba(245, 181, 42, .1), rgba(255, 255, 255, .04)); }
.price .tag { position: absolute; top: -.75rem; left: 1.4rem; background: var(--gold); color: #1a1204; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .24rem .6rem; border-radius: 999px; }
.price .screens { font-weight: 700; color: var(--dim); }
.price .amount { font-size: 2.7rem; font-weight: 800; letter-spacing: -.03em; }
.price .amount small { font-size: .92rem; font-weight: 600; color: var(--dim); letter-spacing: 0; }
.price .year { color: var(--dim); font-size: .93rem; }
.price p { color: var(--dim); font-size: .96rem; margin: .6rem 0 1.2rem; }
.price .btn { margin-top: auto; }
.after-prices { margin-top: 1.6rem; color: var(--dim); }
.after-prices b { color: var(--ink); }

/* ------------------------------------------------------------------- faq */
.faq { display: grid; gap: .7rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; background: var(--glass); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--dim); margin-top: .7rem; }

/* --------------------------------------------------------------- closing */
.closer { text-align: center; }
.closer .lede { margin: 1rem auto 2rem; }
.closer .cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
footer { border-top: 1px solid var(--line); padding: 1.8rem 0 2.6rem; color: #7f95b4; font-size: .93rem; }
footer .wrap { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Things arrive as you reach them - once, and never in a way that hides
   content if the browser will not play. */
.rise { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }

/* Dollars, pounds or euros - guessed from the browser, switchable by hand. */
.money-switch { display: inline-flex; gap: .25rem; padding: .25rem; margin-bottom: 1.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.money-switch button {
  border: 0; background: none; color: var(--dim); font: inherit; font-weight: 700; font-size: .9rem;
  padding: .45rem .9rem; border-radius: 999px; cursor: pointer;
}
.money-switch button.on { background: var(--ink); color: #0a1526; }
