/* Brand layer: a calm, editorial look. Plain white/black background, ink type at regular weight,
   monochrome buttons and hairlines. Product mockups stay dark, framed on soft painted
   backdrops. Loaded after styles.css and overrides it. */

:root {
  --paper: #ffffff;
  --paper-2: #f2f2f2;
  --ink: #111111;
  --ink-2: rgba(17, 17, 17, 0.64);
  --ink-3: rgba(17, 17, 17, 0.44);
  --hair: rgba(17, 17, 17, 0.1);
  --hair-2: rgba(17, 17, 17, 0.18);
  --button: #111111;
  --button-text: #ffffff;
  --accent: #c2410c;

  /* Painted backdrops behind the mockups. */
  --paint-sand: radial-gradient(120% 90% at 15% 0%, #ece6db 0%, transparent 60%), radial-gradient(100% 80% at 100% 100%, #cfc8bb 0%, transparent 65%), linear-gradient(180deg, #e2ddd3, #cdc6ba);
  --paint-slate: radial-gradient(120% 90% at 85% 0%, #e4e6e8 0%, transparent 60%), radial-gradient(100% 80% at 0% 100%, #b9bfc6 0%, transparent 65%), linear-gradient(180deg, #d9dcdf, #bfc4ca);
  --paint-sage: radial-gradient(120% 90% at 15% 0%, #e3e6dc 0%, transparent 60%), radial-gradient(100% 80% at 100% 100%, #b7c2b2 0%, transparent 65%), linear-gradient(180deg, #d8ddd2, #bcc6b7);
  --paint-clay: radial-gradient(120% 90% at 85% 0%, #efe3d9 0%, transparent 60%), radial-gradient(100% 80% at 0% 100%, #d6bfae 0%, transparent 65%), linear-gradient(180deg, #e6dbd1, #d3c2b4);

  --bg: var(--paper);
  --text: var(--ink);
  --muted: var(--ink-2);
  --faint: var(--ink-3);
  --line: var(--hair);
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #000000;
    --paper-2: #141414;
    --ink: #f5f5f5;
    --ink-2: rgba(245, 245, 245, 0.64);
    --ink-3: rgba(245, 245, 245, 0.42);
    --hair: rgba(245, 245, 245, 0.1);
    --hair-2: rgba(245, 245, 245, 0.18);
    --button: #f5f5f5;
    --button-text: #000000;
    --accent: #f08a5d;
    --paint-sand: radial-gradient(120% 90% at 15% 0%, #3a352d 0%, transparent 60%), radial-gradient(100% 80% at 100% 100%, #2a2620 0%, transparent 65%), linear-gradient(180deg, #2f2b25, #1f1c18);
    --paint-slate: radial-gradient(120% 90% at 85% 0%, #343840 0%, transparent 60%), radial-gradient(100% 80% at 0% 100%, #22262c 0%, transparent 65%), linear-gradient(180deg, #2a2e34, #1b1e22);
    --paint-sage: radial-gradient(120% 90% at 15% 0%, #333a31 0%, transparent 60%), radial-gradient(100% 80% at 100% 100%, #222820 0%, transparent 65%), linear-gradient(180deg, #2a3028, #1b1f1a);
    --paint-clay: radial-gradient(120% 90% at 85% 0%, #3d3129 0%, transparent 60%), radial-gradient(100% 80% at 0% 100%, #2a211c 0%, transparent 65%), linear-gradient(180deg, #33291f, #201a16);
  }
}

body { background: var(--paper); color: var(--ink); }
.grain { display: none; }
::selection { background: rgba(194, 65, 12, 0.18); }

/* Mockups keep the dark app look, whatever the page theme. */
.screen, .desk, .list, .day, .open-notch, .float-peek, .ears, .logo-tile, .cta-peek {
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* ---- Type ---- */
h1, section h2 {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--ink); -webkit-text-fill-color: currentColor;
  font-weight: 500; letter-spacing: -0.03em; text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; }
section h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; }
.kicker, .eyebrow {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--ink-3); -webkit-text-fill-color: currentColor;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em; text-transform: none;
}
.lede, .sub { color: var(--ink-2); }
.sub { font-size: clamp(16px, 1.4vw, 18px); }
kbd { color: var(--ink); background: var(--paper-2); border-color: var(--hair-2); }
.screen kbd, .desk kbd, .pill kbd { color: inherit; background: none; border-color: rgba(255,255,255,.14); }
.feature-copy code, .tile code { color: var(--ink); background: var(--paper-2); }

/* ---- Nav ---- */
.nav-blur::after { background: linear-gradient(to bottom, var(--paper), transparent); opacity: 0.85; }
.brand { color: var(--ink); font-weight: 600; }
.nav-cta {
  color: var(--button-text); background: var(--button); border-color: transparent; box-shadow: none;
}
.nav-cta:hover { background: var(--button); border-color: transparent; opacity: 0.86; }

/* ---- Buttons ---- */
.btn-download, .tier-cta, .inline-cta a, .price-cta, .waitlist button {
  color: var(--button-text); background: var(--button); box-shadow: none; font-weight: 550;
}
.btn-download:hover, .tier-cta:hover, .inline-cta a:hover, .price-cta:hover, .waitlist button:hover { box-shadow: none; opacity: 0.88; }
.btn-buy, .tier-cta.ghost {
  color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); font-weight: 550;
}
.btn-buy:hover, .tier-cta.ghost:hover { background: var(--paper-2); }
.btn-download, .btn-buy { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-download svg { width: 17px; height: 17px; }

/* ---- Hero: copy on the left, the product below on a painted backdrop ---- */
.hero {
  align-items: flex-start; text-align: left; background: none;
  max-width: 1180px; margin: 0 auto; padding: 132px clamp(20px, 5vw, 48px) 40px;
}
.hero > .eyebrow { margin: 0 0 18px; }
.hero > .lede { margin: 22px 0 30px; max-width: 600px; }
.hero .hero-ctas { justify-content: flex-start; }
.hero-note { color: var(--ink-3); }
.stage {
  position: relative; width: 100%; border-radius: 20px; overflow: hidden;
  padding: clamp(18px, 4vw, 56px) clamp(14px, 5vw, 72px) 0;
  background: var(--paint-sand);
}
.hero-stage { margin-top: 56px; }
.hero-stage .screen {
  width: 100%; height: clamp(260px, 30vw, 360px); margin: 0 auto;
  border: none; border-radius: 12px 12px 0 0;
  mask-image: none; -webkit-mask-image: none;
  box-shadow: 0 30px 80px -30px rgba(30, 25, 15, 0.55);
  background: linear-gradient(180deg, #1d1c1a, #141311);
}
.screen::before, .desk::before {
  filter: blur(80px) saturate(0.7);
  background:
    radial-gradient(45% 55% at 22% 90%, rgba(120, 140, 170, 0.45), transparent 75%),
    radial-gradient(40% 50% at 78% 85%, rgba(200, 140, 110, 0.4), transparent 75%);
}

/* ---- The loop ---- */
.loop { padding-top: 24px; }
.loop-steps { gap: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.loop-steps li { border: none; border-radius: 0; background: none; padding: 22px 18px 24px 0; }
.loop-steps li + li { border-left: 1px solid var(--hair); padding-left: 18px; }
.loop-steps b { font-weight: 550; color: var(--ink); }
.loop-n { background: none; color: var(--ink-3); width: auto; height: auto; justify-content: start; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) {
  .loop-steps li, .loop-steps li + li { border-left: none; padding-left: 0; border-bottom: 1px solid var(--hair); }
}

/* ---- Showcase and features ---- */
.section-head { text-align: left; margin-left: 0; }
.showcase .section-head { max-width: 760px; }
.desk { border-radius: 14px; box-shadow: 0 40px 100px -40px rgba(30, 25, 15, 0.6); }
.desk-stage { background: var(--paint-slate); padding-bottom: clamp(18px, 4vw, 56px); }
.desk-stage .desk { margin: 0; }
.points b { color: var(--ink); font-weight: 550; }
.points { color: var(--ink-2); }
.inline-cta { text-align: left; }

.feature-visual {
  border: none; border-radius: 20px; box-shadow: none;
  background: var(--paint-sand) !important;
}
section.feature:nth-of-type(3) .feature-visual { background: var(--paint-slate) !important; }
section.feature:nth-of-type(4) .feature-visual { background: var(--paint-sage) !important; }
section.feature:nth-of-type(5) .feature-visual { background: var(--paint-sand) !important; }
section.feature:nth-of-type(6) .feature-visual { background: var(--paint-clay) !important; }
.list, .day, .open-notch { box-shadow: 0 30px 70px -30px rgba(30, 25, 15, 0.55); }
.ears { box-shadow: 0 16px 40px -18px rgba(30, 25, 15, 0.6); }
.feature-visual::before, .feature-visual::after { display: none; }

/* ---- Works with ---- */
.works-label { color: var(--ink-3); letter-spacing: 0.02em; text-transform: none; font-size: 13px; }
.works-card {
  background: var(--paper); border: 1px solid var(--hair); box-shadow: none;
}
.works-card:hover { border-color: var(--hair-2); }
.works-head b { color: var(--ink); font-weight: 550; }
.works-head span, .logo-name { color: var(--ink-2); }
.logo-tile { background: #1b1a17; border-color: transparent; box-shadow: none; }

/* ---- Tiles ---- */
.tile {
  background: var(--paper) !important; border: 1px solid var(--hair); box-shadow: none;
}
.tile:hover { border-color: var(--hair-2); transform: none; }
.tile h3 { font-weight: 550; color: var(--ink); }
.tile p { color: var(--ink-2); }
.tile-icon { background: var(--paper-2); box-shadow: none; }
.tile-icon svg { stroke: var(--ink); }

/* ---- Pricing ---- */
.pricing h2, .faq h2, .pricing .kicker, .faq .kicker { text-align: center; }
.tier { background: var(--paper); border: 1px solid var(--hair); box-shadow: none; }
.tier.pro { background: var(--paper); border-color: var(--ink); }
.tier-badge { color: var(--button-text); background: var(--button); font-weight: 550; }
.tier-head b { color: var(--ink); font-weight: 550; }
.tier-price .amount { font-weight: 500; color: var(--ink); }
.price-list li { color: var(--ink-2); }
.price-list b { color: var(--ink); font-weight: 550; }
.price-list li::before { content: "✓"; background: none; color: var(--ink); font-weight: 600; }

/* ---- FAQ ---- */
.faq summary { color: var(--ink); font-weight: 500; }
.faq details p { color: var(--ink-2); }

/* ---- Bottom CTA ---- */
.cta-stage { display: none; }
.cta { border-top: 1px solid var(--hair); }
.waitlist input[type="email"] {
  color: var(--ink); background: var(--paper); border: 1px solid var(--hair-2); box-shadow: none;
}
.waitlist input[type="email"]::placeholder { color: var(--ink-3); }
.waitlist input[type="email"]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--hair); }
.form-note { color: var(--ink-3); }
.share a, .share .copy-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--hair); }
.footer .brand { color: var(--ink); }

@media (max-width: 640px) {
  .hero { padding-top: 104px; }
  .hero-stage { margin-top: 36px; border-radius: 14px; }
  .stage { padding: 14px 10px 0; }
}
.desk { background: linear-gradient(160deg, #1f1e1b, #131210); border: none; border-radius: 12px; }
.desk-stage { border-radius: 20px; }
/* A quiet dusk wallpaper on the mock desktop, so the notch has something to sit on. */
.hero-stage .screen {
  background:
    radial-gradient(70% 60% at 70% 110%, rgba(214, 160, 120, 0.55), transparent 70%),
    radial-gradient(60% 50% at 15% 100%, rgba(120, 132, 150, 0.5), transparent 70%),
    linear-gradient(180deg, #2b2a2e 0%, #3d3a40 45%, #6a5c58 80%, #8a7064 100%);
}
.hero-stage .screen::before { display: none; }
.tier .price-list { align-content: start; }

/* ---- Integrations: a header per category, its tools in a grid with hairlines ---- */
.works { text-align: left; }
.works-intro { margin-bottom: 40px; }
.integrations { border-top: 1px solid var(--hair); }
.int-row { border-bottom: 1px solid var(--hair); }
.int-cat { display: flex; align-items: baseline; gap: 12px; padding: 26px 0 16px; }
.int-cat b { font-size: 15px; font-weight: 550; color: var(--ink); }
.int-cat span { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.int-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.int-items li { display: flex; flex-direction: column; gap: 3px; padding: 24px 22px; border-left: 1px solid var(--hair); min-width: 0; transition: background 0.2s; }
.int-items li:first-child { border-left: none; padding-left: 0; }
.int-items li:not(.int-empty):hover { background: var(--paper-2); }
.int-logo { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 12px; color: var(--ink); }
.int-logo svg { width: 24px; height: 24px; }
.int-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.int-note { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 900px) {
  .int-cat { flex-direction: column; gap: 4px; padding: 22px 0 14px; }
  .int-items { grid-template-columns: repeat(2, 1fr); }
  .int-items li { padding: 18px 14px; }
  .int-items li:nth-child(odd) { border-left: none; padding-left: 0; }
  .int-items li:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .int-items .int-empty:nth-child(3), .int-items .int-empty:nth-child(3) ~ .int-empty { display: none; }
}

/* Monthly / yearly switch on the Pro tier. */
.billing { position: absolute; top: 22px; right: 22px; display: flex; gap: 2px; padding: 2px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); }
.billing button { font: inherit; font-size: 12px; font-weight: 500; color: var(--ink-3); background: none; border: none; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.billing button.on { color: var(--button-text); background: var(--button); }
.billing button span { opacity: 0.7; }
a.btn-buy { text-decoration: none; }
