/*
 * soshikie.com — public top page.
 *
 * The colours come from the product's own tokens (apps/web/src/app/globals.css,
 * --hm-*), so the page and the app read as one brand. The warm accent is the
 * one colour the app does not use: it is reserved for the primary call to
 * action, the way the reference layout reserves its yellow.
 */

:root {
  color-scheme: light;

  --brand: #1e88e5;
  --brand-deep: #1673c7;
  --brand-deeper: #0f5aa6;
  --brand-ink: #12446d;
  --navy: #12263f;
  --cyan: #20b9d1;
  --cyan-deep: #1092ab;
  --cyan-tint: #e4f7fc;
  --sky-tint: #e7f0fb;
  --steel-tint: #eef2f8;

  --ink: #172033;
  --text: #3b4861;
  --muted: #5d6b82;
  --line: #dfe7f1;
  --canvas: #f4f7fb;
  --surface: #fff;

  --accent: #ffd23f;
  --accent-edge: #e0a800;
  --accent-ink: #2b2100;

  --success: #148476;
  --warn: #c58a1d;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 30px rgb(16 40 70 / 8%), 0 2px 6px rgb(16 40 70 / 4%);
  --shadow-float: 0 24px 60px rgb(10 30 60 / 22%);

  --font-ja:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    Meiryo, sans-serif;
  --font-num: "Poppins", var(--font-ja);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid #2259c5;
  outline-offset: 3px;
  border-radius: 6px;
}

/* The default ring is blue; on the blue bands it would vanish. */
.hero :focus-visible,
.cta :focus-visible {
  outline-color: #fff;
}

/* Japanese headings break at phrases, not mid-word (Chromium), and short
   last lines are avoided where the browser supports it. */
h1,
h2,
h3,
.feature__headline,
.faq__q {
  word-break: auto-phrase;
  text-wrap: balance;
}

.hero__lead,
.section__lead,
.cta__lead,
.problem__text,
.promise__note,
.summary__text {
  word-break: auto-phrase;
}

p,
li {
  text-wrap: pretty;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(2px);
}

.btn__icon {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn__sub {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 5px 0 var(--accent-edge);
}

.btn--accent:hover {
  box-shadow: 0 3px 0 var(--accent-edge);
}

.btn--outline {
  background: var(--surface);
  border-color: var(--brand-deep);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--brand-deep);
}

.btn--outline:hover {
  box-shadow: 0 2px 0 var(--brand-deep);
}

.btn--light {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 5px 0 rgb(8 40 90 / 35%);
}

.btn--light:hover {
  box-shadow: 0 3px 0 rgb(8 40 90 / 35%);
}

.btn--sm {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 14px;
}

.btn--lg {
  min-height: 72px;
  padding: 14px 36px;
  font-size: 20px;
}

.btn--wide {
  width: min(100%, 440px);
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.utility {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}

.utility__links {
  display: flex;
  gap: 24px;
}

.utility__links a {
  color: var(--text);
  text-decoration: none;
}

.utility__links a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
}

.brand__name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--brand-deep);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ink);
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__login {
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-deep);
  text-decoration: none;
}

.header__login:hover {
  text-decoration: underline;
}

.menu {
  display: none;
  margin-left: auto;
}

.menu > summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sky-tint);
  color: var(--brand-deep);
  cursor: pointer;
  list-style: none;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu__panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 16px var(--gutter) 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 30px rgb(16 40 70 / 12%);
}

.menu__panel ul {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.menu__panel a:not(.btn) {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

.menu__panel .btn {
  width: 100%;
  margin-top: 12px;
}

.menu__icon-close {
  display: none;
}

.menu[open] .menu__icon-open {
  display: none;
}

.menu[open] .menu__icon-close {
  display: block;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0d4f93 0%, #125fae 55%, #1466b5 100%);
  color: #fff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 720px;
  height: 720px;
  right: -140px;
  top: -90px;
  background: radial-gradient(
    circle at 40% 40%,
    rgb(79 211 232 / 16%),
    rgb(30 136 229 / 0%) 70%
  );
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -160px;
  bottom: -200px;
  border: 60px solid rgb(255 255 255 / 6%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 32px;
  padding-block: 64px 40px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 14%);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fd3e8;
  box-shadow: 0 0 0 4px rgb(79 211 232 / 30%);
}

.hero__title {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero__line {
  display: block;
}

.hero__xl {
  font-size: clamp(52px, 6.6vw, 88px);
  letter-spacing: -0.01em;
}

.hero__lg {
  font-size: clamp(32px, 4vw, 54px);
}

.hero__md {
  font-size: clamp(26px, 3.1vw, 42px);
  letter-spacing: 0.04em;
}

.hero__mark {
  background: linear-gradient(transparent 70%, rgb(255 210 63 / 85%) 70%);
  padding-inline: 2px;
}

.hero__lead {
  max-width: 34em;
  margin-top: 28px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 16px;
  margin-top: 40px;
}

.hero__actions .btn {
  min-height: 68px;
  padding-inline: 32px;
  font-size: 18px;
}

.hero__note {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
  font-size: 13px;
  color: #fff;
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 0.8;
  margin-right: clamp(-40px, calc(20px - (100vw - 1200px) / 2), 0px);
}

.hero__circle {
  position: absolute;
  top: -4%;
  right: 0;
  aspect-ratio: 1;
  width: 86%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgb(255 255 255 / 18%), transparent 65%),
    rgb(255 255 255 / 9%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%);
}

.hero__laptop {
  position: absolute;
  left: 0;
  bottom: 10%;
  width: 88%;
  filter: drop-shadow(0 28px 40px rgb(5 25 60 / 45%));
}

.hero__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  filter: drop-shadow(0 24px 34px rgb(5 25 60 / 45%));
}

/* ------------------------------------------------------------------ */
/* Promise band (laurels)                                              */
/* ------------------------------------------------------------------ */

.promise {
  padding-block: 56px 48px;
  background: var(--surface);
}

.promise__title {
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--muted);
}

.promise__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}

.laurel {
  display: grid;
  grid-template-columns: 30px auto 30px;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.laurel__leaf {
  width: 30px;
  height: 72px;
  color: #b5c3d6;
}

.laurel__leaf--right {
  transform: scaleX(-1);
}

.laurel__body {
  text-align: center;
  line-height: 1.35;
}

.laurel__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.laurel__value {
  display: block;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.laurel__num {
  font-family: var(--font-num);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.laurel__em {
  color: var(--brand-deep);
}

.promise__note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Section scaffolding                                                 */
/* ------------------------------------------------------------------ */

.section {
  padding-block: 112px;
}

.section--canvas {
  background: var(--canvas);
}

.section--blue {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #125fae, #0d4f93);
  color: #fff;
}

.section__head {
  margin-bottom: 56px;
  text-align: center;
}

.section__eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--brand-deep);
}

.section--blue .section__eyebrow {
  color: #9fe6f2;
}

.section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.section__title--accent {
  color: var(--accent);
}

.section__lead {
  max-width: 44em;
  margin: 20px auto 0;
  font-size: 16px;
  color: var(--text);
}

.section--blue .section__lead {
  color: #fff;
}

/* ------------------------------------------------------------------ */
/* Problems                                                            */
/* ------------------------------------------------------------------ */

.problems {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.problem {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 16px 40px rgb(5 30 70 / 25%);
}

.problem__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.problem__label {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--problem-color, var(--brand-deep));
}

.problem__text {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text);
}

.problem__more {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink);
}

.problem__more svg {
  width: 18px;
  height: 18px;
  color: var(--problem-color, var(--brand-deep));
  transition: transform 0.2s ease;
}

.problem__more:hover svg {
  transform: translateY(3px);
}

.problem--p1 {
  --problem-color: var(--brand-deep);
}

.problem--p2 {
  --problem-color: #7a3fc2;
}

.problem--p3 {
  --problem-color: #0f8a78;
}

.problem--p4 {
  --problem-color: #c2410c;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  padding: 48px 48px 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}

.overview__title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--brand-deep);
}

.overview__text {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
}

.overview__body {
  padding-bottom: 48px;
}

.overview__body .btn {
  margin-top: 28px;
}

.overview__visual {
  align-self: end;
  margin-right: -24px;
}

/* ------------------------------------------------------------------ */
/* Features 01-04                                                      */
/* ------------------------------------------------------------------ */

.features {
  display: grid;
  gap: 120px;
}

.feature {
  --feature-color: var(--brand-deep);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
}

.feature--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.feature__stage {
  position: relative;
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 20%, rgb(255 255 255 / 90%), transparent 60%),
    linear-gradient(135deg, var(--sky-tint), var(--cyan-tint));
}

.feature--reverse .feature__stage {
  order: 2;
}

.feature__card {
  position: relative;
  z-index: 1;
  margin-left: -48px;
  padding: 48px 56px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.feature--reverse .feature__card {
  order: 1;
  margin-right: -48px;
  margin-left: 0;
}

.feature__kicker {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.feature__titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--feature-color);
}

.feature__title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.1em;
  color: var(--feature-color);
}

.feature__num {
  flex: none;
  font-family: var(--font-num);
  font-size: clamp(64px, 7vw, 88px);
  font-weight: 300;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--feature-color);
  letter-spacing: -0.02em;
  opacity: 0.85;
}

.feature__headline {
  margin-top: 28px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.feature__text {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--feature-color)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.feature--f2 {
  --feature-color: #6b3fc2;
}

.feature--f3 {
  --feature-color: #0f8a78;
}

.feature--f4 {
  --feature-color: #c2410c;
}

.feature__device {
  position: relative;
  margin-inline: auto;
}

img[src$="/mock-roster.svg"],
img[src$="/mock-progress.svg"] {
  filter: drop-shadow(0 12px 22px rgb(12 42 82 / 16%));
}

.feature__device--phone {
  width: min(62%, 300px);
}

/* ------------------------------------------------------------------ */
/* CTA band                                                            */
/* ------------------------------------------------------------------ */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: 72px 80px;
  background: linear-gradient(120deg, #0d4f93 0%, #125fae 55%, #1466b5 100%);
  color: #fff;
  text-align: center;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 90px solid rgb(255 255 255 / 7%);
  pointer-events: none;
}

.cta::before {
  width: 520px;
  height: 520px;
  left: -220px;
  top: -260px;
}

.cta::after {
  width: 640px;
  height: 640px;
  right: -260px;
  bottom: -420px;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.notfound {
  display: grid;
  align-content: center;
  min-height: calc(100vh - var(--header-h));
}

.notfound .section__eyebrow {
  color: #9fe6f2;
}

.cta__title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.cta__lead {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 24px;
  margin-top: 36px;
}

.cta__actions .btn {
  width: min(100%, 440px);
  min-height: 76px;
  font-size: 22px;
}

/* ------------------------------------------------------------------ */
/* Scenes                                                              */
/* ------------------------------------------------------------------ */

.scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.scene {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.scene__art {
  display: grid;
  place-items: center;
  height: 200px;
  background: linear-gradient(135deg, var(--sky-tint), var(--cyan-tint));
}

.scene__art svg {
  width: 100%;
  height: 100%;
}

.scene__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 32px;
}

.scene__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scene__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sky-tint);
  color: var(--brand-deep);
}

.scene__avatar svg {
  width: 28px;
  height: 28px;
}

.scene__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tag {
  padding: 2px 10px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
}

.scene__title {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.scene__text {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text);
}

/* ------------------------------------------------------------------ */
/* Privacy                                                             */
/* ------------------------------------------------------------------ */

.privacy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.privacy__item {
  padding: 32px 28px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 8%);
}

.privacy__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgb(255 255 255 / 14%);
  color: #9fe6f2;
}

.privacy__icon svg {
  width: 30px;
  height: 30px;
}

.privacy__title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.privacy__text {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
}

/* ------------------------------------------------------------------ */
/* Flow                                                                */
/* ------------------------------------------------------------------ */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  counter-reset: flow;
}

.flow__step {
  position: relative;
  padding: 32px 24px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  counter-increment: flow;
}

.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -38px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231673c7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5l7 7-7 7M12 5l7 7-7 7'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.flow__art {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-tint), var(--cyan-tint));
  color: var(--brand-deep);
}

.flow__art svg {
  width: 56px;
  height: 56px;
}

.flow__num {
  display: block;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: center;
  color: #0b7489;
}

.flow__num::after {
  content: " 0" counter(flow);
}

.flow__title {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--brand-deep);
}

.flow__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.flow__who {
  display: inline-block;
  margin-top: 14px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--sky-tint);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-ink);
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin-inline: auto;
}

.faq__item {
  border-radius: 28px;
  background: var(--brand-deep);
  overflow: hidden;
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 16px 28px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

/* .faq__item clips its children, so the ring is drawn inside the pill. */
.faq__q:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
  border-radius: 24px;
}

.faq__mark {
  flex: none;
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.faq__chev {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__chev {
  transform: rotate(180deg);
}

.faq__a {
  display: flex;
  gap: 14px;
  margin: 0 8px 8px;
  padding: 24px 24px 24px 20px;
  border-radius: 22px;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

.faq__a .faq__mark {
  color: var(--brand-deep);
}

.faq__a p + p {
  margin-top: 8px;
}

/* ------------------------------------------------------------------ */
/* Summary                                                             */
/* ------------------------------------------------------------------ */

.summary {
  position: relative;
  padding-block: 112px 88px;
  background: linear-gradient(
    to bottom,
    var(--surface) 0 44%,
    var(--brand-deep) 44% 100%
  );
}

.summary__title {
  margin-bottom: 48px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}

.summary__em {
  color: var(--brand-deep);
}

.summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.summary__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 36px;
  text-align: center;
}

.summary__col + .summary__col {
  border-left: 1px solid var(--line);
}

.summary__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.summary__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.summary__art {
  width: 100%;
  max-width: 200px;
  margin: 24px auto;
}

.summary__art--phone {
  max-width: 76px;
}

.summary__col .btn {
  width: 100%;
  margin-top: auto;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer {
  padding-block: 64px 0;
  background: var(--surface);
  font-size: 14px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 48px;
}

.footer__tagline {
  font-size: 12px;
  color: var(--muted);
}

.footer__brand {
  margin-top: 10px;
}

.footer__desc {
  max-width: 26em;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text);
}

.footer__heading {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.footer__links {
  display: grid;
  gap: 8px;
}

.footer__links a {
  color: var(--text);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.footer__bottom a {
  color: var(--text);
}

/* ------------------------------------------------------------------ */
/* Mockup chrome shared by the inline SVG illustrations               */
/* ------------------------------------------------------------------ */

.mock {
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------ */
/* Reveal on scroll (progressive enhancement, no script)              */
/* ------------------------------------------------------------------ */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(40px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }
  }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .nav {
    gap: 20px;
  }

  .header__actions .btn--outline {
    display: none;
  }

  .promise__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature,
  .feature--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature__stage,
  .feature--reverse .feature__stage {
    order: 1;
  }

  .feature__stage {
    padding-bottom: 72px;
  }

  .feature__card,
  .feature--reverse .feature__card {
    order: 2;
    margin: -48px 24px 0;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow__step:nth-child(2)::after {
    display: none;
  }

  .summary__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary__col:nth-child(3) {
    border-left: 0;
  }

  .summary__col:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  /* No script may run (CSP), so nothing can close the <details> menu after a
     tap. A header that scrolls away takes the open panel with it instead of
     leaving it over the section the link jumped to. */
  html {
    scroll-padding-top: 16px;
  }

  .header {
    position: relative;
  }

  .utility {
    display: none;
  }

  .nav,
  .header__actions {
    display: none;
  }

  .menu {
    display: block;
  }

  .header__inner {
    position: relative;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 48px 64px;
  }

  .hero__visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .hero__circle {
    right: 6%;
  }

  .overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px 28px 0;
  }

  .overview__visual {
    margin-right: 0;
  }

  .scenes,
  .privacy {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section {
    padding-block: 80px;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .promise__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .laurel {
    max-width: 360px;
    margin-inline: auto;
    width: 100%;
  }

  .problems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .problem {
    padding: 22px 12px 18px;
    border-radius: var(--radius-md);
  }

  .problem__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
  }

  .problem__label {
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .problem__text {
    font-size: 12.5px;
    line-height: 1.7;
  }

  .problem__text br {
    display: none;
  }

  .problem__more {
    padding-top: 12px;
    font-size: 13px;
  }

  .features {
    gap: 88px;
  }

  .feature__stage {
    padding: 24px 16px 56px;
    border-radius: var(--radius-lg);
  }

  .feature__card,
  .feature--reverse .feature__card {
    margin: -32px 10px 0;
    padding: 32px 22px;
  }

  .hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .feature__headline {
    font-size: 18px;
  }

  .cta__actions .btn {
    min-height: 68px;
    font-size: 18px;
  }

  .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .flow__step:not(:last-child)::after {
    display: block;
    top: auto;
    right: 50%;
    bottom: -36px;
    transform: translateX(50%) rotate(90deg);
  }

  .flow__step:nth-child(2)::after {
    display: block;
  }

  .faq__q {
    padding: 14px 20px;
    font-size: 15px;
  }

  .faq__a {
    padding: 20px 18px;
    font-size: 14px;
  }

  .summary {
    background: linear-gradient(
      to bottom,
      var(--surface) 0 20%,
      var(--brand-deep) 20% 100%
    );
  }

  /* The features are right above; on a phone the summary is an index. */
  .summary__col {
    padding: 24px 12px;
  }

  .summary__col:nth-child(odd) {
    border-left: 0;
  }

  .summary__col:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .summary__art {
    display: none;
  }

  .summary__name {
    font-size: 17px;
  }

  .summary__text {
    font-size: 13px;
  }

  .summary__col .btn {
    min-height: 44px;
    margin-top: 16px;
    padding-inline: 12px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .feature__title {
    font-size: 24px;
  }

  .feature__num {
    font-size: 52px;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}
