/* volleyfy.com - one stylesheet for every page.
   Dark, editorial layout; the app's navy and green; Windows' own Segoe UI Variable where available. */
:root {
  --ink: #eef3f7;
  --text: #b8c5d0;
  --muted: #8494a2;
  --line: #23303c;
  --soft: #111a22;
  --paper: #0b1218;
  --navy: #15212c;
  --navy-2: #1b2a37;
  --green: #10b981;
  --green-ink: #3ddc97;
  --gold: #e3a52b;
  --blue: #6aa3ff;
  --radius: 10px;
  --wrap: 1160px;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 0.45em; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 650; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #04150e; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; z-index: 20; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11, 18, 24, 0.9); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 66px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 700 1.2rem/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav a.btn-dark, .nav a.btn-dark:hover { color: #04150e; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 18px; } .site-header .wrap { gap: 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn-dark { background: var(--green); color: #04150e; }
.btn-dark:hover { background: #34d39e; color: #04150e; }
.btn-green { background: var(--green); color: #04150e; }
.btn-green:hover { background: #34d39e; color: #04150e; }
.btn-line { border-color: #3a4a58; color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--muted); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 0.92rem; }
.btn small { font-weight: 400; opacity: 0.75; }
.btn[disabled] { background: var(--soft); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.win { width: 15px; height: 15px; flex: none; }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--text); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.93rem; }
.facts li { position: relative; padding-left: 14px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.media { margin: 0; }
.media video, .media img { width: 100%; border-radius: var(--radius); background: var(--navy); aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -20px rgba(0, 0, 0, 0.7); }
.media figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }

/* Before / after figure */
.cut { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); padding: 44px 0; }
.cut-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px 40px; align-items: center; }
.cut-label { font-family: var(--display); color: var(--ink); }
.cut-label b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cut-label span { font-size: 0.92rem; color: var(--muted); }
.bar { height: 22px; border-radius: 4px; background: #2c3b48; position: relative; overflow: hidden; }
.bar.play { background: var(--green); }
.bar.raw { background: #2c3b48; }
.cut-note { grid-column: 2; font-size: 0.9rem; color: var(--muted); margin: 4px 0 0; }
@media (max-width: 700px) { .cut-grid { grid-template-columns: 1fr; gap: 8px; } .cut-note { grid-column: 1; } .cut-label b { font-size: 1.5rem; } .bar { margin-bottom: 16px; } }

/* Sections */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { font-size: 1.12rem; }
.kicker { font: 600 0.9rem/1 var(--display); color: var(--green-ink); margin: 0 0 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 2px solid var(--green); padding-top: 20px; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font: 600 0.9rem/1 var(--display); color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps p { margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 96px; }
.row.flip > :first-child { order: 2; }
.row ul { padding-left: 1.1em; margin: 0; }
.row li { margin-bottom: 0.35em; }
.score-shot { background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0; }
.score-shot { display: flex; flex-direction: column; align-items: center; padding: 40px 28px 24px; }
.score-shot img { border-radius: 6px; width: 100%; max-width: 400px; }
.score-shot p { color: #9fb0bf; font-size: 0.86rem; margin: 14px 0 0; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: 28px; } .row.flip > :first-child { order: 0; } .row + .row { margin-top: 64px; } }

/* Timeline graphic (a real rally pattern, drawn) */
.timeline { background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; color: #c7d3dd; font-size: 0.85rem; }
.timeline .track { display: flex; height: 34px; border-radius: 4px; overflow: hidden; background: #2a3c4c; margin: 10px 0 20px; }
.timeline .track i { display: block; background: var(--green); }
.timeline .track i.gap { background: transparent; }
.timeline .track i.check { background: var(--gold); }
.timeline .legend { display: flex; gap: 20px; flex-wrap: wrap; }
.timeline .legend span { display: inline-flex; align-items: center; gap: 7px; }
.timeline .legend span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--green); }
.timeline .legend span.l-gap::before { background: #2a3c4c; outline: 1px solid #3c5163; }
.timeline .legend span.l-check::before { background: var(--gold); }
.timeline .head { display: flex; justify-content: space-between; color: #fff; font-weight: 600; }

/* Detail list */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin: 0; }
.details div { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.details dt { font: 650 1.05rem/1.3 var(--display); color: var(--ink); margin-bottom: 6px; }
.details dd { margin: 0; color: var(--text); }
@media (max-width: 900px) { .details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .details { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); max-width: 920px; }
.plan { padding: 34px 36px 32px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.pro { background: #0f1c1a; box-shadow: inset 0 3px 0 var(--green); }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .who { color: var(--muted); margin: 0 0 18px; font-size: 0.97rem; }
.price { font-family: var(--display); color: var(--ink); font-size: 2.7rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.price s { font-size: 1.25rem; font-weight: 500; color: var(--muted); }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tag { display: inline-block; font: 600 0.78rem/1 var(--body); color: var(--green-ink); background: rgba(16, 185, 129, 0.14); padding: 5px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 3px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 10px; height: 5px; border-left: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: rotate(-45deg); }
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; height: 2px; width: 10px; background: #4a5a68; transform: none; top: 21px; }
.plan .btn { align-self: flex-start; }
.plan .fine { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font: 600 1.05rem/1.4 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { margin: 0 0 20px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 12px; } }

/* Android band and closing call to action */
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 26px 30px; }
.band p { margin: 0; }
.closing { background: var(--soft); border-top: 1px solid var(--line); color: var(--text); padding: 80px 0; }
.closing h2 { color: #fff; }
.closing .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.closing p { margin: 0; font-size: 1.1rem; }
@media (max-width: 760px) { .closing .wrap { grid-template-columns: 1fr; } }

/* Plain pages: legal, support, download */
.page { padding: 60px 0 96px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.page h2 { font-size: 1.35rem; margin-top: 2.1em; }
.page h3 { font-size: 1.08rem; margin-top: 1.7em; }
.page .lead { font-size: 1.15rem; }
.page ul, .page ol { padding-left: 1.3em; }
.page li { margin-bottom: 0.45em; }
.page code { font-size: 0.92em; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.eyebrow { font: 600 0.9rem/1 var(--display); color: var(--green-ink); margin: 0 0 14px; }
.updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 2.2em; }
.callout { border-left: 3px solid var(--green); background: var(--soft); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 1.5em 0; }
.callout p:last-child { margin: 0; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin: 26px 0; }
.card .btn { margin-bottom: 12px; }
.muted { color: var(--muted); }
table.spec { width: 100%; border-collapse: collapse; margin: 1em 0; }
table.spec th, table.spec td { text-align: left; padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.spec th { color: var(--ink); font-weight: 600; width: 34%; padding-right: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 0.93rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font: 600 0.92rem/1 var(--display); color: var(--ink); margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid .brand { margin-bottom: 12px; }
.foot-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
