/* Landing page: folder structure, recorded change, a clear next step. */

.landing h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.landing h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 650; }

/* Stage: the app icon's evening sky behind a screenshot */

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(14px, 3vw, 36px);
  border-radius: 24px;
  background:
    radial-gradient(120% 70% at 50% 118%, rgba(237, 151, 71, .55), rgba(237, 151, 71, 0) 60%),
    radial-gradient(80% 60% at 85% 0%, rgba(71, 157, 237, .45), rgba(71, 157, 237, 0) 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), var(--shadow-soft);
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 130%, rgba(255, 255, 255, .07) 0 1px, transparent 1px 56px);
}
.stage img { width: 100%; border-radius: 10px; box-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 24px 48px -18px rgba(0, 0, 0, .7); }
.stage-plain { background: linear-gradient(180deg, #e9eef7, #dfe6f2); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.stage-plain::before { background: repeating-radial-gradient(circle at 50% 130%, rgba(11, 29, 77, .05) 0 1px, transparent 1px 56px); }
.stage-plain img { box-shadow: 0 20px 40px -20px rgba(11, 29, 77, .45); }
.stage-tint { background: linear-gradient(160deg, #dfeafd, #cfdcf3); box-shadow: inset 0 0 0 1px var(--line); }
.stage-tint::before { display: none; }
.stage-tint img { box-shadow: 0 18px 36px -18px rgba(11, 29, 77, .45); }
.stage-violet { background: linear-gradient(160deg, #ebe4fb, #ddd3f2); }

/* Opening */

.opening {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(71, 157, 237, .16), transparent 70%),
    radial-gradient(40% 40% at 70% 85%, rgba(237, 151, 71, .12), transparent 70%);
}
.opening-grid { padding-top: 88px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.opening h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; }
.opening h1 span {
  background: linear-gradient(90deg, var(--accent), #2fa7c9 55%, var(--sun));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.opening-lead { margin: 26px 0 0; color: var(--muted); font-size: 20px; line-height: 1.55; max-width: 480px; }
.actions { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; margin-top: 34px; }
.opening .requirements { margin-top: 22px; }
.hero-visual { margin: 0; min-width: 0; }
.hero-visual.stage { border-radius: 28px; }

/* Collage: the same folder as a map and with what grew, cut from two real frames */

.collage { aspect-ratio: 1 / .84; padding: 0; }
.collage-card {
  position: absolute; overflow: hidden; border-radius: 20px; background: #ececec;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 30px 50px -20px rgba(0, 0, 0, .7);
}
.collage-card img { width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.collage-map { left: 4%; top: 5%; width: 50%; }
.collage-growth { right: 4%; top: 9%; width: 55%; z-index: 1; }
.collage-grew { left: 5%; bottom: 5%; width: 50%; z-index: 2; border-radius: 14px; }
.collage-label {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(20, 20, 22, .82); color: #f2f3f6; border: 1px solid rgba(255, 255, 255, .14);
  font: 600 clamp(11px, 1.1vw, 13px)/1.2 var(--font); letter-spacing: .01em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.collage-label-grew span { color: #ff6f61; }


/* Sections */

.story-section { padding-top: 120px; padding-bottom: 120px; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading > p:not(.eyebrow) { margin: 20px 0 0; font-size: 20px; color: var(--muted); line-height: 1.6; max-width: 660px; }

.why-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.why-grid .section-heading { margin-bottom: 0; }

/* What a memory adds */

.memory-band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.memory-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.memory-grid li { display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.memory-grid h3 { margin-top: 20px; font-size: 19px; }
.memory-grid p { flex: 1; margin: 8px 0 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.memory-grid .text-link { font-size: 14px; }
.memory-icon { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 700 15px/1 var(--mono); color: #fff; }
.memory-day { background: linear-gradient(180deg, #ff7b6e, var(--growth)); box-shadow: 0 8px 16px -8px rgba(216, 57, 43, .8); }
.memory-forecast { background: linear-gradient(180deg, #5aa4ff, var(--accent)); box-shadow: 0 8px 16px -8px rgba(26, 111, 220, .8); font: 600 22px/1 var(--font); }
.memory-alert { background: linear-gradient(180deg, #ffb35c, var(--sun)); box-shadow: 0 8px 16px -8px rgba(224, 125, 34, .9); }
.memory-alert::before { content: ""; position: absolute; left: 13px; top: 10px; width: 18px; height: 18px; border-radius: 9px 9px 3px 3px; background: #fff; }
.memory-alert::after { content: ""; position: absolute; left: 19px; top: 30px; width: 6px; height: 4px; border-radius: 0 0 3px 3px; background: #fff; }
.memory-agent { background: #0e1220; color: #45d07c; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .7); }

/* The map */

.steps-compact { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps-compact li { counter-increment: step; position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.55; }
.steps-compact li::before { content: "0" counter(step); position: absolute; left: 0; top: 13px; font: 600 13px/1.6 var(--mono); color: var(--accent); }
.steps-compact b { color: var(--text); font-weight: 600; }
.map-section figcaption { margin-top: 18px; }

.path-story { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.path-story span { padding: 6px 14px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; font-weight: 500; }
.path-story span:last-of-type { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.path-story b { color: var(--faint); font-weight: 400; font-size: 18px; }

/* History */

.comparison-example { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 22px 10px; box-shadow: var(--shadow); }
.example-heading { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 12px; font: 12px var(--mono); color: var(--faint); border-bottom: 1px solid var(--line); }
.example-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 16px 0; }
.example-row + .example-row { border-top: 1px solid var(--line); }
.example-name { font-weight: 600; }
.example-sizes { grid-column: 1; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); }
.example-row strong { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.example-row strong span { font-size: .6em; vertical-align: .2em; }
.example-row .grew { color: var(--growth); }
.example-row .minor { font-size: 17px; font-weight: 600; }

.split-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.split-story.reverse > figure { order: -1; }
.split-story.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split-story h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 18px; }
.split-story h2 { margin-bottom: 20px; font-size: clamp(30px, 3.2vw, 42px); }
.split-story p, .agent-section > div > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.small-note { margin-top: 24px; padding-left: 14px; border-left: 2px solid var(--line-strong); font-size: 14px; line-height: 1.6; }
.screen-figure { margin: 0; min-width: 0; }
.screen-figure figcaption { margin-top: 14px; color: var(--faint); font-size: 13px; }

.alert-strip {
  margin-top: 96px; padding: 32px 36px; border-radius: 22px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.alert-strip .eyebrow { margin-bottom: 6px; }
.alert-strip p:not(.eyebrow) { margin: 8px 0 0; max-width: 680px; color: var(--muted); font-size: 16px; }
.alert-icon {
  width: 56px; height: 56px; border-radius: 16px; position: relative;
  background: linear-gradient(180deg, #ffb35c, var(--sun)); box-shadow: 0 10px 20px -10px rgba(224, 125, 34, .9);
}
.alert-icon::before { content: ""; position: absolute; left: 17px; top: 13px; width: 22px; height: 22px; border-radius: 11px 11px 3px 3px; background: #fff; }
.alert-icon::after { content: ""; position: absolute; left: 24px; top: 37px; width: 8px; height: 5px; border-radius: 0 0 4px 4px; background: #fff; }

/* Discovery */

.discovery-band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discovery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.discovery-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 12px 12px 30px; box-shadow: var(--shadow-soft); }
.discovery-grid .stage { border-radius: 18px; }
.discovery-grid h3 { margin: 26px 18px 0; }
.discovery-grid p { margin: 8px 18px 0; color: var(--muted); line-height: 1.6; font-size: 16px; }
.mode-note { margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; }
.mode-note span { padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: 14px; }

/* Agent */

.agent-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.agent-section h2 { margin-bottom: 20px; }
.agent-section .text-link { margin-top: 8px; }
.agent-question {
  border-radius: 20px; padding: 0 34px 32px; overflow: hidden;
  background: #0e1220; color: #e8ebf2; border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow); font-family: var(--mono);
}
.terminal-bar { display: flex; gap: 8px; margin: 0 -34px 28px; padding: 14px 18px; background: #171c2c; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.asset-label { display: block; font: 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #7d879e; }
.asset-label::before { content: "$ "; color: #45d07c; }
.agent-question blockquote { margin: 20px 0 24px; font: 500 26px/1.4 var(--font-display); letter-spacing: -.02em; color: #fff; }
.agent-question blockquote::after { content: ""; display: inline-block; width: 11px; height: 1.05em; margin-left: 6px; vertical-align: -.15em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
.agent-question p { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: #a5adbf; font: 14px/1.65 var(--font); }
@keyframes blink { 50% { opacity: 0; } }

/* Questions */

.faq-band { border-top: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-more { color: var(--muted); margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; position: relative; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; line-height: 1.45; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1;
  transition: transform .2s, background-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq-list summary:hover::after { background: var(--accent-soft); color: var(--accent); }
.faq-list p { margin: 0 48px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Download */

.download-section {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff;
  padding: 120px 0 128px;
  background:
    radial-gradient(70% 60% at 50% 120%, rgba(237, 151, 71, .6), rgba(237, 151, 71, 0) 65%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.download-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-radial-gradient(circle at 50% 140%, rgba(255, 255, 255, .06) 0 1px, transparent 1px 64px);
}
.download-section img { margin: 0 auto 28px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.download-section h2 { color: #fff; }
.download-section p { color: rgba(255, 255, 255, .78); font-size: 19px; margin: 16px 0 32px; }
.download-section .requirements { color: rgba(255, 255, 255, .6); font-size: 13px; margin: 22px 0 0; }
.button-light { background: #fff; color: var(--navy); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
.button-light:hover { background: #eef3ff; }

/* Dark */

@media (prefers-color-scheme: dark) {
  .stage-plain { background: linear-gradient(180deg, #151b2b, #10141f); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
  .stage-plain::before { background: repeating-radial-gradient(circle at 50% 130%, rgba(255, 255, 255, .04) 0 1px, transparent 1px 56px); }
  .stage-tint { background: linear-gradient(160deg, #15233d, #101a2d); }
  .stage-violet { background: linear-gradient(160deg, #221b38, #191429); }
  .stage-plain img, .stage-tint img { box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); }
  .agent-question { background: #0d1019; }
}

/* Narrow windows and phones */

@media (max-width: 1040px) {
  .opening-grid { gap: 36px; grid-template-columns: 1fr 1fr; padding-top: 64px; }
  .opening-lead { font-size: 18px; }
  .split-story, .agent-section, .faq, .why-grid { gap: 40px; }
  .memory-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .opening-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .opening-lead { max-width: none; }
  .split-story, .split-story.reverse, .discovery-grid, .agent-section, .faq, .why-grid { grid-template-columns: 1fr; }
  .split-story.reverse > figure { order: 0; }
  .story-section { padding-top: 80px; padding-bottom: 80px; }
  .alert-strip { grid-template-columns: auto 1fr; margin-top: 64px; }
  .alert-strip > .text-link { grid-column: 2; }
}
@media (max-width: 560px) {
  .opening h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .section-heading { margin-bottom: 36px; }
  .section-heading > p:not(.eyebrow) { font-size: 18px; }
  .stage { border-radius: 16px; }
  .collage-card { border-radius: 12px; }
  .collage-label { left: 8px; top: 8px; padding: 3px 8px; }
  .collage-grew { border-radius: 10px; }
  .stage img { border-radius: 6px; }
  .memory-grid { grid-template-columns: 1fr; }
  .split-story h3 { font-size: 26px; }
  .alert-strip { grid-template-columns: 1fr; padding: 26px 22px; gap: 16px; }
  .alert-strip > .text-link { grid-column: 1; }
  .agent-question { padding: 0 22px 24px; }
  .terminal-bar { margin: 0 -22px 22px; }
  .agent-question blockquote { font-size: 21px; }
  .faq-list summary { font-size: 17px; }
  .faq-list p { margin-right: 0; }
  .download-section { padding: 88px 0 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-question blockquote::after { animation: none; }
}
