@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url(fonts/sora-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url(fonts/sora-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap; src: url(fonts/source-serif-4-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/source-serif-4-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url(fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); }

:root {
  --mist: #f2f6f5;      /* page */
  --paper: #ffffff;     /* raised surfaces */
  --ink: #0d3540;       /* deep sea: headings and text */
  --body: #2b4650;      /* reading text */
  --muted: #587079;
  --teal: #0f766e;      /* ferry teal: actions and links */
  --teal-deep: #0b5a54;
  --foam: #cff5ec;      /* sea foam: quiet highlights */
  --beacon: #f4b400;    /* used once: the ferry in the hero */
  --line: #d6e2df;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "Sora", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--mist); color: var(--body); font: 19px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .82em; }
code { background: #e3ecea; padding: .1em .35em; border-radius: 5px; color: var(--ink); }
pre { background: var(--ink); color: #d7efe9; padding: 20px 22px; border-radius: 10px; overflow: auto; line-height: 1.6; margin: 0; }
pre code { background: none; padding: 0; color: inherit; font-size: 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.measure { max-width: 64ch; }
.lede { font-size: 22px; line-height: 1.55; color: var(--body); }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(242, 246, 245, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.logo b { font-weight: 700; }
.logo img { width: 32px; height: 32px; }
.logo span { color: var(--teal); }
.top nav { display: flex; gap: 24px; margin-left: auto; align-items: center; font: 600 14.5px var(--ui); }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--teal); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15.5px var(--ui); padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn.solid { background: var(--teal); color: #fff; }
.btn.solid:hover { background: var(--teal-deep); color: #fff; }
.btn.line { border-color: var(--ink); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.top .btn { padding: 9px 18px; font-size: 14px; }
.menu { display: none; margin-left: auto; background: none; border: 1.5px solid var(--ink); border-radius: 999px; font: 600 14px var(--ui); color: var(--ink); padding: 7px 14px; }

/* hero */
.hero { padding: 76px 0 0; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 58ch; margin: 26px 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.crossing { margin: 54px 0 0; position: relative; }
.crossing svg { width: 100%; height: auto; display: block; overflow: visible; }
.crossing .shore { font: 700 15px var(--ui); fill: var(--ink); }
.crossing .stop { font: 600 13px var(--ui); fill: var(--teal-deep); }
.crossing .sub { font: 400 13px var(--text); fill: var(--muted); font-style: italic; }
.ferry { offset-path: path("M 150 170 C 360 20, 760 20, 970 170"); offset-rotate: 0deg; offset-distance: 100%; animation: cross 4.2s cubic-bezier(.5, 0, .3, 1) .5s both; }
@keyframes cross { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .ferry { animation: none; offset-distance: 50%; } }
.stopdot { transform-box: fill-box; transform-origin: center; }

/* sections */
section { padding: 112px 0; }
section.rule { border-top: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 44px; }
.head p { margin-top: 18px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip > :first-child { order: 2; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid #c9d8d4; background: #fff; box-shadow: 0 24px 60px -30px rgba(13, 53, 64, .35); }
.phone { width: 300px; border-radius: 34px; overflow: hidden; border: 9px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(13, 53, 64, .5); margin: 0 auto; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { padding: 10px 0 10px 32px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.ticks b { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 16.5px; }

/* what it does: three plain columns */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.three > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.three h3 { margin-bottom: 10px; }
.three p { font-size: 17.5px; margin: 0; }

/* product tour */
.tour { background: var(--ink); color: #cfe3df; }
.tour h2, .tour h3 { color: #fff; }
.tour .lede, .tour p { color: #b9d3cd; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tabs button { font: 600 14.5px var(--ui); background: transparent; color: #cfe3df; border: 1.5px solid #3f6670; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--foam); color: var(--ink); border-color: var(--foam); }
.tabs button:hover { border-color: var(--foam); }
.panel { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.panel[hidden] { display: none; }
.panel .shot { border-color: #24505a; }
.panel h3 { margin-bottom: 10px; }
.panel p { font-size: 17.5px; }

/* migration */
.tools { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; font: 600 22px/1.4 var(--display); color: var(--ink); letter-spacing: -.015em; }
.tools li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.tools small { display: block; font: 400 15px var(--text); color: var(--muted); letter-spacing: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 30px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/30px var(--display); text-align: center; }
.steps b { font-family: var(--display); color: var(--ink); font-weight: 600; }

/* security table */
.attack { width: 100%; border-collapse: collapse; font-size: 17.5px; }
.attack th { text-align: left; font: 600 14.5px var(--ui); color: var(--muted); padding: 0 18px 12px 0; border-bottom: 2px solid var(--ink); }
.attack td { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.attack td:first-child { font: 600 17px var(--display); color: var(--ink); width: 34%; letter-spacing: -.01em; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; margin-top: 56px; }
.facts p { border-top: 1px solid var(--line); padding-top: 16px; font-size: 17.5px; }
.facts b { font-family: var(--display); font-weight: 600; color: var(--ink); display: block; margin-bottom: 4px; font-size: 16.5px; }

/* architecture */
.arch svg { width: 100%; height: auto; }
.arch text { font-family: var(--ui); }

/* lists of options */
.rows { border-top: 2px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 19px; }
.rows p { margin: 0; font-size: 17.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font: 600 15.5px var(--ui); color: var(--ink); }

/* quality */
.quality { width: 100%; border-collapse: collapse; font-size: 17px; }
.quality td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.quality td:first-child { font: 700 28px/1 var(--display); color: var(--teal); width: 120px; letter-spacing: -.03em; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.plans > div { padding: 26px 28px 30px 0; border-right: 1px solid var(--line); }
.plans > div + div { padding-left: 28px; }
.plans > div:last-child { border-right: 0; }
.plans h3 { font-size: 24px; }
.plans .who { color: var(--muted); font-style: italic; margin: 6px 0 16px; font-size: 17px; }
.plans ul { padding-left: 20px; margin: 0 0 22px; font-size: 16.5px; }
.plans li { margin: 6px 0; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { font: 600 19px var(--display); color: var(--ink); cursor: pointer; list-style: none; letter-spacing: -.01em; padding-right: 32px; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font: 400 26px var(--display); color: var(--teal); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; max-width: 70ch; font-size: 17.5px; }

/* call to action */
.cta { background: var(--teal); color: #e7fbf6; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta p { margin: 16px 0 0; max-width: 52ch; color: #d4f4ec; }
.cta .btn.solid { background: #fff; color: var(--ink); }
.cta .btn.solid:hover { background: var(--foam); }
.cta .btn.line { border-color: #fff; color: #fff; }
.cta .btn.line:hover { background: #fff; color: var(--teal-deep); }

/* footer */
footer { padding: 44px 0 56px; font: 400 15px var(--ui); color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .by b { color: var(--ink); letter-spacing: .03em; }
footer nav { display: flex; gap: 20px; }

/* docs */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; padding: 56px 0 96px; }
.toc { position: sticky; top: 92px; align-self: start; font: 500 14.5px/1.5 var(--ui); }
.toc p { font: 700 13px var(--ui); color: var(--muted); margin: 20px 0 6px; }
.toc p:first-child { margin-top: 0; }
.toc a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--teal); }
.doc { min-width: 0; }
.doc h1 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 18px; }
.doc h2 { font-size: 30px; margin: 64px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h3 { margin: 30px 0 10px; }
.doc p, .doc li { max-width: 72ch; }
.doc ol, .doc ul { padding-left: 24px; }
.doc li { margin: 6px 0; }
.doc pre { margin: 14px 0 18px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 14px 0 20px; display: block; overflow-x: auto; }
.doc th { text-align: left; font: 600 14px var(--ui); color: var(--muted); padding: 8px 14px 8px 0; border-bottom: 2px solid var(--ink); }
.doc td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.note { background: var(--foam); border-radius: 10px; padding: 14px 18px; color: var(--ink); font-size: 17px; }
.warn { background: #fff4d6; border-radius: 10px; padding: 14px 18px; color: #5c4300; font-size: 17px; }

@media (max-width: 980px) {
  .split, .split.flip, .panel { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .three, .facts, .plans { grid-template-columns: 1fr; }
  .plans > div, .plans > div + div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .rows > div { grid-template-columns: 1fr; gap: 6px; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  section { padding: 80px 0; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .top nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 28px 24px; background: var(--mist); border-bottom: 1px solid var(--line); }
  .top nav.open { display: flex; }
  .menu { display: inline-block; }
  .tools { columns: 1; }
  .crossing .sub { display: none; }
  .lede { font-size: 20px; }
}
.split .lede { margin-top: 18px; }
.after { margin-top: 22px; }
.facts.tight { margin-top: 40px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.crossing-list { display: none; }
@media (max-width: 760px) {
  .crossing .stop, .crossing .stops text { display: none; }
  .crossing { margin-top: 40px; }
  .crossing-list { display: block; list-style: none; counter-reset: c; padding: 0; margin: 18px 0 0; font: 600 16px var(--ui); color: var(--ink); }
  .crossing-list li { counter-increment: c; padding: 10px 0 10px 40px; border-top: 1px solid var(--line); position: relative; }
  .crossing-list li::before { content: counter(c); position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); font: 700 13px/22px var(--display); text-align: center; }
}
