:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #f2f2fb;
  background: #090d17;
  font-synthesis: none;
  --muted: #b8c4e2;
  --accent: #a090ff;
  --line: #273047;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 79% 23%, #26215a50, transparent 46%),
    radial-gradient(ellipse at 32% 61%, #172b4655, transparent 40%),
    radial-gradient(ellipse at 50% 100%, #25134525, transparent 48%),
    linear-gradient(120deg, #090c14, #0c1020 63%, #090c14);
  line-height: 1.5;
}
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, select { color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
p, h1, h2, h3, pre { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #bbaaff; outline-offset: 5px; }
::selection { background: #6b42d9; color: white; }
.shell { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: clamp(24px, 4.5vw, 76px); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 10; padding: 12px 20px; background: #f2f2fb; color: #090d17; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; white-space: nowrap; font-size: 27px; font-weight: 750; letter-spacing: -.035em; }
.brand-mask { width: 50px; height: 36px; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: #d3dcf9; transition: color 180ms ease; }
.site-header nav a:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 36px; }
.github-link { display: grid; place-items: center; width: 44px; height: 44px; transition: color 180ms ease; }
.github-link .icon { width: 29px; height: 29px; }
.github-link:hover { color: #bbaaff; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 55px; padding: 12px 20px; border: 1px solid #915eff; border-radius: 11px; background: linear-gradient(120deg, #6729ff, #573aff 68%, #683fff); box-shadow: inset 0 1px 3px #e5caff30, 0 4px 18px #33187625; font-size: 16px; font-weight: 600; white-space: nowrap; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 3px #e5caff30, 0 5px 24px #7147ff40; border-color: #b79aff; }
.button:active { transform: translateY(0); }
.button .icon { width: 25px; height: 25px; }
.button-small { min-height: 42px; padding: 8px 19px; border-radius: 9px; font-size: 15px; background: linear-gradient(130deg, #642bff, #9845f9 75%, #3357ff); }
.button-small .icon { width: 21px; height: 21px; }
.button-secondary { border-color: #434b72; background: linear-gradient(120deg, #131725, #131628); box-shadow: inset 0 0 0 1px #7881a314; }
.button-secondary .icon { width: 28px; height: 28px; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.92fr); gap: 24px; padding-top: 12px; padding-bottom: 18px; }
.hero-copy { padding-top: 30px; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: #baccef; }
h1 { margin-top: 14px; font-size: clamp(36px, 3.35vw, 57px); font-weight: 750; letter-spacing: -.026em; line-height: 1.09; }
h1 span { color: #9770ff; background: linear-gradient(90deg, #7e75ff, #a555f6); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 55ch; margin-top: 28px; color: #c1cce5; font-size: clamp(16px, 1.06vw, 18px); line-height: 1.47; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; color: #c4cee8; font-size: 13px; }
.trust-list li { display: flex; align-items: center; gap: 9px; }
.trust-list .icon { color: #81efb5; width: 18px; height: 18px; }
.comparison { position: relative; display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 40px; min-width: 0; }
.api-panel { min-width: 0; padding: 10px 12px 6px; border: 1px solid #35416a; border-radius: 12px; background: linear-gradient(145deg, #101523ed, #0c111ce8); box-shadow: 0 8px 36px #13153a50; }
.raw-panel { margin-top: 5px; }
.facade-panel { position: relative; border-color: #423a80; box-shadow: -12px 6px 50px #4b38ee19, inset 0 0 0 1px #6b5aff08; }
.panel-heading { display: flex; align-items: center; gap: 16px; padding: 0 8px 10px; min-height: 53px; }
.panel-heading h2 { font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; }
.panel-heading p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.apple-logo { width: 25px; height: 29px; }
.panel-mask { width: 38px; height: 32px; }
.code-window { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(145deg, #0d131ee6, #0a1019e6); min-width: 0; }
.endpoint { display: flex; align-items: flex-start; gap: 9px; padding: 9px 7px; min-height: 46px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #343b54 transparent; }
.endpoint code { padding-top: 3px; color: #b9c7e7; font-family: var(--mono); font-size: 11px; line-height: 1.65; white-space: nowrap; }
.method { padding: 2px 10px; color: #39efb7; background: linear-gradient(110deg, #173a35, #112721); border-radius: 5px; font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.6; }
.raw-endpoint { min-height: 91px; }
.code-block { padding: 8px 7px; font-family: var(--mono); font-size: 11px; line-height: 1.48; color: #d2dbef; overflow: auto; scrollbar-width: thin; scrollbar-color: #343b54 transparent; counter-reset: line; }
.code-block > code { display: block; width: max-content; min-width: 100%; font: inherit; }
.code-line { display: block; counter-increment: line; white-space: pre; }
.code-line::before { display: inline-block; width: 17px; margin-right: 11px; color: #718096; content: counter(line); font-size: 10px; text-align: right; user-select: none; }
.key { color: #a681fb; }
.string { color: #a0d38e; }
.raw-code .key { color: #ef8ebd; }
.raw-code .string { color: #b2bff0; }
.raw-code { min-height: 319px; }
.comparison-arrow { position: absolute; top: 39%; left: calc(48% - 4px); width: 36px; height: 36px; color: #a7b0ff; filter: drop-shadow(0 0 6px #6154ff); }
.tabs, .response-heading { display: flex; align-items: center; gap: 22px; min-height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); }
[role="tab"] { position: relative; min-height: 36px; padding: 0; background: transparent; color: #adb9d5; font-size: 12px; transition: color 180ms ease; }
[role="tab"]:hover { color: #ded7ff; }
[role="tab"][aria-selected="true"] { color: #a297ff; font-weight: 600; }
[role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 2px; background: #7961ff; box-shadow: 0 0 6px #7563ff60; }
.localization-code { height: 110px; }
.response-heading { min-height: 43px; background: #151b242e; box-shadow: inset 0 1px 0 #6d748419; }
.response-heading [role="tab"] { min-height: 42px; }
.status-code { font-family: var(--mono); font-size: 12px; font-weight: 600; color: #4ce7a1; padding: 2px 8px; border: 1px solid #1e5b44; border-radius: 5px; background: #173a2d7a; }
.result-code { height: 178px; }
.handwritten { font-family: "Noteworthy", "Segoe Print", "Comic Sans MS", cursive; font-style: italic; font-size: 18px; line-height: 1.35; color: #a3a4ff; transform: rotate(-7deg); }
.result-note { position: absolute; right: -44px; bottom: 102px; pointer-events: none; text-shadow: 0 2px 8px #0a0d1c; }
.note-arrow { width: 56px; height: 51px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.result-note .note-arrow { position: absolute; right: 40px; top: 58px; transform: rotate(165deg); }
.feature-strip { border-block: 1px solid #273047; background: linear-gradient(100deg, #0c111e80, #12172a50 45%, #0b101a80); }
.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-block: 21px; }
.features li { display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.feature-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 47px; border: 1px solid #2c344f; border-radius: 9px; background: linear-gradient(145deg, #222b47, #171c32); color: #8279ff; box-shadow: inset 0 1px 6px #7380d008; }
.feature-icon .icon { width: 27px; height: 27px; stroke-width: 2; }
.features li:nth-child(4) .feature-icon { color: #c362f0; }
.features h2 { margin-top: 5px; font-size: 13px; font-weight: 600; line-height: 1.45; }
.features p { margin-top: 6px; color: #c0cbe3; font-size: 12px; line-height: 1.5; }
.example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, .97fr); align-items: start; gap: 22px; padding-top: 16px; }
.example-copy { position: relative; padding-top: 9px; }
.example-copy .eyebrow .icon { width: 23px; height: 23px; color: #8094c0; }
.example-copy h2 { margin-top: 12px; font-size: clamp(23px, 1.8vw, 31px); letter-spacing: -.025em; font-weight: 650; line-height: 1.3; }
.example-copy > p:last-of-type { max-width: 50ch; margin-top: 10px; color: #bac7e1; font-size: 15px; line-height: 1.5; }
.example-note { position: absolute; right: 24px; top: 128px; font-size: 15px; }
.example-note .note-arrow { position: absolute; left: 104px; top: 23px; width: 47px; height: 44px; transform: rotate(15deg); }
.example-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-right: 12px; border-bottom: 1px solid var(--line); }
.example-toolbar .tabs { min-height: 44px; border: 0; padding-left: 16px; }
.example-toolbar [role="tab"] { min-height: 44px; }
.code-tools { display: flex; align-items: center; gap: 12px; }
.code-tools select { max-width: 113px; padding: 5px 8px; min-height: 32px; border: 1px solid #35415c; border-radius: 6px; background: #0c121e; font-size: 12px; cursor: pointer; }
.copy-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 5px; border: 1px solid #35415c; border-radius: 6px; background: #0c121e; transition: border-color 180ms ease, color 180ms ease; }
.copy-button .icon { width: 20px; height: 20px; }
.copy-button:hover { color: #bbaaff; border-color: #8b72da; }
.copy-button[data-copied="true"] { color: #81efb5; }
.example-code { height: 124px; padding: 16px 12px; font-size: 11px; line-height: 1.9; }
.example-code .code-line::before { margin-right: 20px; }
.command { color: #26caff; }
.example-response .code-block { height: 185px; padding-top: 6px; font-size: 11px; line-height: 1.4; }
.example-response .key { color: #ff8094; }
.example-response .string { color: #a3cfb4; }
.site-footer { padding: 0 24px 10px; margin-top: -4px; text-align: center; color: #b8c5e1; font-size: 13px; line-height: 1.35; }
.site-footer a { color: #b398ff; font-size: 15px; font-weight: 650; }
@media (min-width: 1600px) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.92fr); }
  .api-panel { padding-top: 11px; }
  .panel-heading { min-height: 54px; }
  .code-block { font-size: 11.5px; line-height: 1.4; }
  .raw-code { min-height: 318px; }
  .localization-code { height: 110px; }
  .result-code { height: 177px; }
}
@media (max-width: 1400px) {
  .site-header { gap: 20px; }
  .brand { font-size: 24px; }
  .brand-mask { width: 43px; }
  .header-actions { gap: 18px; }
  .hero { grid-template-columns: minmax(0, .97fr) minmax(0, 1.93fr); }
  .hero-copy { padding-top: 24px; }
  .hero-description { margin-top: 24px; }
  .hero-actions { gap: 12px; margin-top: 24px; }
  .hero-actions .button { padding-inline: 14px; font-size: 14px; gap: 9px; }
  .trust-list { gap: 10px 18px; margin-top: 24px; font-size: 12px; }
  .comparison { gap: 28px; }
  .comparison-arrow { width: 27px; height: 27px; left: calc(48% - 1px); }
  .panel-heading { gap: 12px; padding-inline: 3px; }
  .panel-heading h2 { font-size: 16px; }
  .panel-heading p { font-size: 11px; }
  .result-note { right: -29px; bottom: 94px; font-size: 16px; }
  .features { gap: 18px; }
  .features li { gap: 12px; }
  .features h2 { font-size: 11px; white-space: normal; }
  .features p { font-size: 11px; }
  .feature-icon { width: 40px; height: 44px; }
  .example-copy > p:last-of-type { font-size: 14px; }
  .example-note { right: 36px; }
}
@media (max-width: 1100px) {
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 12px; }
  .header-actions { gap: 8px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand-mask { width: 38px; }
  .button-small { padding-inline: 12px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; padding-bottom: 28px; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: clamp(40px, 5.4vw, 56px); }
  .hero-description { max-width: 65ch; font-size: 17px; }
  .hero-actions .button { font-size: 15px; padding-inline: 20px; }
  .trust-list { font-size: 13px; }
  .comparison { max-width: 960px; }
  .panel-heading h2 { font-size: 18px; }
  .panel-heading p { font-size: 12px; }
  .result-note { right: 5px; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .features h2 { font-size: 13px; }
  .features p { font-size: 12px; }
  .feature-icon { width: 44px; height: 46px; }
  .example { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; }
  .example-copy { grid-column: 1 / -1; padding-top: 0; }
  .example-copy h2 { font-size: 28px; }
  .example-copy > p:last-of-type { max-width: 60ch; font-size: 15px; }
  .example-note { display: none; }
  .site-footer { padding-block: 20px; margin: 0; }
}
@media (max-width: 800px) {
  .site-header { position: relative; height: 72px; }
  .header-actions { margin-left: auto; }
  .header-actions .github-link { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; order: 3; width: 44px; height: 44px; gap: 6px; border: 1px solid #35314e; border-radius: 7px; background: #151827; }
  .menu-toggle span { width: 19px; height: 2px; background: #e3dcff; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header nav { display: none; position: absolute; z-index: 5; top: 66px; left: 24px; right: 24px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px; border: 1px solid #36304e; border-radius: 9px; background: #111522; box-shadow: 0 12px 32px #0008; }
  .site-header nav[data-open="true"] { display: flex; }
  .site-header nav a { font-size: 14px; min-height: 44px; }
  .features { gap: 24px 16px; }
  .features li { gap: 10px; }
  .features h2 { font-size: 12px; }
  .features p { font-size: 11px; }
  .code-tools { gap: 8px; }
  .example-toolbar { padding-right: 8px; }
  .example-toolbar .tabs { gap: 16px; padding-left: 10px; }
  .code-tools select { max-width: 87px; }
}
@media (max-width: 600px) {
  .shell { padding-inline: 24px; }
  .site-header { gap: 10px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mask { width: 36px; height: 30px; }
  .header-actions .button { min-height: 44px; padding-inline: 10px; font-size: 12px; gap: 6px; }
  .header-actions .button .icon { width: 17px; height: 17px; }
  .menu-toggle { width: 44px; flex-shrink: 0; }
  .hero { padding-top: 26px; gap: 32px; }
  .eyebrow { font-size: 10px; }
  h1 { margin-top: 14px; font-size: clamp(34px, 8.9vw, 48px); line-height: 1.12; }
  .hero-description { margin-top: 22px; font-size: 16px; line-height: 1.55; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { flex: 1 1 145px; gap: 8px; min-height: 52px; padding-inline: 12px; font-size: 14px; }
  .hero-actions .button .icon { width: 22px; height: 22px; }
  .trust-list { gap: 12px 16px; font-size: 11px; }
  .trust-list li { gap: 6px; }
  .comparison { grid-template-columns: 1fr; gap: 40px; }
  .raw-panel { margin-top: 0; }
  .comparison-arrow { top: 453px; left: calc(50% - 14px); transform: rotate(90deg); }
  .raw-code { min-height: 318px; }
  .panel-heading h2 { font-size: 17px; }
  .code-block { font-size: 11px; }
  .result-note { right: 10px; bottom: 99px; font-size: 16px; }
  [role="tab"], .response-heading [role="tab"] { min-height: 44px; }
  .tabs { min-height: 44px; }
  .response-heading { min-height: 44px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-block: 24px; }
  .features li { flex-direction: column; gap: 8px; }
  .features h2 { margin-top: 0; font-size: 13px; }
  .features p { font-size: 12px; }
  .features p br { display: none; }
  .example { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .example-copy h2 { font-size: 25px; }
  .example-copy > p:last-of-type { font-size: 14px; }
  .example-toolbar .tabs { gap: 18px; }
  .code-tools select, .copy-button { min-height: 44px; }
  .copy-button { width: 44px; }
  .code-tools { gap: 8px; }
  .code-tools select { max-width: 85px; }
  .example-toolbar { padding-right: 4px; }
  .example-code { height: 130px; }
  .example-response .code-block { height: 190px; }
  .site-footer { padding-block: 20px 24px; }
}
@media (max-width: 374px) {
  .site-header .button .icon { display: none; }
  .brand { font-size: 19px; }
  .site-header { gap: 8px; }
  .brand-mask { width: 32px; }
  .example-toolbar .tabs { gap: 12px; }
  .code-tools select { max-width: 70px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter 450ms ease both; }
  .comparison { animation: enter 500ms 90ms ease both; }
  @keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
