/* Public website and legal notices */
:root {
  color-scheme: light;
  --ink: #152646;
  --muted: #50617b;
  --blue: #2857cf;
  --border: #dbe3ef;
  --radius: 18px;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, figure, dl, dd, p { margin: 0; }
body { background: white; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #396bea; outline-offset: 4px; }
.wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: -80px; left: 12px; background: white; padding: 10px 16px; }
.skip:focus { top: 8px; }
.mast { border-bottom: 1px solid var(--border); }
.bar, nav, .brand, .login, .btn, .actions { display: flex; align-items: center; }
.bar { min-height: 72px; justify-content: space-between; gap: 24px; }
.brand img { display: block; width: 158px; height: auto; }
nav { gap: 28px; font-size: 14px; color: var(--muted); }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover { color: var(--blue); }
.login { gap: 10px; min-height: 44px; padding-inline: 15px; background: #edf2fe; color: #234cb2; border-radius: 9px; font-size: 14px; font-weight: 650; }
.login:hover, .quiet:hover { background: #e0eaff; }
.hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 84%, #e6efff 0, #f5f8ff 52%, #fbfcff 90%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(#adc2df38 1px, transparent 1px), linear-gradient(90deg, #adc2df38 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #0008 32%, black);
}
.hero-grid { display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(52px, 6vw, 86px); }
h1 { font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -.045em; line-height: 1.22; font-weight: 780; }
h1 em { font-style: normal; color: var(--blue); }
.intro { margin-top: 20px; color: var(--muted); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.85; }
.actions { margin-top: 26px; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; min-height: 46px; padding: 9px 21px; border-radius: 10px; gap: 12px; font-weight: 650; font-size: 15px; }
.primary { background: var(--blue); color: white; box-shadow: 0 3px 8px #2447a024; }
.primary:hover { background: #2048b0; }
.quiet { border: 1px solid #c8d6ed; background: #fff; }
.route-sheet {
  color: #eff5ff; border: 1px solid #304975; border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px); box-shadow: 0 16px 38px #142c591a;
  background-color: #182f54;
  background-image: radial-gradient(#88aee32e 1px, transparent 1px);
  background-size: 16px 16px;
}
.route-sheet figcaption { margin: 0; color: inherit; font-weight: 650; font-size: 18px; }
.direct-route { display: flex; align-items: center; gap: 12px; color: #bdcde3; font-size: 13px; margin-block: 22px 28px; }
.direct-line { flex: 1; display: flex; align-items: center; gap: 8px; }
.direct-line::before, .direct-line::after { content: ""; flex: 1; border-top: 1px solid #768da9; }
.network { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: start; }
.route-example { margin-top: 24px; padding-top: 12px; border-top: 1px solid #516785; }
.route-example div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-block: 3px; }
.route-example dt { font-size: 12px; color: #c1d2e8; }
.route-example code { font: 500 clamp(11px, 1.2vw, 14px) ui-monospace, Consolas, monospace; }
.endpoint { display: grid; justify-items: center; gap: 8px; font-size: 13px; }
.device { width: 48px; height: 48px; position: relative; display: block; background: white; border: 1px solid #bbcce7; border-radius: 15px; color: #45638c; box-shadow: 0 3px 8px #3b598315; }
.device::before, .device::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.terminal::before { width: 20px; height: 13px; border: 2px solid; border-radius: 3px; }
.terminal::after { width: 13px; height: 2px; background: currentColor; margin-top: 11px; }
.relay { color: white; background: var(--blue); border-color: #2857cf; box-shadow: 0 0 0 5px #2e4874, 0 0 0 6px #567bb1; }
.relay::before, .relay::after { content: "→"; font: 700 22px/1 Arial, sans-serif; margin-top: -5px; }
.relay::after { content: "←"; margin-top: 5px; }
.server::before, .server::after { border: 2px solid; border-radius: 3px; width: 19px; height: 5px; margin-top: -5px; background: radial-gradient(circle at 4px 50%, currentColor 1px, transparent 1.5px); }
.server::after { margin-top: 5px; }
.wire { position: relative; margin: 23px 6px 0; border-top: 1px dashed #7693c4; }
.wire::after { content: ""; position: absolute; right: 1px; top: -4px; width: 6px; height: 6px; border: solid #7693c4; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.block { padding-block: clamp(44px, 5vw, 72px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.045em; line-height: 1.25; }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.035em; line-height: 1.4; }
.comparison { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 70px); padding-block: 36px; border-bottom: 1px solid var(--border); }
.comparison h2 { font-size: clamp(21px, 2.1vw, 30px); }
.comparison p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.comparison ol { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; margin: 0; padding: 0; list-style: none; }
.comparison li { border-inline-start: 2px solid #a8bff2; padding-inline-start: 15px; }
.guide-link, .faq p a, .screen a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.guide-link { display: inline-block; padding-block: 12px; }
.features { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; min-width: 0; padding-top: 18px; border-top: 2px solid #b8c9e7; }
.product p, .offer-head p, .onboarding p, .faq p, .legal p { color: var(--muted); margin-top: 10px; }
.product p { margin-bottom: 24px; }
.screen { display: grid; align-content: start; justify-items: center; flex: 1; padding: 20px 16px 12px; background: #edf2fb; border-radius: 10px; }
.usage-screen { background: #edf3f5; }
.screen img { width: min(100%, 330px); height: auto; border-radius: 8px; box-shadow: 0 5px 14px #15264616; }
.screen figcaption { text-align: center; }
.screen a { display: block; padding: 6px; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
.pricing { border-block: 1px solid var(--border); display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(24px, 5vw, 76px); }
.offer { background: #172b54; color: white; border-radius: var(--radius); padding: clamp(22px, 3.5vw, 44px); }
.offer-head p { color: #cfdbef; }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 22px; margin-top: 22px; border-top: 1px solid #435779; }
.limits dt { font-size: 13px; color: #d2dff5; }
.limits dd { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; line-height: 1.25; }
.limits small { font-weight: 500; font-size: 15px; }
#apply { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
#apply .primary { background: #f4f7ff; color: #193764; }
#apply .primary:hover { background: #dce7ff; }
#copy-request { border: 0; background: transparent; color: #e1ebff; min-height: 44px; padding: 4px; text-decoration: underline; text-underline-offset: 4px; }
#copy-status:not(:empty) { flex-basis: 100%; font-size: 14px; }
.onboarding ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }
.onboarding li { counter-increment: step; position: relative; padding-left: 42px; }
.onboarding li + li { margin-top: 20px; }
.onboarding li::before { content: counter(step); position: absolute; left: 0; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%; background: #edf2fc; color: var(--blue); font-weight: 700; }
.onboarding p { margin-top: 3px; font-size: 14px; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; }
details { border-bottom: 1px solid var(--border); }
details:first-child { border-top: 1px solid var(--border); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 18px 0; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font: 22px/1 Arial, sans-serif; }
details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 18px; }
footer { border-top: 1px solid var(--border); background: #f7f9fc; padding-block: 10px; }
footer .brand img { width: 140px; }
.reading { max-width: 744px; padding-block: 28px 56px; }
.reading-crumb { gap: 10px; color: var(--muted); }
.reading h1 { margin: 20px 0; font-size: clamp(30px, 4vw, 48px); text-wrap: balance; }
.reading-answer { background: #f1f5ff; border-inline-start: 3px solid var(--blue); padding: 16px 20px; }
.reading section { padding-top: 32px; }
.reading h2 { margin-bottom: 12px; font-size: clamp(21px, 3vw, 27px); }
.reading p, .reading li, .reading dd { line-height: 1.85; }
.reading p + p, .reading li + li { margin-top: 10px; }
.reading ol { padding-inline-start: 1.6em; }
.reading-cases div { padding-block: 12px; border-bottom: 1px solid var(--border); }
.reading dt { font-weight: 650; }
.reading dd { color: var(--muted); margin-top: 4px; }
.reading a, .guide-inline { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.reading footer { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 18px 0; background: transparent; }
.legal { max-width: 720px; padding-block: 52px; }
.legal a { color: var(--blue); }
.legal h1 { font-size: 36px; margin: 28px 0; }
.legal h2 { font-size: 20px; margin: 22px 0 8px; }
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 620px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .mast .bar { flex-wrap: wrap; min-height: auto; gap: 0 12px; padding-top: 10px; }
  .mast nav { order: 3; width: 100%; justify-content: center; gap: 26px; }
  .mast .brand img { width: 138px; }
  .hero-grid { padding-block: 42px 28px; }
  h1 { font-size: clamp(34px, 8vw, 48px); }
  .intro { text-wrap: balance; max-width: 34em; margin-top: 16px; }
  .features, .pricing, .faq, .comparison { grid-template-columns: 1fr; }
  .comparison ol { grid-template-columns: 1fr; gap: 16px; }
  .features { gap: 32px; }
  .faq { gap: 18px; }
  footer .bar { flex-wrap: wrap; padding-block: 12px; gap: 6px 16px; }
  footer nav { flex-wrap: wrap; gap: 0 16px; }
}
@media (max-width: 370px) {
  .btn { padding-inline: 14px; }
  .limits dt { font-size: 12px; }
  .offer { padding: 18px; }
}
