/* Digital Sea · calm white product-page language (reference: kaggle.com) */

:root {
  --bg: #ffffff;
  --ink: #1f1f1f;
  --ink-2: #5f6368;
  --line: #e3e3e3;
  --line-2: #d2d2d2;
  --warm: #faf6ee;
  --tile: #f1ebdf;
  --tile-line: #e6dccb;
  --sun: #f9c834;
  --sun-soft: #fff1bf;
  --sea: #1a7fbf;

  --tag-blue-bg: #e2f0fd;   --tag-blue: #0b57a4;
  --tag-peach-bg: #fde9dd;  --tag-peach: #9a3f12;
  --tag-lilac-bg: #ece9fd;  --tag-lilac: #4a3eb0;

  --f-display: "Jost", "Futura", "Century Gothic", sans-serif;
  --f-body: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Google Sans Code", "Roboto Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --side: 32px;
  --nav-h: 72px;
  --radius: 16px;
  --section-y: clamp(72px, 9vw, 120px);
}
@media (max-width: 720px) { :root { --side: 16px; --nav-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: #c4c4c4 transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  caret-color: var(--sea);
}
::selection { background: var(--sun-soft); color: var(--ink); }

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: var(--side); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font: 400 0.875rem/1.4 var(--f-mono); letter-spacing: 0; color: var(--ink); }

mark.todo {
  background: #fff4b8; color: var(--ink);
  padding: 0.05em 0.35em; border-radius: 4px;
  outline: 1px dashed #c9a400; outline-offset: -1px;
}

.wrap { max-width: calc(var(--wrap) + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1 var(--f-body);
  text-decoration: none; white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms cubic-bezier(.2,.8,.2,1);
  touch-action: manipulation; user-select: none;
}
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { background: #000; }
.pill--ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.pill--ghost:hover { border-color: var(--ink); }
.pill--onwarm { background: transparent; }
.pill:active { transform: scale(.98); }
.pill--lg { min-height: 52px; padding: 0 28px; font-size: 1.0625rem; }
.pill .ico { width: 1.1em; height: 1.1em; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 0.8125rem/1 var(--f-body); }
.tag--blue { background: var(--tag-blue-bg); color: var(--tag-blue); }
.tag--peach { background: var(--tag-peach-bg); color: var(--tag-peach); }
.tag--lilac { background: var(--tag-lilac-bg); color: var(--tag-lilac); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { height: var(--nav-h); max-width: calc(var(--wrap) + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); display: flex; align-items: center; gap: 36px; }
.wordmark { font: 450 1.6rem/1 var(--f-display); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.nav__links { display: flex; gap: 26px; font-size: 0.95rem; color: var(--ink); }
.nav__links a { text-decoration: none; padding: 6px 0; }
.nav__links a:hover { text-decoration: underline; }
.nav__actions { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 960px) { .nav__links { display: none; } }
@media (max-width: 420px) { .nav__call { display: none; } .wordmark { font-size: 1.4rem; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero__copy { max-width: 920px; margin: 0 auto; padding: 0 var(--side); text-align: center; }
.typer { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 0.6em; font: 400 0.9375rem/1.5 var(--f-mono); color: var(--ink-2); min-height: 1.5em; }
.typer__word { color: var(--ink); }
.typer__word { position: relative; min-width: 1ch; }
.typer__word::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--sun); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typer__word::after { animation: none; } }

.hero h1 {
  font: 400 clamp(2.25rem, 4.2vw + 0.5rem, 4rem)/1.1 var(--f-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__sub { margin: 18px auto 0; max-width: 40ch; font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.hero .actions { margin-top: 30px; }

.hero__art { position: relative; margin-top: clamp(40px, 6vw, 64px); height: clamp(300px, 30vw, 420px); overflow: hidden; }
.seascape { width: 100%; height: 100%; }
.waves path { stroke: #fff; stroke-opacity: .55; stroke-width: 2; fill: none; }
.shore { fill: #e3d6bd; }
.surf { fill: none; stroke: #fff; stroke-width: 3; stroke-opacity: .8; }
.net path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-opacity: .9; }
.stars use { fill: #fff; }
.stars--sm use { fill: #fff; }

.float-card {
  position: absolute; right: max(var(--side), calc((100% - var(--wrap)) / 2)); bottom: clamp(24px, 4vw, 56px);
  width: min(340px, calc(100% - 2 * var(--side)));
  padding: 16px 18px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px -10px rgba(31,31,31,.25);
}
.float-card__top { display: flex; justify-content: space-between; align-items: center; }
.float-card__top .mono { color: var(--ink-2); font-size: 0.8125rem; }
.float-card__title { margin-top: 12px; font-weight: 500; font-size: 1.0625rem; }
.float-card__meta { margin-top: 6px; display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--ink-2); }
.float-card__meta .mono { color: var(--ink); font-weight: 500; }
.float-card__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 640px) {
  .hero__art { height: 300px; }
  .float-card { left: var(--side); right: var(--side); width: auto; bottom: 20px; }
}


/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding-top: calc(var(--section-y) * 0.6); }
.section--warm { background: var(--warm); }

.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.section h2, .cta h2 {
  font: 400 clamp(1.9rem, 2vw + 1.2rem, 2.6rem)/1.15 var(--f-display);
  letter-spacing: -0.015em; color: var(--ink); text-wrap: balance;
}
.head__sub { margin-top: 12px; max-width: 54ch; color: var(--ink-2); font-size: 1.0625rem; }
.head__sub a { color: var(--ink); }

/* ---------- plans ---------- */
.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px 22px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.plan:hover { border-color: var(--line-2); box-shadow: 0 8px 24px -14px rgba(31,31,31,.22); }
.plan--rec { border-color: var(--ink); }
.plan--rec:hover { border-color: var(--ink); }
.plan__head h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.plan__head p { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; min-height: 2.9em; }
.plan .tag { align-self: flex-start; }
.plan__rows { border-top: 1px solid var(--line); padding-top: 6px; }
.plan__rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; font-size: 0.9375rem; }
.plan__rows li + li { border-top: 1px dashed #ececec; }
.plan__rows b { font-weight: 500; font-family: var(--f-mono); font-size: 0.875rem; }
.plan__rows .ok { color: var(--ink); display: inline-flex; }
.plan__rows .ok .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.plan__rows .no { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; }
.plan__rows .no::before { content: ""; width: 12px; height: 2px; background: #b5b5b5; border-radius: 2px; }
.plan__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.plan__foot .mono { color: var(--ink-2); }
.price {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font: 500 1.0625rem/1 var(--f-body); font-variant-numeric: tabular-nums;
}
.plan--rec .price { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan__head p { min-height: 0; } }

.after {
  margin-top: 20px; padding: 26px 28px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 48px;
  background: var(--warm); border-radius: var(--radius);
}
.after__price { font: 400 2.2rem/1.1 var(--f-display); }
.after__price span { font: 400 1rem var(--f-body); color: var(--ink-2); }
.after__what { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; max-width: 40ch; }
.after__terms { display: grid; gap: 10px; align-content: center; font-size: 0.9375rem; color: var(--ink-2); }
.after__terms li { position: relative; padding-left: 20px; }
.after__terms li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.after__terms b { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) { .after { grid-template-columns: 1fr; padding: 22px 20px; } }

/* ---------- features ---------- */
.features { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
.feature { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.feature h3 { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.feature p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.feature__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink); }
.feature__ico .ico { width: 20px; height: 20px; stroke-width: 1.7; }
.feature__ico--sky { background: linear-gradient(145deg, #e6f3fd, #c8e3f6); }
.feature__ico--sun { background: linear-gradient(145deg, #fff6d6, #fde58f); }
.feature__ico--mint { background: linear-gradient(145deg, #e7f7ee, #c6ebd6); }
.feature__ico--lilac { background: linear-gradient(145deg, #f0eefe, #d9d3fb); }
.feature__ico--peach { background: linear-gradient(145deg, #fff0e7, #fbd3bc); }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- process board ---------- */
.board { position: relative; margin-top: 44px; }
.board__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 172px; gap: 12px; }
.board__tiles span { border-radius: 14px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--tile-line); }
.board__tiles .glow { background: radial-gradient(circle at 50% 40%, #fff3bd, #f7df8f 70%); box-shadow: none; }
.board__tiles .mint { background: linear-gradient(160deg, #eef6ec, #dcebd6); }
.steps { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 172px; gap: 12px; }
.step {
  padding: 18px 18px 16px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 28px -12px rgba(31,31,31,.28);
  position: relative; z-index: 1;
}
.step .mono { color: var(--ink-2); font-size: 0.8125rem; }
.step h3 { margin-top: 6px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.step p { margin-top: 4px; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.step--0 { grid-column: 1; grid-row: 1; }
.step--1 { grid-column: 2; grid-row: 1; }
.step--2 { grid-column: 3; grid-row: 2; }
.step--3 { grid-column: 4; grid-row: 2; }
.step--4 { grid-column: 5; grid-row: 3; }
@media (max-width: 1180px) {
  .board__tiles { display: none; }
  .steps { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-rows: auto; gap: 14px; }
  .step { margin: 0; align-self: stretch; }
  .step--0, .step--1, .step--2, .step--3, .step--4 { grid-column: auto; grid-row: auto; }
}

/* ---------- story (portfolio) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-height: 380px; }
.story__text { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.story__text h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem); }
.story__text p { margin-top: 16px; color: var(--ink-2); max-width: 40ch; }
.story__status { margin-top: auto !important; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; }
.story__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); }
.story__art { position: relative; background: radial-gradient(120% 90% at 30% 0%, #ffe68c 0%, #fff4c8 35%, transparent 60%), linear-gradient(160deg, #e9f6ef 20%, #d6e9f3 100%); min-height: 300px; }
.branches { position: absolute; inset: 0; width: 100%; height: 100%; }
.branches path { fill: none; stroke: var(--ink); stroke-width: 2; }
.branches use { fill: var(--ink); }
.story__shot {
  position: absolute; left: 12%; right: 12%; bottom: 14%; top: 30%;
  display: grid; place-items: center;
  background: #fff; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 16px 40px -16px rgba(31,31,31,.35);
}
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__art { min-height: 280px; } }

.offer { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.offer h3 { font: 400 1.5rem/1.25 var(--f-display); letter-spacing: -0.01em; }
.offer p { margin-top: 6px; color: var(--ink-2); max-width: 56ch; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 0;
  font-size: 1.0625rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), background-color 180ms;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { border-color: var(--ink); }
.faq details p { padding: 0 52px 22px 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; background: var(--warm); padding: var(--section-y) 0; text-align: center; }
.cta__glow { position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(249,200,52,.45), rgba(249,200,52,0) 70%); pointer-events: none; }
.cta__in { position: relative; }
.cta h2 { font-size: clamp(2.1rem, 3.4vw + 0.8rem, 3.6rem); }
.cta .actions { margin-top: 28px; }
.cta__mail { margin-top: 18px; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.foot__brand p:last-child { margin-top: 10px; color: var(--ink-2); max-width: 36ch; font-size: 0.9375rem; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; }
.foot__col .mono { color: var(--ink-2); margin-bottom: 4px; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { text-decoration: underline; }
.foot__base { padding-bottom: 32px; font-size: 0.875rem; color: var(--ink-2); }
.foot__base p { padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__base { padding-bottom: 100px; }
}

/* ---------- mobile dock ---------- */
.dock { display: none; }
@media (max-width: 720px) {
  .dock {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 60; min-height: 52px;
    background: var(--ink); color: #fff; text-decoration: none; border-radius: 999px;
    font: 500 1.0625rem var(--f-body);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
    transform: translateY(calc(100% + 30px));
    transition: transform 380ms cubic-bezier(.16,1,.3,1);
  }
  .dock.is-on { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }
