:root {
  color-scheme: light dark;
  --bg: #f4f6f8;
  --surface: #fcfdfe;
  --surface-2: #e9eef2;
  --text: #101418;
  --muted: #53606b;
  --line: #d3dbe1;
  --accent: #0071e3;
  --accent-strong: #0058b0;
  --button-text: #f7fbff;
  --shadow: 0 24px 70px rgba(25, 55, 78, .14);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161a;
    --surface: #191f24;
    --surface-2: #232b31;
    --text: #f2f5f7;
    --muted: #aeb9c1;
    --line: #303a42;
    --accent: #409cff;
    --accent-strong: #72b6ff;
    --button-text: #07111a;
    --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 20; transform: translateY(-160%); background: var(--surface); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px) saturate(145%); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: 15px; font-weight: 650; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: var(--button-text); text-decoration: none; font-weight: 750; white-space: nowrap; transition: transform .2s ease, background-color .2s ease; }
.button:hover { background: var(--accent-strong); }
.button:active { transform: scale(.98); }
.button-small { min-height: 40px; padding-inline: 18px; }
.menu { display: none; position: relative; }
.menu summary { cursor: pointer; list-style: none; font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }
.menu div { position: absolute; right: 0; top: 42px; min-width: 210px; padding: 12px; display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.menu div a { padding: 10px 12px; border-radius: 9px; text-decoration: none; }

.hero { min-height: calc(100dvh - 68px); display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(36px, 6vw, 88px); padding-block: clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.hero-kicker { margin: 0 0 18px; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: -.04em; line-height: 1.03; }
h1 { margin: 0; font-size: clamp(46px, 5.7vw, 76px); max-width: 11ch; }
.hero-copy > p:not(.hero-kicker) { max-width: 530px; margin: 24px 0 30px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.text-link { color: var(--accent-strong); font-weight: 720; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 15%, var(--surface)); }
.hero-shot { position: relative; z-index: 1; width: min(340px, 70vw); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(3deg); }
.hero-icon { position: absolute; z-index: 2; left: 4%; bottom: 12%; width: 118px; border-radius: 25px; box-shadow: var(--shadow); transform: rotate(-7deg); }

.trust-strip { border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-grid p { margin: 0; padding: 27px 24px; border-right: 1px solid var(--line); }
.trust-grid p:first-child { padding-left: 0; }
.trust-grid p:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid span { color: var(--muted); font-size: 14px; }

.section { padding-block: clamp(80px, 11vw, 148px); }
.section-header { max-width: 730px; margin-bottom: 46px; }
.section-header h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); }
.section-header p { margin: 20px 0 0; max-width: 620px; color: var(--muted); font-size: 19px; }

.screenshots { overflow: hidden; }
.shot-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 300px); gap: 22px; overflow-x: auto; padding: 12px max(20px, calc((100vw - 1180px) / 2)) 42px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shot-track img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); scroll-snap-align: start; }

.steps { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.step-feature { min-height: 550px; padding: clamp(30px, 5vw, 62px); display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--radius); background: var(--accent); color: var(--button-text); }
.step-feature h3 { margin: 0; max-width: 9ch; font-size: clamp(42px, 6vw, 72px); }
.step-feature p { max-width: 430px; margin: 24px 0 0; font-size: 19px; }
.step-list { display: grid; gap: 18px; }
.step-list article { padding: 28px 0; border-top: 1px solid var(--line); }
.step-list h3 { margin: 0 0 10px; font-size: 29px; }
.step-list p { margin: 0; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.guide-card { grid-column: span 4; min-height: 280px; }
.guide-card:nth-child(1), .guide-card:nth-child(5) { grid-column: span 8; }
.guide-card a { height: 100%; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.guide-card a:hover { transform: translateY(-4px); border-color: var(--accent); }
.guide-card h3 { margin: 0; font-size: clamp(25px, 3vw, 38px); }
.guide-card p { margin: 18px 0 28px; color: var(--muted); }
.guide-card span { color: var(--accent-strong); font-weight: 750; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 7vw, 96px); align-items: start; }
.faq-layout h2 { position: sticky; top: 112px; margin: 0; font-size: clamp(42px, 5vw, 64px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font-size: 23px; }
.faq-item p { margin: 12px 0 14px; color: var(--muted); }
.learn { color: var(--accent-strong); font-weight: 750; }

.final-cta { padding-block: 36px 110px; }
.cta-panel { min-height: 440px; padding: clamp(38px, 7vw, 82px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 44px; border-radius: var(--radius); background: var(--surface-2); }
.cta-panel img { width: 132px; border-radius: 28px; box-shadow: var(--shadow); }
.cta-panel h2 { margin: 22px 0 16px; max-width: 730px; font-size: clamp(43px, 6vw, 76px); }
.cta-panel p { max-width: 560px; margin: 0; color: var(--muted); font-size: 19px; }

.footer { padding-block: 56px 38px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 38px; }
.footer h2 { margin: 0; font-size: 22px; }
.footer h3 { margin: 0 0 15px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer p { max-width: 320px; color: var(--muted); }
.footer nav { display: grid; gap: 9px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Guide pages */
.guide-hero { padding-block: clamp(64px, 10vw, 120px) 54px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { text-underline-offset: 4px; }
.guide-hero h1 { max-width: 900px; font-size: clamp(42px, 6vw, 76px); }
.guide-hero > p { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 21px; }
.guide-meta { font-size: 14px !important; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); justify-content: space-between; gap: 70px; padding-block: 54px 110px; border-top: 1px solid var(--line); }
.guide-toc { position: sticky; top: 102px; align-self: start; }
.guide-toc p { margin: 0 0 12px; font-weight: 800; }
.guide-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.guide-toc a { text-underline-offset: 3px; }
.guide-content section { scroll-margin-top: 100px; margin-bottom: 62px; }
.guide-content h2 { margin: 0 0 22px; font-size: clamp(32px, 4vw, 46px); }
.guide-content h3 { margin: 34px 0 12px; font-size: 25px; }
.guide-content p, .guide-content li { color: var(--muted); }
.guide-content ul, .guide-content ol { padding-left: 24px; }
.guide-content li + li { margin-top: 9px; }
.example { margin: 30px 0; padding: 28px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface); }
.example h3 { margin-top: 0; }
.guide-cta { padding: 32px; border-radius: var(--radius); background: var(--surface-2); }
.guide-cta h2 { font-size: 34px; }
.disclaimer { font-size: 14px; }

@media (max-width: 900px) {
  .nav-links > a:not(.button) { display: none; }
  .menu { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 14px; }
  .hero-visual { min-height: 570px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid p:nth-child(2) { border-right: 0; }
  .trust-grid p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .faq-layout, .cta-panel, .footer-top, .guide-layout { grid-template-columns: 1fr; }
  .faq-layout h2, .guide-toc { position: static; }
  .guide-card, .guide-card:nth-child(1), .guide-card:nth-child(5) { grid-column: span 6; }
  .guide-toc { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .nav { min-height: 62px; }
  .brand span { display: none; }
  .nav-links { gap: 12px; }
  .button-small { min-height: 38px; padding-inline: 14px; }
  .hero { padding-block: 40px 64px; gap: 20px; }
  .hero-visual { min-height: 490px; }
  .hero-shot { width: 270px; }
  .hero-icon { left: 0; width: 92px; border-radius: 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid p { padding-inline: 0; border-right: 0; border-top: 1px solid var(--line); }
  .trust-grid p:first-child { border-top: 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card, .guide-card:nth-child(1), .guide-card:nth-child(5) { grid-column: auto; min-height: 240px; }
  .step-feature { min-height: 420px; }
  .cta-panel { min-height: 0; }
  .footer-top { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-shot, .hero-icon { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; }
}
