/* Layout: product first, like Linear or Raycast; calm and roomy, like Things. Left-aligned copy beside the real panel.
   Colour as in the app: neutral greys, with ink as the accent in light mode and pearl in dark mode. No other colour. */
:root {
  --page: #f4f4f2;
  --raised: #ffffff;
  --sunk: #ebebe8;
  --ink: #18181a;
  --ink-2: #3d3d40;
  --muted: #6e6e72;
  --rule: #dfdfdb;
  --track: #e4e4e0;
  --used: #9c9c98;
  --accent: #18181a;
  --on-accent: #f4f4f2;
  --focus: #2b5fd0;
  --sage: #4f6e58;
  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #111113; --raised: #18181b; --sunk: #0c0c0e; --ink: #ecebe8; --ink-2: #c7c6c1; --muted: #8e8d89; --rule: #29292c;
    --track: #252528; --used: #5b5b5e; --accent: #e8e4dc; --on-accent: #18181a; --focus: #7aa5ff; --sage: #a7c1aa; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sage: #a7c1aa;
  --page: #111113; --raised: #18181b; --sunk: #0c0c0e; --ink: #ecebe8; --ink-2: #c7c6c1; --muted: #8e8d89; --rule: #29292c;
  --track: #252528; --used: #5b5b5e; --accent: #e8e4dc; --on-accent: #18181a; --focus: #7aa5ff; color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; }
:root:not([data-lang="de"]) .de, :root[data-lang="de"] .en { display: none !important; }
.wrap { max-width: 1100px; margin: 0 auto; padding-inline: 24px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.7rem); line-height: 1; font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.num { font-variant-numeric: normal; }
.small { font-size: 0.9rem; color: var(--muted); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.lang button { font: inherit; font-size: 0.85rem; padding: 6px 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--raised); color: var(--ink); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 0.97rem;
  padding: 11px 20px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; cursor: pointer; }
.btn:hover { opacity: 0.88; }
.btn.go { background: var(--accent); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--rule); }

/* Hero: the 3D icon, the question under it, then the real panel tilted towards you */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 8px 96px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero .lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--ink-2); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* The icon stage: a flat icon until the 3D one has drawn its first frame */
.stage { position: relative; width: clamp(230px, 34vw, 360px); aspect-ratio: 1; max-width: 100%; margin-bottom: -8px; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease; }
.stage .flat { position: absolute; inset: 22%; width: 56%; height: 56%; transition: opacity 0.4s ease;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.22)); }
.stage.live canvas { opacity: 1; }
.stage.live .flat { opacity: 0; }

/* The scene: a slice of a Mac desktop. Terminal with Claude Code behind, the Plenty window in front. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.scene-wrap { width: 100%; max-width: 1000px; margin-top: 64px; text-align: left; }
.scene { position: relative; padding-top: 40px; }
.menubar { position: absolute; top: 0; left: 0; right: 0; height: 30px; border-radius: 10px; display: flex; align-items: center;
  gap: 18px; padding-inline: 14px; font-size: 0.8rem; background: var(--raised); border: 1px solid var(--rule); color: var(--ink-2); }
.menubar .app { font-weight: 700; color: var(--ink); }
.menubar .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.menubar .tray { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 20px; border-radius: 5px; background: var(--sunk); }
.menubar .tray svg { width: 14px; height: 14px; }
.win { border-radius: 12px; overflow: hidden; border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 30px 70px -28px rgba(0,0,0,0.45), 0 10px 22px -12px rgba(0,0,0,0.18); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.25); }
.win-bar i.close { background: #ff5f57; }
.win-bar i.min { background: #febc2e; }
.win-bar i.max { background: #28c840; }
.win-bar span { margin-left: 10px; font-size: 0.82rem; }

/* Terminal: dark in both themes, as most terminals are */
.term { width: 64%; background: #161618; border-color: #2a2a2d; color: #d9d6cf; }
.term .win-bar { background: #1e1e21; border-bottom: 1px solid #2a2a2d; }
.term .win-bar span { color: #8d8a84; }
.term-body { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86rem; line-height: 1.65;
  padding: 18px 20px 14px; min-height: 330px; display: flex; flex-direction: column; gap: 2px; }
.term-body p { margin: 0; }
.t-dim { color: #7d7b76; }
.t-prompt { color: #a7c1aa; }
.t-out { color: #d9d6cf; }
.t-out b { color: #e8e4dc; font-weight: 700; }
.t-gap { height: 12px; }
.t-status { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 6px 10px; border-radius: 6px; background: #222225; color: #b9b6af; font-size: 0.8rem; }
.t-status .ok { color: #a7c1aa; font-weight: 700; }
.term .caret { background: #d9d6cf; }

/* The Plenty window, in front and to the right */
.panel { position: absolute; right: 0; top: 78px; width: 46%; background: var(--raised); }
.panel .win-bar { border-bottom: 1px solid var(--rule); }
.panel .win-bar span { color: var(--muted); font-weight: 600; }
.panel-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 18px; }
.limit { display: flex; flex-direction: column; gap: 7px; }
.limit-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.9rem; }
.limit-head b { font-weight: 650; }
.limit-head span { color: var(--muted); }
.bar { position: relative; height: 10px; border-radius: 5px; background: var(--track); overflow: hidden; }
.bar .used { position: absolute; inset: 0 auto 0 0; background: var(--used); border-radius: 5px 0 0 5px; }
.bar .task { position: absolute; top: 0; bottom: 0; background: var(--sage); }
.range { position: relative; height: 8px; margin-top: -2px; }
.range span { position: absolute; top: 0; height: 6px; border: 1.5px solid var(--muted); border-top: 0; border-radius: 0 0 4px 4px; }
.next { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--rule); }
.next .label { font-size: 0.82rem; color: var(--muted); }
.next .task-name { font-weight: 600; font-size: 0.95rem; }
.answer-line { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-top: 4px; }
.answer-line .pct { color: var(--sage); }
.answer-sub { color: var(--muted); font-size: 0.86rem; }
.clock { display: inline-block; min-width: 3.6em; text-align: left; }
.caret { display: inline-block; width: 7px; height: 1.1em; background: var(--ink); vertical-align: -0.2em; margin-left: 2px; }
.typing .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Pieces the script brings in, in order. Without the script they simply show. */
.later { transition: opacity 0.5s ease, transform 0.5s ease; }
.later.held { opacity: 0; transform: translateY(4px); }
.bar .grow { transition: width 1s cubic-bezier(.25,.7,.25,1); }
@media (prefers-reduced-motion: no-preference) {
  .scene { transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
  .scene.pending { opacity: 0; transform: translateY(24px); }
}
@media (max-width: 760px) {
  .scene { padding-top: 0; display: flex; flex-direction: column; gap: 16px; }
  .menubar { display: none; }
  .term, .panel { position: static; width: 100%; }
  .panel { order: -1; }
  .term-body { min-height: 0; }
}

/* Window buttons show their symbols on hover, as on a Mac */
.win-bar i { position: relative; }
.win-bar:hover i::after { content: ""; position: absolute; inset: 0; background: center / 100% 100% no-repeat; }
.win-bar:hover i.close::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 4 L8 8 M8 4 L4 8' stroke='rgba(0,0,0,0.6)' stroke-width='1.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.win-bar:hover i.min::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.6 6 H8.4' stroke='rgba(0,0,0,0.6)' stroke-width='1.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.win-bar:hover i.max::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 3.6 V8.4 M3.6 6 H8.4' stroke='rgba(0,0,0,0.6)' stroke-width='1.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }

/* The answers' header: words on the left, the notifications Plenty sends on the right */
.answers-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); gap: 40px; align-items: end; margin-bottom: 40px; }
.answers-head .intro { margin-bottom: 0; }
.notes { display: flex; flex-direction: column; gap: 10px; }
.note { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 16px;
  background: var(--page); border: 1px solid var(--rule); box-shadow: 0 14px 34px -18px rgba(0,0,0,0.35); }
.app-icon { width: 36px; height: 36px; display: block; }
.note-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--muted); }
.note-top b { color: var(--ink-2); font-weight: 600; }
.note-title { font-weight: 650; font-size: 0.92rem; margin-top: 1px; }
.note-text { font-size: 0.88rem; color: var(--ink-2); line-height: 1.45; }

/* Small product scenes above each feature */
.vig { height: 150px; border-radius: 12px; border: 1px solid var(--rule); background: var(--raised); overflow: hidden; display: flex; flex-direction: column; margin-bottom: 8px; }
.vig.dark { background: #161618; border-color: #2a2a2d; color: #d9d6cf; font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; line-height: 1.6; padding: 16px; gap: 6px; justify-content: center; }
.vig.dark .p { color: #a7c1aa; }
.vig.dark b { color: #e8e4dc; }
.vig.dark .dim { color: #7d7b76; }
.week { padding: 14px 16px 10px; height: 100%; display: flex; flex-direction: column; gap: 8px; }
.week-head { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); }
.week-head b { color: var(--ink); font-weight: 650; }
.week-bars { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; }
.week-bars span { display: block; border-radius: 4px 4px 2px 2px; background: var(--used); }
.week-bars span.today { background: var(--sage); }
.week-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; font-size: 0.7rem; color: var(--muted); text-align: center; }
.tip { padding: 16px; display: flex; flex-direction: column; gap: 8px; height: 100%; justify-content: center; }
.tip .tag { align-self: flex-start; font-size: 0.72rem; font-weight: 650; padding: 2px 8px; border-radius: 6px; background: var(--sunk); color: var(--ink-2); }
.tip p { font-size: 0.86rem; color: var(--ink-2); line-height: 1.45; }
.tip p b { color: var(--ink); }

/* The timesheet as a Plenty window */
.sheet .win-bar { border-bottom: 1px solid var(--rule); }
.sheet .win-bar span { color: var(--muted); font-weight: 600; }
.sheet .win-bar .small { margin-left: auto; font-weight: 400; }

/* Things that slide in when they come into view; the script adds .pending first */
.reveal { transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.25,.7,.25,1); }
.reveal.pending { opacity: 0; transform: translateX(18px); }

@media (max-width: 900px) { .answers-head { grid-template-columns: minmax(0, 1fr); } }

/* How it works: three steps in order, joined by a line that draws itself once */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 14px; right: 14px; top: 192px; height: 1.5px; background: var(--used); transform-origin: left; transition: transform 2.4s cubic-bezier(.25,.7,.25,1); }
.steps.pending::before { transform: scaleX(0); }
.step { display: flex; flex-direction: column; gap: 10px; position: relative; }
.step-vis { height: 160px; border-radius: 12px; border: 1px solid var(--rule); background: var(--raised); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.step-n { position: relative; z-index: 1; width: 28px; height: 28px; margin-top: 8px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
  background: var(--page); border: 1.5px solid var(--ink); color: var(--ink); }
.step p { color: var(--ink-2); font-size: 0.97rem; }
.files { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; line-height: 1.75; padding: 14px 16px; color: var(--ink-2); }
.files .dir { color: var(--muted); }
.files .new { color: var(--sage); font-weight: 700; }
.dots { width: 100%; height: 100%; display: block; padding: 8px; }
.verdict-vis { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.verdict-vis .q { font-size: 0.85rem; color: var(--muted); }
.verdict-vis .a { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.verdict-vis .a span { color: var(--sage); }
.verdict-vis .bar { height: 8px; }

/* Footer: the icon, a short line, and the links */
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 56px 28px; border-top: 1px solid var(--rule); }
.foot-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-icon { width: 76px; height: 76px; display: block; }
.foot-brand b { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.foot-brand p { color: var(--ink-2); max-width: 22em; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 0.93rem; }
.foot-col h3 { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px 40px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--rule); }

@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before { display: none; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

/* The real app, with demo data */
.real { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.real picture, .real img { display: block; width: 100%; height: auto; }
.real img { border-radius: 12px; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.45); }
.real .side { display: flex; flex-direction: column; gap: 20px; }
.real-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 900px) { .real { grid-template-columns: minmax(0, 1fr); } }

/* Depth: the windows shift against each other (driven by --px and --py from the script) */
.scene .term { transform: translate3d(calc(var(--px, 0) * -7px), calc(var(--py, 0) * -5px), 0); }
.scene .panel { transform: translate3d(calc(var(--px, 0) * 12px), calc(var(--py, 0) * 9px), 0); }
.scene .menubar { transform: translate3d(calc(var(--px, 0) * -3px), calc(var(--py, 0) * -2px), 0); }
.answer-line[data-kind="tight"] .pct, .answer-line[data-kind="over"] .pct { color: var(--ink); }
.stage { cursor: grab; touch-action: pan-y; }
.stage:active { cursor: grabbing; }
.cloud { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-vis { position: relative; }

/* The mark: a crisp vector icon with a fine edge light, a soft glow behind it, and a gentle tilt towards the pointer */
.mark-wrap { position: relative; width: clamp(150px, 20vw, 196px); aspect-ratio: 1; margin: 18px 0 30px; perspective: 900px; isolation: isolate; }
.mark-glow { position: absolute; inset: -38%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232,228,220,0.30), rgba(207,122,82,0.12) 55%, transparent 75%); filter: blur(18px); }
.mark { width: 100%; height: 100%; display: block; transform: rotateX(calc(var(--ty, 0) * -10deg)) rotateY(calc(var(--tx, 0) * 12deg));
  transition: transform 0.25s ease-out; filter: drop-shadow(0 26px 30px rgba(0,0,0,0.35)) drop-shadow(0 4px 6px rgba(0,0,0,0.2)); }
.mark .bar-r { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .mark .bar-r { animation: rise-bar 0.9s cubic-bezier(.25,.7,.25,1) both; }
  .mark .b2 { animation-delay: 0.25s; } .mark .b3 { animation-delay: 0.5s; }
  .mark .dots { animation: dots-in 0.6s ease 1.1s both; }
  @keyframes rise-bar { from { transform: scaleY(0.02); } }
  @keyframes dots-in { from { opacity: 0; transform: translate(-2px, 2px); } }
}

/* A warm glow under the desktop scene */
.scene-wrap { position: relative; isolation: isolate; }
.scene-wrap::before { content: ""; position: absolute; inset: 18% 6% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(207,122,82,0.22), rgba(207,122,82,0.06) 60%, transparent); filter: blur(30px); }

/* Ask wherever you already are: each surface in its own colour */
.surfaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.surface { position: relative; overflow: hidden; border-radius: 20px; padding: 20px; min-height: 330px; display: flex; flex-direction: column; gap: 10px;
  background: #121214; color: #ecebe8; border: 1px solid rgba(255,255,255,0.07); isolation: isolate; }
.surface::before { content: ""; position: absolute; inset: -30% -30% 40% -30%; z-index: -1; filter: blur(10px); opacity: 0.9; }
.s-claude::before { background: radial-gradient(closest-side, rgba(214,124,84,0.55), transparent); }
.s-siri::before { background: radial-gradient(closest-side at 40% 50%, rgba(124,92,255,0.55), transparent), radial-gradient(closest-side at 70% 60%, rgba(255,95,162,0.35), transparent); }
.s-widget::before { background: radial-gradient(closest-side, rgba(59,130,246,0.55), transparent); }
.s-control::before { background: radial-gradient(closest-side, rgba(52,199,123,0.45), transparent); }
.surface header { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.s-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.surface p { font-size: 0.92rem; color: #c9c7c1; line-height: 1.45; }
.s-demo { margin-top: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); background: rgba(10,10,12,0.55); min-height: 150px; padding: 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 0.85rem; }
.s-demo .mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; line-height: 1.6; color: #d9d6cf; }
.s-demo .mono .p { color: #e3a07f; }
.s-demo .mono b { color: #fff; }
.blink { display: inline-block; width: 7px; height: 1em; background: #d9d6cf; vertical-align: -0.15em; }
.orb { width: 54px; height: 54px; border-radius: 50%; align-self: center;
  background: conic-gradient(from 0deg, #7c5cff, #ff5fa2, #ffb36b, #4cc3ff, #7c5cff); filter: blur(1px) saturate(1.1);
  box-shadow: 0 0 30px rgba(124,92,255,0.6); }
.bubble { align-self: center; text-align: center; background: rgba(255,255,255,0.08); border-radius: 12px; padding: 8px 12px; color: #ecebe8; }
.wallpaper { background: linear-gradient(160deg, #1d3b78, #0c1a38); align-items: center; }
.widget { width: 120px; height: 120px; border-radius: 26px; background: rgba(20,22,28,0.78); border: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.ring { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
  background: conic-gradient(#e8e4dc calc(var(--v, 41) * 1%), rgba(255,255,255,0.12) 0); -webkit-mask: radial-gradient(farthest-side, transparent 72%, #000 73%); mask: radial-gradient(farthest-side, transparent 72%, #000 73%); }
.widget .ring-wrap { position: relative; width: 60px; height: 60px; }
.widget .ring-wrap b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.9rem; }
.widget small { color: #a9a7a1; font-size: 0.7rem; }
.cc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-tile { border-radius: 16px; background: rgba(255,255,255,0.09); padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 0.74rem; color: #c9c7c1; }
.cc-tile b { color: #fff; font-size: 0.85rem; }
.cc-tile .gauge { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.15); overflow: hidden; }
.cc-tile .gauge span { display: block; height: 100%; width: 41%; background: #34c77b; }
@media (prefers-reduced-motion: no-preference) {
  .blink { animation: blink 1s steps(1) infinite; }
  .orb { animation: orb 6s linear infinite; }
  @keyframes orb { to { transform: rotate(360deg); } }
  .ring { animation: ring 7s ease-in-out infinite; }
  @keyframes ring { 0%, 100% { --v: 41; } 50% { --v: 47; } }
}
@property --v { syntax: "<number>"; inherits: true; initial-value: 41; }

/* The real app, as close-up crops that hint rather than show everything */
.crops { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.crop { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--rule); background: #1c1c1e; aspect-ratio: var(--ar);
  -webkit-mask-image: radial-gradient(130% 120% at 30% 30%, #000 55%, transparent 100%); mask-image: radial-gradient(130% 120% at 30% 30%, #000 55%, transparent 100%); }
.crop picture { position: absolute; display: block; max-width: none; width: calc(100% / var(--wf)); height: auto;
  left: calc(var(--x0) / var(--wf) * -100%); top: calc(var(--y0) / var(--hf) * -100%); }
.crop img { display: block; width: 100%; height: auto; max-width: none; }
.crop.tall { grid-row: span 2; }
.crops-col { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .surfaces { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .crops { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .surfaces { grid-template-columns: minmax(0, 1fr); } }

/* A faint dot grid behind the "How Plenty knows" pictures */
.step-vis { background-image: radial-gradient(var(--rule) 1px, transparent 1.2px); background-size: 14px 14px; }

/* Step 2: the most similar past tasks, with how alike each is (bar) and what it took */
.similar { padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.sim-head { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); }
.sim { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 0.82rem; }
.sim span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.sim b { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.sim i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--sage) var(--m), var(--track) 0); }

/* Sections alternate between the page and a slightly raised ground; no colour */
section { padding-block: 84px; border-top: 1px solid var(--rule); }
.ground-raised, .ground-band, .ground-fits { background: var(--raised); }
.ground-tight { background: var(--page); }
.intro { max-width: 40em; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.intro p { color: var(--ink-2); font-size: 1.06rem; }

/* Three answers: told apart by words and by the shape of the bar, not by colour */
.answers { display: flex; flex-direction: column; }
.answer { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 10px 36px; padding-block: 26px; border-top: 1px solid var(--rule); }
.answer:last-child { border-bottom: 1px solid var(--rule); }
.answer.fits .state { color: var(--sage); }
.answer .state { font-weight: 750; font-size: 1.45rem; letter-spacing: -0.02em; }
.answer.tight .state, .answer.over .state { color: var(--ink-2); }
.answer .body { display: flex; flex-direction: column; gap: 10px; }
.answer .what { font-weight: 600; }
.answer .why { color: var(--ink-2); font-size: 0.97rem; max-width: 40em; }
.mini { position: relative; height: 12px; border-radius: 6px; background: var(--track); }
.mini span { position: absolute; top: 0; bottom: 0; }
.mini .u { left: 0; width: 41%; background: var(--used); border-radius: 6px 0 0 6px; }
.mini .t { background: var(--sage); }
.mini .maybe { border: 1.5px dashed var(--ink-2); border-left: 0; border-radius: 0 6px 6px 0; }
.mini .past { right: -14px; width: 14px; border: 1.5px dashed var(--ink-2); border-left: 0; border-radius: 0 6px 6px 0; }
.mini-wrap { padding-right: 16px; }

/* Features */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { padding: 4px 28px 4px 0; display: flex; flex-direction: column; gap: 10px; }
.col + .col { padding-left: 28px; border-left: 1px solid var(--rule); }
.col p { color: var(--ink-2); font-size: 0.98rem; }

/* Proof */
.proof { color: var(--ink); font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.28; font-weight: 500; letter-spacing: -0.015em; max-width: 27em; }
.proof b { font-weight: 800; color: var(--sage); }
.proof-note { margin-top: 22px; color: var(--muted); font-size: 0.92rem; max-width: 46em; }

/* Freelancers */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.list li { display: flex; flex-direction: column; gap: 3px; }
.list b { font-weight: 650; }
.list span { color: var(--ink-2); font-size: 0.97rem; }
.sheet { background: var(--raised); border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.sheet-head .small { white-space: nowrap; }
.sheet-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
th { font-weight: 500; color: var(--muted); font-size: 0.84rem; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
tr.total td { font-weight: 700; border-bottom: 0; }
.manual { color: var(--muted); font-size: 0.85rem; }
.in-dev { color: var(--muted); font-weight: 600; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.plan { padding: 22px 26px 6px 0; display: flex; flex-direction: column; gap: 12px; }
.plan + .plan { padding-left: 26px; border-left: 1px solid var(--rule); }
.plan .name { font-weight: 700; font-size: 1.05rem; }
.price { font-size: 2.3rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 0.95rem; display: flex; flex-direction: column; gap: 6px; }
.plans-note { margin-top: 26px; font-size: 0.9rem; color: var(--muted); max-width: 46em; }

/* Questions */
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 56px; }
.qa { display: flex; flex-direction: column; gap: 6px; }
.qa p { color: var(--ink-2); font-size: 0.97rem; }

/* Beta form */
.beta { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
form { background: var(--page); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--rule); }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
legend, label.q { font-weight: 650; font-size: 0.96rem; padding: 0; margin-bottom: 4px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: inline-block; padding: 7px 13px; border: 1px solid var(--rule); border-radius: 9px; font-size: 0.92rem; cursor: pointer; color: var(--ink-2); background: var(--raised); }
.choice > span:hover { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
input[type="email"], input[type="text"] { font: inherit; font-size: 0.98rem; padding: 11px 12px; border: 1px solid var(--rule); border-radius: 9px;
  background: var(--raised); color: var(--ink); width: 100%; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.error { color: #b3261e; font-size: 0.88rem; min-height: 1.2em; }
.done { font-weight: 650; }


/* Fills that wait until they're on screen. The script adds .pending first, so without it everything shows at rest. */
.mini.pending .t, .mini.pending .maybe, .mini.pending .past { width: 0 !important; opacity: 0; }
.mini .t, .mini .maybe, .mini .past { transition: width 1.6s cubic-bezier(.25,.7,.25,1), opacity 0.5s ease; }
.mini .maybe { transition-delay: 1.2s; }
.mini .past { transition-delay: 1.3s; }
.wait { opacity: 0; }
.wait.on { opacity: 1; transition: opacity 0.35s ease; }

@media (max-width: 900px) {
  .hero, .split, .beta { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cols, .plans, .qa-grid { grid-template-columns: minmax(0, 1fr); }
  .col, .col + .col { padding: 18px 0; border-left: 0; }
  .col + .col { border-top: 1px solid var(--rule); }
  .plan, .plan + .plan { padding: 20px 0; border-left: 0; }
  .plan + .plan { border-top: 1px solid var(--rule); }
  .answer { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 60px; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .top-actions .btn { display: none; }
}

/* Sticky top bar: frosted once you scroll; on the main page its button waits until the hero's has scrolled away */
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease; }
.topbar .top { transition: padding .25s ease; }
.topbar.stuck { background: color-mix(in srgb, var(--page) 80%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom-color: var(--rule); }
.topbar.stuck .top { padding-block: 12px; }
.top-cta { transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.has-hero:not(.show-cta) .top-cta { opacity: 0; visibility: hidden; transform: translateY(-4px); }
@media (max-width: 480px) {
  .topbar .top-actions .top-cta { display: inline-flex; padding: 8px 14px; font-size: 0.9rem; }
  .has-hero:not(.show-cta) .top-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .topbar, .topbar .top, .top-cta { transition: none; } }
