:root {
  --bg:#f7f9fc;
  --text:#182331;
  --muted:#5c687a;
  --line:#dce2eb;
  --accent:#245bd9;
  --surface:#fff;
  --demo:#eaf0f8;
  --bar:#f4f7fc;
  --soft:#f1f5fa;
  --green:#267343;
  --green-bg:#e8f4eb;
  --shadow:0 24px 60px -24px #243e6655,0 3px 12px #243e6612;
  --section-space:40px;
  color-scheme:light;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
}
:root[data-theme=dark] {
  --bg:#11161e;
  --text:#edf2fa;
  --muted:#a4b0c1;
  --line:#2c3645;
  --accent:#81aaff;
  --surface:#232d3b;
  --demo:#182231;
  --bar:#202c3d;
  --soft:#1c2532;
  --green:#99d7af;
  --green-bg:#293e36;
  --shadow:0 24px 65px -20px #0009,0 3px 15px #0003;
  color-scheme:dark;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:36px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-size:1rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
button,select {
  font:inherit;
}
button,a,select {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  cursor:pointer;
}
svg {
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
img {
  display:block;
  max-width:100%;
  height:auto;
}
button,select,a,summary {
  touch-action:manipulation;
}
:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
}
[hidden] {
  display:none!important;
}
.shell {
  max-width:1160px;
  width:calc(100% - 96px);
  margin-inline:auto;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.skip-link {
  position:fixed;
  top:12px;
  left:12px;
  z-index:20;
  padding:12px 20px;
  background:var(--text);
  color:var(--bg);
  transform:translateY(-200%);
  border-radius:8px;
}
.skip-link:focus {
  transform:none;
}
.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:108px;
  border-bottom:1px solid var(--line);
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:1.125rem;
  font-weight:650;
  letter-spacing:-.6px;
}
.brand img {
  width:42px;
  height:42px;
}
.brand-secondary {
  font-weight:400;
  color:var(--muted);
}
.preferences {
  display:flex;
  align-items:center;
  gap:18px;
}
.language-picker {
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
}
.language-picker svg {
  width:18px;
  height:18px;
  color:var(--muted);
}
select {
  min-width:116px;
  max-width:135px;
  min-height:36px;
  border:1px solid var(--line);
  border-radius:9px;
  appearance:auto;
  background:#0b1015;
  color:var(--text);
  color-scheme:dark;
  font-size:0.875rem;
  cursor:pointer;
  padding:0 30px 0 12px;
}
[data-theme=light] select {
  background:#fff;
  color-scheme:light;
}
.language-trigger {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:116px;
  min-height:36px;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--soft);
  color:var(--text);
  font-size:.875rem;
  line-height:1.4;
}
.language-trigger:hover { background:var(--surface); }
.language-trigger:focus-visible { outline-width:2px; outline-offset:3px; }
.language-chevron {
  width:7px;
  height:7px;
  flex-shrink:0;
  margin-top:-3px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);
}
.language-menu {
  position:absolute;
  z-index:100;
  top:calc(100% + 8px);
  right:0;
  width:max-content;
  min-width:116px;
  max-width:calc(100vw - 40px);
  max-height:min(400px,70vh);
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:4px;
  border:1px solid #ffffff30;
  border-radius:12px;
  background:rgba(37,45,49,.97);
  color:#f2f4f7;
  box-shadow:0 14px 38px #0005,inset 0 1px 0 #ffffff0c;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.language-option {
  display:flex;
  align-items:center;
  gap:6px;
  min-height:24px;
  padding:2px 7px;
  border-radius:7px;
  font-size:.875rem;
  line-height:20px;
  white-space:nowrap;
  cursor:pointer;
}
.language-option[data-active=true] { background:#007aff; color:#fff; }
.language-check { width:12px; flex-shrink:0; visibility:hidden; font-weight:600; }
.language-option[aria-selected=true] .language-check { visibility:visible; }
[data-theme=light] .language-menu {
  background:rgba(250,251,253,.98);
  color:#182331;
  border-color:#00000020;
  box-shadow:0 14px 38px #18233126,inset 0 1px 0 #fff;
}
@media(forced-colors:active) {
  .language-menu { background:Canvas; color:CanvasText; border-color:ButtonText; }
  .language-option[data-active=true] { background:Highlight; color:HighlightText; forced-color-adjust:none; }
}
@media(max-width:540px) {
  .language-trigger { min-width:98px; padding-inline:8px; font-size:.8125rem; gap:10px; }
}
.icon-button {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  color:var(--text);
}
.icon-button:hover {
  background:var(--soft);
}
.sun {
  display:none;
}
[data-theme=dark] .sun {
  display:block;
}
[data-theme=dark] .moon {
  display:none;
}
.hero {
  display:grid;
  grid-template-columns:1.06fr 1fr;
  align-items:center;
  gap:54px;
  padding-block:var(--section-space);
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:0.75rem;
  font-weight:500;
  letter-spacing:.025em;
  color:var(--muted);
  margin:0 0 25px;
}
.small-rule {
  width:22px;
  height:2px;
  background:var(--accent);
  flex-shrink:0;
}
h1 {
  font-size:clamp(2.75rem,5vw,4.125rem);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.065em;
  margin:0 0 26px;
}
h1>span {
  display:block;
}
.accent {
  color:var(--accent);
}
.hero-description {
  max-width:440px;
  color:var(--muted);
  font-size:1.125rem;
  line-height:1.7;
  margin:0 0 30px;
}
.hero-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:15px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:48px;
  padding:12px 20px;
  font-size:0.875rem;
  font-weight:600;
  border-radius:7px;
  transition:background .2s,transform .2s;
}
.primary,.download {
  background:var(--text);
  color:var(--bg);
}
.button:hover {
  transform:translateY(-2px);
  background:var(--accent);
  color:var(--bg);
}
.release-note {
  font-size:0.75rem;
  color:var(--muted);
}
.requirements {
  display:flex;
  align-items:center;
  gap:8px;
  margin:19px 0 0;
  color:var(--muted);
  font-size:0.75rem;
}
.requirements svg {
  width:15px;
  height:15px;
}
.demo-wrap {
  min-width:0;
}
.demo {
  border:1px solid var(--line);
  border-radius:13px;
  overflow:hidden;
  background:var(--demo);
}
.demo-menubar {
  height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 16px;
  border-bottom:1px solid var(--line);
  background:var(--bar);
  font-size:0.75rem;
}
.menubar-name {
  font-weight:650;
}
.menubar-icons {
  display:flex;
  align-items:center;
  gap:13px;
}
.menubar-icons svg {
  width:16px;
  height:16px;
}
.menubar-icons .tunnel-mark {
  width:28px;
  height:26px;
  padding:4px;
  background:var(--green-bg);
  color:var(--green);
  border-radius:4px;
}
.demo-body {
  padding:42px 35px 22px;
  background-image:radial-gradient(var(--line) .7px,transparent .7px);
  background-size:16px 16px;
}
.connection-card {
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  background:var(--surface);
  padding:24px 23px 0;
}
.card-heading {
  display:flex;
  align-items:center;
  gap:12px;
}
.card-name {
  font-size:0.9375rem;
  font-weight:650;
  letter-spacing:-.3px;
  margin:0 0 3px;
}
.connection-status {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.75rem;
  color:var(--green);
  margin:0;
}
.status-dot {
  width:6px;
  height:6px;
  background:currentColor;
  border-radius:50%;
}
.connection-control {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding-block:24px;
  border-bottom:1px solid var(--line);
}
.control-title {
  display:block;
  font-size:0.875rem;
  font-weight:600;
}
.control-description {
  display:block;
  font-size:0.75rem;
  color:var(--muted);
  line-height:1.45;
  margin-top:2px;
}
.switch {
  position:relative;
  flex-shrink:0;
  width:48px;
  height:28px;
  border:0;
  border-radius:30px;
  background:#388755;
  padding:3px;
  box-sizing:content-box;
}
.switch::before {
  content:"";
  position:absolute;
  inset:-6px;
}
.switch span {
  display:block;
  width:24px;
  height:24px;
  margin:2px;
  background:#fff;
  border-radius:50%;
  box-shadow:0 1px 4px #0002;
  transform:translateX(20px);
  transition:transform .2s;
}
.connection-route {
  display:flex;
  align-items:center;
  gap:12px;
  padding:22px 0;
  text-align:left;
}
.connection-route>div:last-child {
  text-align:right;
}
.route-label {
  display:block;
  color:var(--muted);
  font-size:0.75rem;
}
code {
  font-size:0.75rem;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-weight:500;
}
.route-line {
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
  color:var(--green);
}
.route-line>span {
  height:1px;
  flex:1;
  background:currentColor;
  opacity:.45;
}
.route-line svg {
  width:16px;
  height:16px;
}
.card-footer {
  display:flex;
  align-items:center;
  gap:7px;
  border-top:1px solid var(--line);
  padding:12px 0;
  font-size:0.75rem;
  color:var(--muted);
}
.card-footer-mark {
  font-size:0.9375rem;
}
.protocol {
  margin-left:auto;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:0.75rem;
}
.demo-caption {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:0.75rem;
  text-align:center;
  margin-top:24px;
}
.demo-bottom {
  display:flex;
  justify-content:center;
  text-align:center;
  gap:12px;
  border-top:1px solid var(--line);
  padding:10px 15px;
  font-size:0.75rem;
  color:var(--muted);
  background:var(--bar);
}
.demo[data-connected=false] .switch {
  background:var(--muted);
}
.demo[data-connected=false] .switch span {
  transform:none;
}
.demo[data-connected=false] .connection-status,.demo[data-connected=false] .route-line {
  color:var(--muted);
}
.demo[data-connected=false] .tunnel-mark {
  background:var(--soft);
  color:var(--muted);
}
.demo[data-connected=false] .route-line>span {
  background:transparent;
  border-top:1px dashed currentColor;
}
.features {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  padding-block:var(--section-space);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.features article {
  padding:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(145deg,var(--soft),var(--bg));
}
.features h2 {
  font-size:1.125rem;
  letter-spacing:-.5px;
  line-height:1.35;
  margin:0 0 10px;
  font-weight:600;
}
.features p {
  font-size:0.875rem;
  line-height:1.75;
  color:var(--muted);
  margin:0;
}
.how-section {
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:100px;
  padding-block:var(--section-space);
  border-bottom:1px solid var(--line);
}
.how-heading .eyebrow {
  margin-bottom:15px;
}
h2 {
  font-size:2rem;
  line-height:1.2;
  font-weight:550;
  letter-spacing:-1.1px;
  margin:0 0 20px;
}
.how-heading>p:last-child {
  max-width:310px;
  color:var(--muted);
  font-size:1rem;
  line-height:1.75;
}
.steps {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:26px;
}
.steps li {
  display:flex;
  align-items:flex-start;
  gap:18px;
}
.step-number {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:28px;
  height:28px;
  border:1px solid var(--line);
  border-radius:50%;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:0.75rem;
  color:var(--muted);
}
h3 {
  font-size:1rem;
  font-weight:600;
  margin:0 0 6px;
  letter-spacing:-.3px;
}
.steps p {
  margin:0;
  color:var(--muted);
  font-size:0.875rem;
  line-height:1.7;
}
.faq-section {
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:100px;
  padding-block:var(--section-space);
}
.how-heading h2,.faq-section h2 {
  font-size:1.625rem;
}
.faq-list {
  min-width:0;
}
details {
  border-bottom:1px solid var(--line);
}
details:first-child {
  margin-top:-15px;
}
summary {
  cursor:pointer;
  list-style:none;
  position:relative;
  min-height:54px;
  display:flex;
  align-items:center;
  padding:15px 30px 15px 0;
  font-size:0.875rem;
  font-weight:550;
  line-height:1.5;
}
summary::-webkit-details-marker {
  display:none;
}
summary::after {
  content:"+";
  position:absolute;
  right:2px;
  top:13px;
  font-size:1.25rem;
  font-weight:400;
  color:var(--muted);
}
details[open] summary::after {
  content:"−";
}
details p {
  margin:0;
  padding:0 26px 20px 0;
  color:var(--muted);
  font-size:0.875rem;
  line-height:1.8;
}
.footer {
  border-top:1px solid var(--line);
  padding-block:var(--section-space);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  font-size:0.75rem;
  color:var(--muted);
}
.back-top:hover {
  color:var(--text);
  text-decoration:underline;
}
@media(max-width:1050px) {
  .shell {
    width:calc(100% - 64px);
  }
  .hero {
    gap:28px;
  }
  .hero h1 {
    font-size:3.125rem;
  }
  .demo-body {
    padding:30px 22px 22px;
  }
  .connection-card {
    padding:20px 18px 0;
  }
  .hero-description {
    font-size:1.0625rem;
  }
  .how-section,.faq-section {
    gap:55px;
  }
  .release-note {
    width:100%;
  }
}
@media(max-width:780px) {
  .hero {
    grid-template-columns:1fr;
    gap:45px;
  }
  .hero-copy {
    max-width:560px;
  }
  .hero h1 {
    font-size:clamp(2.75rem,8vw,4rem);
  }
  .hero-description {
    max-width:460px;
  }
  .demo-wrap {
    width:100%;
    max-width:520px;
    justify-self:center;
  }
  .demo-body {
    padding:36px 40px 25px;
  }
  .hero-actions {
    gap:20px;
  }
  .release-note {
    width:auto;
  }
  .features {
    grid-template-columns:1fr;
    gap:16px;
  }
  .features h2 {
    font-size:1.0625rem;
  }
  .how-section,.faq-section {
    gap:30px;
    grid-template-columns:1fr 1.2fr;
  }
  .back-top {
    display:none;
  }
}
@media(max-width:540px) {
  .shell {
    width:calc(100% - 40px);
  }
  .header {
    min-height:88px;
    gap:12px;
  }
  .brand {
    font-size:0.9375rem;
    gap:7px;
    letter-spacing:-.4px;
  }
  .brand img {
    width:34px;
    height:34px;
  }
  .brand-secondary {
    display:block;
    font-size:0.75rem;
    line-height:1.1;
  }
  .preferences {
    gap:8px;
  }
  .language-picker {
    gap:0;
  }
  .language-picker svg {
    display:none;
  }
  select {
    max-width:112px;
    font-size:0.75rem;
  }
  .icon-button {
    width:38px;
    height:38px;
  }
  .hero {
    gap:35px;
  }
  .eyebrow {
    font-size:0.75rem;
    margin-bottom:22px;
  }
  .hero h1 {
    font-size:clamp(2.4375rem,9vw,3.0625rem);
    letter-spacing:-.06em;
  }
  .hero-description {
    font-size:1rem;
    line-height:1.75;
  }
  .hero-actions {
    gap:13px;
  }
  .button {
    font-size:0.8125rem;
    padding-inline:17px;
  }
  .release-note {
    font-size:0.75rem;
  }
  .demo-body {
    padding:28px 19px 20px;
  }
  .demo-menubar {
    padding-inline:12px;
  }
  .card-name {
    font-size:0.875rem;
  }
  .demo-bottom {
    font-size:0.75rem;
    padding-inline:12px;
  }
  .connection-card {
    padding:20px 18px 0;
  }
  .demo-caption {
    font-size:0.75rem;
  }
  .features article {
    padding:22px;
  }
  .features h2 {
    margin:0 0 7px;
  }
  .features p {
    font-size:0.875rem;
  }
  .how-section,.faq-section {
    grid-template-columns:1fr;
    gap:30px;
  }
  .how-heading>p:last-child {
    max-width:none;
    margin-bottom:0;
  }
  .steps {
    gap:24px;
  }
  .faq-section h2 {
    margin:0;
  }
  .footer {
    gap:18px;
  }
  .copyright {
    font-size:0.75rem;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}
@media(forced-colors:active) {
  .switch {
    border:1px solid ButtonText;
  }
  .switch span {
    background:ButtonText;
  }
  .route-line>span {
    background:CanvasText;
  }
  .status-dot {
    background:CanvasText;
  }
}
/* App Store artwork keeps Apple's original aspect ratio in every language. */
.store-link {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  flex-shrink:0;
  border-radius:7px;
}
.store-link img {
  height:48px;
  width:auto;
  max-width:230px;
}
.store-link:hover {
  opacity:.85;
}
.features p,.steps p,details p {
  font-size:1rem;
}
:lang(ja) h1,:lang(ko) h1,:lang(zh) h1 {
  letter-spacing:-.035em;
  line-height:1.25;
}
.hero-copy,.features article,.how-heading {
  min-width:0;
}
h1,h2,h3,p {
  overflow-wrap:break-word;
}
@media(max-width:540px) {
  .hero-actions {
    gap:10px 18px;
  }
  .store-link img {
    height:44px;
  }
  .demo-bottom {
    flex-wrap:wrap;
    gap:3px 10px;
  }
  .card-footer {
    flex-wrap:wrap;
  }
  .features p {
    font-size:1rem;
  }
}

/* Shared information pages and footer. */
.footer {
  flex-wrap:wrap;
}
.footer-links {
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px 22px;
  font-size:.875rem;
}
.footer-links a {
  display:inline-flex;
  align-items:center;
  min-height:36px;
  text-underline-offset:4px;
}
.footer-links a:hover {
  color:var(--text);
  text-decoration:underline;
}
.legal-main {
  padding-block:var(--section-space);
}
.legal-back {
  display:inline-block;
  padding-block:8px;
  margin-bottom:var(--section-space);
  color:var(--muted);
  font-size:.875rem;
  text-decoration:underline;
  text-underline-offset:4px;
}
.legal-article {
  max-width:760px;
  margin-inline:auto;
}
.legal-heading {
  border-bottom:1px solid var(--line);
  padding-bottom:var(--section-space);
  margin-bottom:var(--section-space);
}
.legal-heading h1 {
  font-size:clamp(2.1rem,4vw,3.4rem);
  line-height:1.18;
  letter-spacing:-.045em;
  margin-bottom:18px;
}
.legal-updated {
  color:var(--muted);
  font-size:.875rem;
  margin-block:0 24px;
}
.legal-intro {
  font-size:1.125rem;
  line-height:1.8;
  margin:0;
}
.legal-article section {
  margin-bottom:var(--section-space);
}
.legal-article h2 {
  font-size:1.25rem;
  line-height:1.4;
  letter-spacing:-.025em;
  margin-bottom:10px;
  font-weight:600;
}
.legal-article section p {
  color:var(--muted);
  font-size:1rem;
  line-height:1.85;
  margin:0;
}
.legal-article a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px;
  overflow-wrap:anywhere;
}
.legal-references {
  display:flex;
  flex-wrap:wrap;
  gap:12px 26px;
  font-size:.875rem;
  margin-bottom:var(--section-space);
}
.legal-contact {
  border-top:1px solid var(--line);
  padding-top:var(--section-space);
}
@media(max-width:780px) {
  .footer {
    flex-direction:column;
    gap:18px;
    text-align:center;
  }
  .footer-links {
    order:-1;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%;
    max-width:480px;
    gap:8px 18px;
  }
  .footer-links a {
    justify-content:center;
    overflow-wrap:anywhere;
  }
}
@media(max-width:540px) {
  .legal-intro { font-size:1rem; }
  select { min-width:98px; padding-left:8px; padding-right:20px; }
}
