:root {
  color-scheme: light dark;
  /* Match App/Appearance.swift; artwork keeps these two original brand colors. */
  --brand-teal: #00afc9;
  --brand-rose: #ff375f;
  --bg: #f6f9fb;
  --surface: #ffffff;
  --soft: #edf4f7;
  --ink: #152a35;
  --muted: #536570;
  --line: #d9e4ea;
  --cyan: #006b7c;
  --cyan-soft: #dff5f7;
  --pink: #b02b55;
  --pink-soft: #fff0f5;
  --button: var(--brand-teal);
  --button-ink: #10242d;
  --shadow: 0 24px 64px rgba(25, 62, 79, .08);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
  border-radius: 3px;
}
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
h1, h2, h3, p, figure, ol, ul, dl { margin: 0; }
h1, h2, h3 { font-weight: 680; line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); max-width: 14ch; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
p + p { margin-top: 1rem; }
ul, ol { padding-left: 1.35em; }
li + li { margin-top: .65rem; }
strong { font-weight: 650; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link {
  position: absolute;
  top: .7rem;
  left: 1rem;
  z-index: 20;
  padding: .7rem 1rem;
  color: var(--button-ink);
  background: var(--button);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.brand-logo { display: block; flex: 0 0 auto; height: auto; object-fit: contain; }
.brand .brand-logo { width: 120px; }
.site-footer .brand-logo { width: 108px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; }
.site-nav a { padding: .5rem 0; color: var(--muted); text-decoration: none; font-size: .93rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.site-nav .language { color: var(--cyan); font-weight: 650; }
.eyebrow { display: flex; align-items: center; gap: .55rem; color: var(--cyan); font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: 0 0 auto; }
.hero { padding-block: 5.2rem 6.4rem; display: grid; grid-template-columns: 1.12fr 1fr; gap: 5rem; align-items: center; }
.hero h1 { margin-top: 1.2rem; }
.hero h1 span { color: var(--cyan); }
.lead { max-width: 49ch; color: var(--muted); font-size: 1.18rem; line-height: 1.65; margin-top: 1.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.25rem; border-radius: 9px; color: var(--button-ink); background: var(--button); font-weight: 650; text-decoration: none; }
.button:hover { text-decoration: underline; }
.text-link { font-weight: 650; padding: .6rem 0; }
.availability { color: var(--muted); font-size: .83rem; margin-top: 1.2rem; }
.connection-figure { position: relative; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.connection-figure::before { content: ""; position: absolute; width: 72%; height: 76%; right: -1rem; top: -1rem; z-index: -1; background: var(--cyan-soft); border-radius: 35px; }
.figure-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.figure-top .brand-logo { width: 126px; }
.figure-top strong { display: block; font-size: 1.1rem; }
.small { font-size: .83rem; color: var(--muted); }
.transfer-line { padding-block: 1.6rem; }
.transfer-line + .transfer-line { border-top: 1px solid var(--line); }
.transfer-label { font-size: .76rem; font-weight: 650; color: var(--muted); margin-bottom: .75rem; }
.endpoints { display: flex; align-items: center; gap: .8rem; font-weight: 650; font-size: 1.05rem; letter-spacing: -.025em; }
.direction { color: var(--brand-teal); font-size: 1.65rem; }
.transfer-line.export .direction { color: var(--brand-rose); }
.transfer-line p { margin-top: .55rem; font-size: .92rem; color: var(--muted); }
.connection-figure figcaption { padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.section { padding-block: 5rem; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-heading p { max-width: 49ch; color: var(--muted); }
.section-heading .eyebrow { margin-bottom: .9rem; }
.direction-row { display: grid; grid-template-columns: 5rem 1fr 1fr; gap: 2rem; padding-block: 2.1rem; border-top: 1px solid var(--line); align-items: start; }
.row-index { color: var(--cyan); font-size: .83rem; font-weight: 650; }
.direction-row.export .row-index { color: var(--pink); }
.direction-row h3 { max-width: 20ch; font-size: 1.55rem; }
.direction-row p { color: var(--muted); max-width: 52ch; }
.row-caption { display: block; margin-top: .8rem; color: var(--muted); font-size: .85rem; }
.screenshot-jump { display: inline-block; margin-top: .5rem; font-size: .9rem; }
.screenshot-note { max-width: 78ch; margin-bottom: 2rem; padding-left: 1rem; border-left: 3px solid var(--pink); color: var(--muted); font-size: .9rem; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; }
.screenshot-card { min-width: 0; }
.screenshot-link { display: block; width: min(100%, 320px); margin-inline: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; overflow: hidden; }
.screenshot-link img { display: block; width: 100%; }
.screenshot-open { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 650; }
.screenshot-link:hover .screenshot-open { text-decoration: underline; }
.screenshot-card figcaption { max-width: 320px; margin: 1.2rem auto 0; }
.screenshot-card h3 { font-size: 1.2rem; line-height: 1.3; }
.screenshot-card figcaption p { margin-top: .5rem; color: var(--muted); font-size: .92rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; gap: 2.5rem; counter-reset: steps; }
.steps li { margin: 0; padding-top: 1.5rem; border-top: 2px solid var(--line); counter-increment: steps; }
.steps li::before { content: "0" counter(steps); display: block; margin-bottom: 1.2rem; color: var(--cyan); font-size: .8rem; font-weight: 700; }
.steps h3 { margin-bottom: .8rem; }
.steps p { color: var(--muted); }
.privacy-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; padding: 3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.privacy-panel .eyebrow { margin-bottom: 1rem; }
.privacy-panel ul { list-style: none; padding: 0; }
.privacy-panel li { position: relative; padding-left: 1.4rem; color: var(--muted); }
.privacy-panel li::before { content: ""; position: absolute; left: 0; top: .7rem; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.privacy-panel .text-link { display: inline-block; margin-top: 1.5rem; }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding-block: 1.2rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 1.12rem; font-weight: 650; padding-right: 1rem; }
.faq details p { margin-top: .9rem; padding-right: 1rem; color: var(--muted); }
.page-heading { padding-block: 4rem 3rem; }
.page-heading h1 { margin-top: 1rem; max-width: 17ch; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.page-heading .lead { max-width: 58ch; }
.page-meta { margin-top: 1.2rem; color: var(--muted); font-size: .85rem; }
.jump-links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.6rem; font-size: .9rem; }
.support-layout, .document-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 4rem; align-items: start; padding-bottom: 5rem; }
.contents { position: sticky; top: 2rem; padding-top: .5rem; }
.contents h2 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.contents ol { list-style: none; padding: 0; }
.contents li { margin-top: .5rem; }
.contents a { color: var(--muted); font-size: .86rem; text-decoration: none; }
.contents a:hover { color: var(--cyan); text-decoration: underline; }
.prose { min-width: 0; max-width: 74ch; }
.prose section { border-top: 1px solid var(--line); padding-block: 2rem; }
.prose section:first-child { padding-top: 1.5rem; }
.prose h2 { font-size: 1.65rem; margin-bottom: 1.2rem; letter-spacing: -.025em; }
.prose h3 { margin-block: 1.6rem .7rem; }
.prose p, .prose ul, .prose ol { color: var(--muted); }
.prose ul, .prose ol { margin-block: 1rem; }
.prose strong { color: var(--ink); }
.legal-prose > h2 { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.callout { margin-block: 1.2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--cyan); background: var(--cyan-soft); border-radius: 0 9px 9px 0; }
.callout p { color: var(--ink); }
.callout.warning { border-color: var(--pink); background: var(--pink-soft); }
.contact-lines { display: grid; gap: .75rem; margin-block: 1.2rem; }
.contact-lines div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; }
.contact-lines dt { color: var(--muted); }
.contact-lines dd { margin: 0; overflow-wrap: anywhere; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 2.8rem; font-size: .85rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.footer-nav a { color: var(--muted); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.4rem; }
.footer-meta p { margin: 0; }
.footer-note { margin-top: 1rem; font-size: .78rem; color: var(--muted); max-width: 82ch; }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a22;
    --surface: #17252f;
    --soft: #1c303c;
    --ink: #eff6f8;
    --muted: #afc0c9;
    --line: #30434f;
    --cyan: #76d9e5;
    --cyan-soft: #15343f;
    --pink: #ff98b6;
    --pink-soft: #35222f;
    --shadow: 0 24px 64px rgba(0, 0, 0, .18);
  }
}
@media (max-width: 960px) {
  .hero { gap: 2.5rem; padding-block: 3.5rem 4.5rem; }
  .connection-figure { padding: 1.5rem; }
  .endpoints { font-size: .95rem; gap: .55rem; }
  .section-heading { gap: 2rem; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-layout, .document-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 2.5rem; }
  .privacy-panel { gap: 2.5rem; padding: 2.3rem; }
}
@media (max-width: 740px) {
  .wrap { width: min(100% - 2rem, 1160px); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .7rem; padding-block: 1rem; }
  .brand { gap: .6rem; font-size: 1.07rem; }
  .brand .brand-logo { width: 108px; }
  .site-nav { width: 100%; gap: .4rem 1.2rem; }
  .site-nav .language { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-block: 3rem 3.5rem; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 4.2rem); max-width: 15ch; }
  .lead { font-size: 1.08rem; }
  .connection-figure { max-width: 540px; width: 100%; }
  .connection-figure::before { right: -.4rem; top: -.6rem; }
  .section { padding-block: 3.3rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 2rem; }
  .direction-row { grid-template-columns: 2.4rem 1fr; gap: 1rem; padding-block: 1.6rem; }
  .direction-row > p, .direction-row .direction-copy { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps li { padding-top: 1rem; }
  .steps li::before { margin-bottom: .7rem; }
  .privacy-panel { grid-template-columns: 1fr; gap: 1.7rem; padding: 1.6rem; }
  .page-heading { padding-block: 3rem 2rem; }
  .support-layout, .document-layout { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 3rem; }
  .contents { position: static; border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .contents ol { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
  .contents li { margin: 0; }
  .contents a { text-decoration: underline; }
  .contact-lines div { grid-template-columns: 1fr; gap: .1rem; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
@media (max-width: 599px) {
  .screenshot-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
