@font-face {
  font-family: Vazirmatn;
  src: url("assets/vazirmatn.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --background: #f7f9ff;
  --white: #fff;
  --ink: #111c36;
  --muted: #465574;
  --primary: #1746db;
  --line: #dce4f3;
  --soft-blue: #eaf0ff;
  --radius: 1.55rem;
  --font-family: "DM Sans", Vazirmatn, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--background); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 400 1rem/1.85 var(--font-family); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, main:focus-visible { outline: 3px solid #587cf2; outline-offset: 4px; }
[hidden] { display: none; }
.icon { flex: none; width: 1.25em; height: 1.25em; }
[dir="rtl"] :is(.forward-icon, .guide-arrow) { scale: -1 1; }
img { display: block; max-width: 100%; }
code { font-family: inherit; font-variant-numeric: tabular-nums; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.67rem, 3vw, 2.55rem); font-weight: 840; line-height: 1.38; }
h3 { font-size: clamp(1.12rem, 1.65vw, 1.5rem); font-weight: 800; line-height: 1.45; }
section[id], article[id] { scroll-margin-block-start: 1.4rem; }
.wrap { width: min(75rem, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset-block-start: .5rem; inset-inline-start: .5rem; padding: .45rem .95rem; background: #fff; transform: translateY(-170%); }
.skip:focus { transform: none; }

.site-header {
  border-block-end: 1px solid #344970;
  background: radial-gradient(ellipse at 50% 0, #1e3055, transparent 75%), #101a2e;
  color: #f2f6ff;
}
.header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 4.85rem;
  gap: .9rem;
  padding-block: .4rem;
}
.brand { display: inline-flex; align-items: center; gap: .58rem; width: fit-content; font-size: 1.35rem; font-weight: 850; line-height: 1.35; }
.brand img { width: 2.35rem; height: 2.35rem; border-radius: .68rem; }
.site-header .brand { white-space: nowrap; }
.site-header .brand img { flex: none; width: 2.55rem; height: 2.55rem; border: 1px solid #6888e6; box-shadow: 0 0 .95rem #3665ff4f; }
nav { display: flex; gap: clamp(.45rem, 1.65vw, 1.45rem); color: var(--muted); font-weight: 650; }
nav a, .header-action { display: inline-flex; align-items: center; min-height: 2.75rem; }
nav a:hover { color: var(--primary); }
.header nav { justify-self: center; gap: .12rem; padding: .2rem; border: 1px solid #3b4f75; border-radius: .95rem; background: #1b2a46; color: #d0dcf4; font-size: .95rem; font-weight: 600; }
.header nav a { justify-content: center; padding-inline: clamp(.45rem, 1.1vw, 1.05rem); border-radius: .65rem; white-space: nowrap; }
.header nav a:hover { background: #2b3f63; color: var(--white); }
.header-actions { display: flex; justify-self: end; gap: .46rem; }
.header-action { justify-content: center; gap: .38rem; padding-inline: .7rem; border: 1px solid #435982; border-radius: .7rem; background: #17253f; color: #e7efff; font-size: .89rem; font-weight: 750; white-space: nowrap; }
.header-action:hover { border-color: #7d9bd7; background: #24385c; }
.header-download { border-color: #c9dcff; background: #dbe7ff; color: #132c68; }
.header-download:hover { border-color: #fff; background: #fff; }
.site-header a:focus-visible { outline-color: #a8bfff; outline-offset: 2px; }

.hero {
  --accent: #b7cdff;
  --header-height: 4.9rem;
  display: grid;
  align-items: center;
  min-block-size: calc(100vh - var(--header-height));
  min-block-size: calc(100dvh - var(--header-height));
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 52%, #294caa 0%, #172c5c 36%, transparent 75%),
    radial-gradient(circle, #9fb9fa44 1px, transparent 1.2px) center / 1.55rem 1.55rem,
    #101728;
  color: #f8faff;
  line-height: 1.8;
}
.hero-layout { --hero-center: 41%; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: clamp(1.25rem, 5svh, 4.25rem); }
.hero-copy, .hero-art { grid-area: 1 / 1; }
.hero-copy { z-index: 1; justify-self: center; width: var(--hero-center); text-align: center; }
.eyebrow { display: inline-block; padding: .22rem .8rem; border: 1px solid #799cf059; border-radius: 2rem; background: #10172866; color: #dce5ff; font-size: .89rem; font-weight: 700; }
h1 { font-size: clamp(1.95rem, 3.12vw, 2.95rem); font-weight: 870; line-height: 1.24; letter-spacing: -.04em; margin-block: .72rem .88rem; }
h1 span { display: block; color: var(--accent); }
.hero-description { max-inline-size: 40ch; margin-inline: auto; color: #dce5ff; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem .75rem; margin-block-start: 1.45rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 3.15rem; padding: .48rem 1.22rem; border-radius: .62rem; font-weight: 800; transition: background-color .2s ease, transform .2s ease; }
.button:active { transform: translateY(.12rem); }
.primary { color: #102d78; background: #dce5ff; }
.primary:hover { background: #e1ebff; }
.secondary { border: 1px solid #5b74ab; color: #edf3ff; background: #192b53; }
.secondary:hover { background: #28427b; }

.hero-art { min-width: 0; }
.hero-devices, .hero-art figcaption { display: grid; grid-template-columns: minmax(0, 1fr) var(--hero-center) minmax(0, 1fr); }
.hero-devices { position: relative; isolation: isolate; align-items: center; }
.hero-routes { position: absolute; z-index: -1; inset: 0 18%; width: 64%; height: 100%; pointer-events: none; }
.route-outer { stroke: #89aaff; stroke-width: 1.25; opacity: .64; }
.route-inner { stroke: url(#relay-midline); stroke-width: 1.25; stroke-dasharray: 3 5; opacity: .8; }
.hero-phone { grid-row: 1; justify-self: center; width: min(100%, 23rem, max(10rem, (100svh - var(--header-height) - 8rem) / 1.5)); height: auto; filter: drop-shadow(0 .85rem 1.3rem #060d2880); }
.hero-phone-android { grid-column: 1; transform: rotate(4deg); }
.hero-phone-iphone { grid-column: 3; transform: rotate(-4deg); }
.hero-relay { position: absolute; inset: 11% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 2.6rem; aspect-ratio: 1; border: 1px solid #7598f3; border-radius: 50%; background: #213b76; box-shadow: 0 0 1.6rem #86a8ff45; }
.hero-relay .icon { width: 1.3rem; height: 1.3rem; color: #c8d9ff; }
.hero-art figcaption { padding: .3rem .4rem; color: #d2dfff; text-align: center; font-size: .88rem; }
.hero-art figcaption span { justify-self: center; padding: .16rem .7rem; border: 1px solid #799cf04d; border-radius: 1rem; background: #10172866; }
.hero-art figcaption span:last-child { grid-column: 3; }
.hero-art figcaption b { font-weight: 780; margin-inline-end: .3rem; color: #f4f7ff; }

.features { padding-block: clamp(2.7rem, 5.7vw, 5rem) clamp(1.3rem, 2.5vw, 2.35rem); }
.features h2 { margin-block-end: clamp(1.05rem, 2.4vw, 1.85rem); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: .85rem; }
.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .5fr);
  align-items: center;
  gap: clamp(.5rem, 1.75vw, 1.25rem);
  padding: clamp(1.05rem, 2.45vw, 1.95rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.feature-call {
  grid-row: span 2;
  grid-template: minmax(0, 1fr) auto / minmax(0, 1fr);
  gap: .55rem;
  background: radial-gradient(ellipse at 52% 30%, #cbdbff, transparent 64%), #eaf0ff;
}
.feature-message { background: radial-gradient(ellipse at 19% 49%, #e9f0ff, transparent 53%), var(--white); }
.feature-contacts { background: radial-gradient(ellipse at 17% 52%, #e4edff, transparent 50%), #f2f6ff; }
.feature-internet { grid-column: 1 / -1; background: radial-gradient(ellipse at 55% 65%, #dfeaff, transparent 72%), #f4f7ff; }
.feature-internet p { max-inline-size: 65ch; }
.feature-internet a { color: var(--primary); font-weight: 680; text-decoration: underline; text-underline-offset: .2em; }
.feature-card p { margin-block-start: .45rem; color: var(--muted); text-wrap: pretty; }
.feature-card h3 { display: flex; align-items: center; gap: .45em; }
.feature-icon { width: 1.1em; height: 1.1em; color: var(--primary); }
.feature-card img { width: min(100%, 9rem); height: auto; justify-self: center; filter: drop-shadow(0 .6rem .65rem #193d842b); transition: transform .24s ease; }
.feature-card:hover img { transform: translateY(-.22rem); }
.feature-call img { grid-row: 1; width: min(100%, 14.5rem); }

.privacy { margin-block-end: clamp(3.4rem, 7vw, 6.2rem); }
.privacy-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.85rem, 2.45vw, 1.6rem);
  padding: clamp(1rem, 2.7vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.privacy-icon { display: grid; place-items: center; width: clamp(2.8rem, 6vw, 3.6rem); aspect-ratio: 1; border-radius: .95rem; background: var(--primary); }
.privacy-icon .icon { width: 1.48rem; height: 1.48rem; color: #fff; }
.privacy h2 { font-size: clamp(1.17rem, 2vw, 1.55rem); }
.privacy p { margin-block-start: .35rem; color: var(--muted); text-wrap: pretty; }

.how { padding-block-end: clamp(3.6rem, 7vw, 6rem); }
.how h2 { margin-block-end: clamp(1.1rem, 2.7vw, 1.9rem); font-size: clamp(1.46rem, 2.3vw, 2rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; }
.steps li { min-width: 0; padding: 0 0 1.35rem; border-block-end: 1px solid var(--line); }
.step-art {
  display: block;
  width: 100%;
  height: clamp(10.5rem, 18vw, 13.75rem);
  object-fit: contain;
  padding: .5rem;
  margin-block-end: .8rem;
  border: 1px solid #dce6f7;
  border-radius: 1rem;
  background: radial-gradient(ellipse at 50% 65%, #dae7ff, transparent 83%), #f3f7ff;
}
.steps h3 { font-size: 1.19rem; }
.steps p { margin-block-start: .35rem; color: var(--muted); text-wrap: pretty; }

.audio-guides { margin-block-start: clamp(1.6rem, 4vw, 3.1rem); }
.guide-intro { margin-block-end: 1.05rem; }
.guide-intro h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.guide-intro p { max-inline-size: 65ch; margin-block-start: .3rem; color: var(--muted); text-wrap: pretty; }
.guide-cards { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: .7rem; }
.guide-card, .guide-figure { --guide-ink: #1646af; --guide-surface: #e9efff; --guide-line: #c5d4fa; }
.guide-card-shizuku, .guide-figure-shizuku { --guide-ink: #176252; --guide-surface: #e5f4f0; --guide-line: #c5e4da; }
.guide-card-usb, .guide-figure-usb { --guide-ink: #344f8f; --guide-surface: #edf0f9; --guide-line: #d4def3; }
.guide-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: clamp(.75rem, 2.1vw, 1.35rem);
  border: 1px solid var(--guide-line);
  border-radius: 1rem;
  background: var(--guide-surface);
  transition: border-color .2s ease, transform .2s ease;
}
.guide-card-wifi {
  grid-row: span 2;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  gap: .95rem;
  background: radial-gradient(circle at 82% 17%, #cfdeff, transparent 60%), var(--guide-surface);
}
.guide-card-wifi .guide-icon { grid-column: 1 / -1; width: 4.2rem; border-radius: 1.05rem; font-size: 1.6rem; }
.guide-card:hover { border-color: var(--guide-ink); }
.guide-card:active { transform: scale(.99); }
.guide-icon, .guide-arrow { color: var(--guide-ink); }
.guide-icon { display: grid; place-items: center; width: 2.85rem; aspect-ratio: 1; border-radius: .85rem; background: #fffc; font-size: 1.25rem; }
.guide-app-icon { width: 2.1rem; height: 2.1rem; }
.guide-arrow { transition: translate .2s ease; }
.guide-card:hover .guide-arrow { translate: .2rem; }
[dir="rtl"] .guide-card:hover .guide-arrow { translate: -.2rem; }
.guide-card-copy { line-height: 1.4; }
.guide-card-copy strong, .guide-card-copy small { display: block; }
.guide-card-copy strong { font-size: 1.1rem; }
.guide-card-wifi strong { font-size: clamp(1.17rem, 2.4vw, 1.65rem); }
.guide-card-copy small { margin-block-start: .25rem; color: var(--muted); font-size: .91rem; }

.guide-content > .guide-panel:not(:target) { display: none; }
.guide-content > .guide-panel:target { margin-block-start: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); scroll-margin-block-start: 1rem; }
.guide-dialog {
  width: min(58rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem #0a19364d;
}
.guide-dialog[open] { display: flex; flex-direction: column; }
.guide-dialog::backdrop { background: #0b1539b8; }
html:has(.guide-dialog[open]) { overflow: hidden; }
.guide-dialog-bar { display: flex; justify-content: end; flex: none; padding: .7rem clamp(.9rem, 3vw, 1.7rem) .2rem; }
.guide-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: .7rem;
  background: var(--soft-blue);
  color: var(--primary);
  cursor: pointer;
}
.guide-close .icon { width: 1.15rem; height: 1.15rem; }
.guide-close:hover { background: #dce7ff; }
.guide-dialog-body { overflow: auto; overscroll-behavior: contain; padding: 0 clamp(.9rem, 3vw, 1.7rem) clamp(.9rem, 3vw, 1.7rem); }
.guide-panel h4 { margin: 0 0 .95rem; font-size: clamp(1.35rem, 3vw, 1.95rem); line-height: 1.3; }
.guide-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(.9rem, 3vw, 1.5rem); align-items: start; }
.guide-figure {
  padding: clamp(.45rem, 1.3vw, .9rem);
  border: 1px solid var(--guide-line);
  border-radius: .95rem;
  background: radial-gradient(circle, var(--guide-line) 1px, transparent 1.2px) center / 1rem 1rem, var(--guide-surface);
  text-align: center;
}
.guide-drawing { direction: ltr; }
.guide-drawing { display: block; width: min(100%, 24rem); height: auto; margin-inline: auto; }
.guide-figure figcaption { margin: .25rem; color: var(--guide-ink); font-size: .86rem; line-height: 1.55; }
.guide-steps { display: grid; gap: .7rem; margin: 0; padding-inline-start: 1.5rem; }
.guide-steps li { padding-inline-start: .3rem; }
.guide-steps li::marker { color: var(--primary); font-weight: 800; }
.guide-steps p, .guide-note { color: var(--muted); font-size: .93rem; line-height: 1.65; }
.guide-steps :is(b, bdi), .guide-note :is(b, bdi) { color: var(--ink); font-weight: 680; }
.guide-note { margin-block: .9rem .3rem; padding: .55rem .8rem; border-inline-start: .2rem solid #9eb7f4; background: #f3f6ff; }
.guide-panel code { white-space: nowrap; }
.guide-source { color: var(--primary); text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
[dir="rtl"] .guide-steps { list-style-type: persian; }

.download-band {
  color: var(--white);
  background:
    radial-gradient(ellipse at 48% 100%, #3159bc50, transparent 68%),
    radial-gradient(circle, #b9ceff23 1px, transparent 1.2px) center / 1.55rem 1.55rem,
    #132653;
}
.download { padding-block: clamp(3.25rem, 4.75vw, 4.65rem); }
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: .5rem .9rem;
  margin-block-end: clamp(1.4rem, 3vw, 2.1rem);
}
.section-intro p { max-inline-size: 60ch; color: #dce7ff; text-wrap: pretty; }
.platforms { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: .9rem; }
.platform {
  --platform-muted: #46597e;
  --platform-icon: #e2ebff;
  --platform-accent: #1746b3;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(.8rem, 1.6vw, 1.15rem);
  min-width: 0;
  padding: clamp(1.2rem, 2.25vw, 1.85rem);
  border: 1px solid #dae6ff;
  border-radius: var(--radius);
  background: #f5f8ff;
  color: var(--ink);
}
.platform-ios {
  --platform-muted: #d5e1fc;
  --platform-icon: #ffffff17;
  --platform-accent: #dce7ff;
  border-color: #5872aa;
  background: linear-gradient(140deg, #293f76, #192d56);
  color: var(--white);
}
.platform-header { display: flex; align-items: center; gap: .85rem; }
.platform-header h3 { font-size: clamp(1.28rem, 2.2vw, 1.65rem); }
.platform-header p { color: var(--platform-muted); font-size: .91rem; }
.platform-icon { display: grid; flex: none; place-items: center; width: 3.35rem; aspect-ratio: 1; border-radius: .85rem; background: var(--platform-icon); color: var(--white); }
.platform-icon .icon { width: 2rem; height: 2rem; }
.platform-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; list-style: none; }
.platform-ios .platform-roles { grid-template-columns: minmax(0, 1fr); }
.platform-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  height: 100%;
  min-height: 4.4rem;
  padding: .65rem .85rem;
  border: 1px solid #b8caf4;
  border-radius: .8rem;
  background: #eaf0ff;
  color: #152f74;
  font-weight: 760;
  line-height: 1.4;
  transition: background-color .18s ease;
}
.platform-action:hover { background: #dbe6ff; }
.platform:not(.platform-ios) li:first-child .platform-action { border-color: #2047b0; background: #2047b0; color: var(--white); }
.platform:not(.platform-ios) li:first-child .platform-action:hover { background: #163790; }
.platform-action small { display: block; margin-block-start: .25rem; font-size: .81rem; font-weight: 560; }
.platform-brand { width: 1.65rem; height: 1.65rem; }
.platform-brand-github { color: #1f2328; }
.platform:not(.platform-ios) li:first-child .platform-brand-github { color: #fff; }
.platform-brand-testflight { border-radius: .38rem; }
.platform-release { display: inline-flex; justify-self: start; align-items: center; gap: .35rem; min-height: 2.75rem; color: var(--platform-accent); font-size: .9rem; font-weight: 680; }
.platform-release:hover { text-decoration: underline; text-underline-offset: .23em; }

@media (max-width: 52rem) {
  .section-intro, .platforms { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 31rem) {
  .platform-roles { grid-template-columns: minmax(0, 1fr); }
}

.faq-band {
  border-block-start: 1px solid #dce6f6;
  background: radial-gradient(ellipse at center top, #e2ecff, transparent 66%), #eff4fc;
}
.faq { padding-block: clamp(2.9rem, 6.25vw, 5rem); text-align: center; }
.faq h2 { margin-block-end: clamp(1.4rem, 3vw, 2.1rem); }
.faq-groups { display: grid; gap: .95rem; }
.faq-list { overflow: hidden; border: 1px solid #d8e3f6; border-radius: var(--radius); background: var(--white); }
.faq-list h3 { display: flex; align-items: center; justify-content: center; gap: .65rem; padding: .8rem clamp(.65rem, 2.3vw, 1.5rem); color: #253b6b; font-size: clamp(1rem, 2vw, 1.18rem); }
.faq-topic { display: grid; flex: none; place-items: center; width: 2.45rem; aspect-ratio: 1; border-radius: .72rem; background: #e8efff; color: #2850b3; }
.faq-list:nth-child(2) .faq-topic { background: #e1f1f0; color: #235d66; }
.faq-list details { border-block-start: 1px solid #e4ebf8; }
.faq-list summary {
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr) 1.85rem;
  align-items: center;
  gap: .45rem;
  min-height: 3.45rem;
  padding: .65rem clamp(.65rem, 2vw, 1.3rem);
  cursor: pointer;
  list-style: none;
  font-weight: 730;
  line-height: 1.5;
  transition: color .18s ease, background-color .18s ease;
}
.faq-list summary::before { content: ""; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; width: 1.85rem; aspect-ratio: 1; border-radius: .6rem; background: #eaf0fd; color: var(--primary); }
.faq-toggle .icon { width: 1rem; height: 1rem; transition: rotate .18s ease; }
.faq-list details[open] .faq-toggle .icon { rotate: 180deg; }
.faq-list summary:hover, .faq-list details[open] { color: var(--primary); background: #f5f8ff; }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-list p { margin-inline: auto; padding: .15rem 1rem 1rem; color: var(--muted); max-inline-size: 72ch; text-wrap: pretty; }
.faq-list a { color: var(--primary); text-decoration: underline; text-underline-offset: .22em; font-weight: 680; }

.project { padding-block: clamp(2.9rem, 5.6vw, 4.6rem); }
.project-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.project-section {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.project-support { border-color: #cddafa; background: radial-gradient(ellipse at top, #e1eaff, transparent 80%), #edf2ff; }
.project-heading { display: flex; align-items: start; gap: .75rem; margin-block-end: 1.2rem; }
.project-heading h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.project-heading p { margin-block-start: .28rem; color: var(--muted); text-wrap: pretty; }
.project-icon { display: grid; flex: none; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: .85rem; background: #e8efff; color: var(--primary); }
.project-support .project-icon { background: #d2e0ff; }
.project-icon .icon { width: 1.5rem; height: 1.5rem; }
.support-kind { font-size: 1.05rem; }
.support-kind + .wallets { margin-block-start: .6rem; }
.project-star { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-block-start: 1rem; padding-block-start: 1rem; border-block-start: 1px solid #cddafa; }
.wallets { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.wallet { min-width: 0; padding: .85rem 1rem; border: 1px solid #d7e2fa; border-radius: .9rem; background: var(--white); }
.wallet-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .5rem; }
.wallet-heading > .icon { color: var(--primary); }
.wallet-heading h4 { margin: 0; font-size: 1rem; line-height: 1.45; }
.wallet-assets { font-size: .79rem; font-weight: 690; color: #344c86; }
.wallet-address { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .7rem; margin-block-start: .45rem; }
.wallet-address code { flex: 1 1 20rem; min-width: 0; padding: .55rem .7rem; border-radius: .48rem; background: #f1f5fc; color: #162746; font-size: .79rem; line-height: 1.55; overflow-wrap: anywhere; user-select: all; }
.support-action { gap: .48rem; align-items: center; min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid #d7e2fa; border-radius: .62rem; background: #f4f7ff; color: #1d429b; font: 710 .9rem/1.5 var(--font-family); text-align: start; cursor: pointer; }
.support-action:not([hidden]) { display: inline-flex; }
.support-action:hover { border-color: #a9bdf0; background: #e9efff; }
.project-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.project-note { margin-block-start: .8rem; color: var(--muted); font-size: .86rem; line-height: 1.65; text-wrap: pretty; }

.footer { border-block-start: 1px solid var(--line); background: var(--white); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem clamp(1rem, 3vw, 2.35rem); padding-block: clamp(1.35rem, 3vw, 2.25rem); }
.footer-brand p { margin-block-start: .35rem; color: var(--muted); font-size: .92rem; }
.footer .brand { font-size: 1.2rem; }
.footer .brand img { width: 2rem; height: 2rem; border-radius: .55rem; }
.footer-nav { flex-wrap: wrap; column-gap: clamp(.65rem, 1.8vw, 1.3rem); font-size: .92rem; }
.footer-top { display: inline-flex; align-items: center; width: fit-content; min-height: 2.75rem; padding-inline: .78rem; border: 1px solid var(--line); border-radius: .65rem; white-space: nowrap; font-size: .9rem; font-weight: 730; }
.footer-top:hover { border-color: #b8c9fd; color: var(--primary); background: #f5f8ff; }
.footer-credit { padding-block: .55rem 1rem; border-block-start: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.footer-credit a { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 64rem) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-nav { grid-row: 2; grid-column: 1 / -1; border-block-start: 1px solid var(--line); padding-block-start: .55rem; }
}

@media (max-width: 58rem) {
  .wrap { width: calc(100% - 3rem); }
}

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .header { grid-template-columns: minmax(0, 1fr) auto; min-height: auto; gap: .39rem .55rem; padding-block: .45rem .4rem; }
  .header nav { grid-column: 1 / -1; grid-row: 2; max-width: 100%; justify-content: center; flex-wrap: wrap; font-size: .88rem; }
  .feature-grid, .steps, .project-actions { grid-template-columns: 1fr; }
  .feature-card, .feature-call { grid-row: auto; grid-template: auto / minmax(0, 1fr) minmax(0, .58fr); min-height: 9.5rem; }
  .feature-call img { grid-row: auto; width: min(100%, 9.4rem); }
  .steps { gap: 1rem; }
  .steps li { padding-block-end: 1.02rem; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 45rem) and (orientation: portrait), (max-width: 34rem) {
  .hero { --header-height: 6rem; }
  .hero-layout { padding-block: clamp(1rem, 3svh, 1.9rem); gap: .85rem; }
  .hero-copy, .hero-art { grid-area: auto; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.55rem); }
  .actions { margin-block-start: 1rem; }
  .hero .button { padding-inline: .85rem; }
  .hero-devices, .hero-art figcaption { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-phone { width: min(100%, 15rem, 22svh); }
  .hero-phone-iphone, .hero-art figcaption span:last-child { grid-column: 2; }
  .hero-routes { inset: 22% 20%; width: 60%; height: 56%; }
  .route-inner { stroke: #98b6ff; }
  .hero-relay { top: 50%; width: 2.15rem; }
  .hero-relay .icon { width: 1.08rem; height: 1.08rem; }
  .hero-art figcaption { font-size: .84rem; padding-inline: .25rem; }
}

@media (max-width: 32rem) {
  .guide-cards { grid-template-columns: minmax(0, 1fr); }
  .guide-card-wifi { grid-row: auto; grid-template: auto / auto minmax(0, 1fr) auto; gap: .8rem; }
  .guide-card-wifi .guide-icon { grid-column: auto; width: 2.85rem; border-radius: .85rem; font-size: 1.25rem; }
  .guide-card-wifi strong { font-size: 1.1rem; }
}

@media (max-width: 22rem) {
  .site-header .brand { font-size: 1.14rem; }
  .site-header .brand img { width: 2.25rem; height: 2.25rem; }
  .header nav { padding: .1rem; font-size: .84rem; }
  .header nav a { padding-inline: .28rem; }
  .header-actions { gap: .35rem; }
  .header-action { padding-inline: .4rem; font-size: .8rem; }
}

@media (max-width: 45rem) and (orientation: portrait) and (max-height: 42rem), (max-width: 34rem) and (max-height: 42rem) {
  .hero-layout { gap: .55rem; padding-block: .75rem; }
  .hero h1 { font-size: clamp(1.45rem, 6.3vw, 1.75rem); margin-block: .4rem .55rem; }
  .hero-description { font-size: .925rem; line-height: 1.55; }
  .hero .button { min-height: 2.75rem; padding-inline: .65rem; font-size: .9rem; }
  .hero-phone { width: min(100%, 18svh); }
  .hero-art figcaption { font-size: .75rem; line-height: 1.5; }
  .hero-art figcaption span { padding-inline: .38rem; }
  .actions { margin-block-start: .7rem; }
}

@media (max-width: 22rem) and (max-height: 42rem) {
  .hero-layout { gap: .45rem; padding-block: .6rem; }
  .hero h1 { font-size: 1.32rem; }
  .hero-description { font-size: .85rem; }
  .hero .button { padding-inline: .5rem; font-size: .81rem; }
  .hero-phone { width: min(100%, 17svh); }
}

@media (min-width: 34.01rem) and (max-height: 36rem) and (orientation: landscape) {
  .hero-layout { --hero-center: 49%; padding-block: .55rem; }
  .hero h1 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-block: .35rem .5rem; }
  .hero-description { font-size: .88rem; line-height: 1.5; }
  .hero-phone { width: min(100%, max(6rem, (100svh - var(--header-height) - 4rem) / 1.5)); }
  .hero-art figcaption { font-size: .75rem; line-height: 1.45; }
  .hero-art figcaption span { padding-inline: .45rem; }
  .actions { margin-block-start: .6rem; }
  .hero .button { min-height: 2.75rem; padding-inline: .65rem; font-size: .875rem; }
  .hero-relay { display: none; }
}

@media (min-width: 34.01rem) and (max-width: 45rem) and (orientation: landscape) {
  .header { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 3.85rem; padding-block: .18rem; }
  .header nav { grid-area: 1 / 2; font-size: .79rem; }
  .header nav a { padding-inline: .38rem; }
  .header-actions .icon { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-art { animation: enter .55s ease-out both; }
  .hero-art { animation-delay: .1s; }
  .route-inner { animation: relay-dash 1.25s linear 3; }
  .guide-dialog[open] { animation: enter .22s ease-out both; }
}

@keyframes enter {
  from { opacity: 0; translate: 0 .6rem; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes relay-dash {
  to { stroke-dashoffset: -16; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .feature-card img, summary, .guide-card, .guide-arrow, .platform-action, .faq-toggle .icon { transition: none; }
  .button:active, .feature-card:hover img, .guide-card:active { transform: none; }
  .guide-card:hover .guide-arrow { translate: none; }
}
