/* Daylight sea variation of the shared C layout. */
:root {
  color-scheme: light;
  --night: #edf8f9;
  --deep: #f7fbfb;
  --panel: #ffffff;
  --line: #c8dfe2;
  --ink: #153e49;
  --muted: #496b75;
  --amber: #116b7a;
  --teal: #287d82;
  --sea-glass: #e1f2f2;
  --sea-sand: #f5f0e7;
  --sea-shadow: #1749551a;
  --sea-section-background: radial-gradient(ellipse at 45% 65%,#d7eeec99,transparent 48%),linear-gradient(180deg,#f7fbfb,#eaf6f7);
}
body { background: var(--night); }
.nav { background: color-mix(in srgb,var(--deep) 92%,transparent); backdrop-filter: blur(16px); border-color: var(--line); }
.mark, .primary { color: var(--panel); background: var(--amber); }
.primary:hover { background: var(--ink); color: var(--panel); }
.outline { background: color-mix(in srgb,var(--panel) 72%,transparent); }
.hero {
  background-image: linear-gradient(90deg,#f4fafbed 0%,#f4fafbca 38%,#edf8f933 75%),url('assets/sea.webp');
  background-size: cover;
  background-position: center,bottom right;
}
.hero h1 em { color: var(--amber); }
.hero-art .halo { background: radial-gradient(circle at 50% 35%,#ffffffc4,#cce8e44d 52%,transparent 72%); border: 1px solid #ffffff9e; opacity: .9; }
.hero-art .water { color: var(--panel); opacity: .55; }
.phone { border-color: var(--ink); background: var(--ink); box-shadow: 0 22px 44px var(--sea-shadow); }
.art-tag { background: color-mix(in srgb,var(--panel) 94%,transparent); box-shadow: 0 8px 28px var(--sea-shadow); border-color: var(--panel); }
.art-tag span { color: var(--amber); }
.feature-section {
  background: var(--sea-section-background);
}
.feature-categories { border-left: 3px solid var(--line); padding-left: 16px; }
.category-prompt { color: var(--ink); }
.category-prompt > span { background: var(--amber); color: var(--panel); }
.feature-options button { background: color-mix(in srgb,var(--panel) 84%,transparent); border-color: var(--line); }
.feature-options button[aria-pressed=true] { color: var(--panel); background: var(--amber); border-color: var(--amber); box-shadow: 0 8px 22px var(--sea-shadow); }
.feature-options button[aria-pressed=true] :is(span,small) { color: var(--panel); }
.feature-options button[aria-pressed=true] small { opacity: .82; }
.feature-options button:not([aria-pressed=true]):hover { background: var(--panel); border-color: var(--amber); }
.feature-detail .kicker { color: var(--muted); font-weight: 600; }
.screen-switch button { background: #ffffff66; border-color: var(--line); }
.screen-switch button[aria-pressed=true] { background: var(--sea-glass); color: var(--ink); border-color: var(--line); box-shadow: inset 3px 0 var(--teal); }
.screen-switch button:hover { border-color: var(--teal); background: var(--panel); }
.screen-current { color: var(--muted); }
.story-section { background: linear-gradient(180deg,#eaf6f7,var(--night) 65%,#f7fbfb); border-color: var(--line); }
.story-choice { background: var(--panel); }
.story-choice button[aria-expanded=true], .story-description { background: var(--sea-glass); }
.story-comic img { box-shadow: 0 18px 46px var(--sea-shadow); border: 6px solid var(--panel); }
.tools-section { position: relative; isolation: isolate; }
.tools-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 12% 3% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse,#cce9eb7a,transparent 68%);
}
.closing-section { background: linear-gradient(180deg,#f5fbfb 0%,#eff8f9ed 70%,#eff8f9ba),url('assets/sea.webp') center bottom / cover; }
.final-cta { background: var(--ink); border-color: var(--ink); color: var(--panel); box-shadow: 0 12px 32px var(--sea-shadow); }
.final-cta .kicker { color: #bddfe1; }
.final-cta .primary { background: #dcefed; color: var(--ink); }
.final-cta .primary:hover { background: var(--panel); }
@media(max-width:1050px) {
  .feature-categories { padding-left: 12px; }
}
@media(max-width:760px) {
  .hero { background-image: linear-gradient(180deg,#f4fafbf2 0%,#f4fafbbf 50%,#edf8f91a),url('assets/sea.webp'); background-position: center,bottom right; }
  .feature-categories { border-left: 0; padding-left: 0; }
  .feature-options button { border-radius: 8px; }
  .story-comic img { border-width: 4px; }
}

/* Individual app colors on the shared sea surface. */
.apps-strip li:nth-child(1) { --app-tile-bg: #e4eeff; --app-tile-ink: #416bc1; }
.apps-strip li:nth-child(2) { --app-tile-bg: #ffe6ed; --app-tile-ink: #c15478; }
.apps-strip li:nth-child(3) { --app-tile-bg: #e3f3e8; --app-tile-ink: #398461; }
.apps-strip li:nth-child(4) { --app-tile-bg: #eee7fc; --app-tile-ink: #8060b3; }
.apps-strip li:nth-child(5) { --app-tile-bg: #fff0d7; --app-tile-ink: #af7828; }
.apps-strip li:nth-child(6) { --app-tile-bg: #e0f3f6; --app-tile-ink: #287f93; }
.apps-strip li:nth-child(7) { --app-tile-bg: #ffeadf; --app-tile-ink: #bd704c; }
.apps-strip li:nth-child(8) { --app-tile-bg: #eae9ff; --app-tile-ink: #6961b4; }
.apps-strip li:nth-child(9) { --app-tile-bg: #fff5cf; --app-tile-ink: #a28220; }
.apps-strip .apps-tile-icon { background: var(--app-tile-bg); color: var(--app-tile-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--app-tile-ink) 10%,transparent); }

/* Full-height FAQ with a compact white footer. */
.closing-section {
  min-height: calc(100svh - var(--header-height));
  background: var(--panel);
  justify-content: flex-start;
  padding-top: clamp(40px,6vw,72px);
  padding-bottom: 0;
  gap: clamp(32px,4vw,48px);
  border-top: 1px solid var(--line);
}
.closing-section .footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 32px;
}
.nav nav {
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}
.nav nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav nav a:hover, .nav nav a:focus-visible {
  background: var(--sea-glass);
  color: var(--amber);
}
@media(max-width:1050px) {
  .nav nav { gap: 4px; font-size: 14px; }
  .nav nav a { padding-inline: 10px; }
}
@media(max-width:760px) {
  .nav nav { flex-wrap: nowrap; overflow-x: auto; gap: 2px; padding: 3px; font-size: 13px; }
  .nav nav a { flex: 1 0 auto; min-height: 36px; padding: 4px 8px; }
  .closing-section { padding-top: 40px; gap: 32px; }
  .closing-section .footer { padding-block: 24px; }
}

/* Keep the footer at the bottom while the FAQ fills its own screen. */
.closing-section .faq-section { margin-block: auto; }

/* Shared full-width background across the informational screens. */
.story-section, .tools-section, .closing-section { background: var(--sea-section-background); }
.tools-section::before { content: none; }
.closing-section .footer {
  background: var(--panel);
  width: 100%;
  padding-inline: max(40px,calc((100% - var(--max)) / 2));
}
@media(max-width:1050px) { .closing-section .footer { padding-inline: 24px; } }
@media(max-width:760px) { .closing-section .footer { padding-inline: 16px; } }

.hero .actions .button.plain { border-color: var(--line); }
.hero .actions .button.plain:hover { border-color: var(--amber); }
