:root{
  --bg:#1b1b1e;
  --bg-2:#222226;
  --card:#26262b;
  --line:rgba(255,255,255,.09);
  --text:#f4f3f6;
  --muted:#a9a6b2;
  --purple:#a768d8;
  --purple-2:#a261d2;
  --purple-soft:rgba(167,104,216,.14);
  --radius:18px;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
a{color:var(--purple);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}

/* Header */
.site-header{position:sticky;top:0;z-index:10;background:rgba(27,27,30,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:68px;gap:24px}
.brand{display:flex;align-items:center;gap:12px}
.brand:hover{text-decoration:none}
.brand .mark{height:34px;width:auto}
.brand .word{height:22px;width:auto}
.nav{display:flex;gap:26px;font-size:14.5px}
.nav a{color:var(--muted)}
.nav a:hover,.nav a.active{color:var(--text);text-decoration:none}
@media (max-width:820px){.nav{display:none}}

/* Hero */
.hero{padding:88px 0 72px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;right:-180px;top:-140px;width:620px;height:620px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(167,104,216,.22),transparent);pointer-events:none}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;position:relative}
.eyebrow{display:inline-block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--purple);
  background:var(--purple-soft);border:1px solid rgba(167,104,216,.3);padding:5px 12px;border-radius:999px;margin-bottom:22px}
h1{font-size:clamp(34px,4.6vw,54px);line-height:1.12;margin:0 0 20px;font-weight:700;letter-spacing:-.02em}
h1 .accent{color:var(--purple)}
.lead{font-size:18px;color:var(--muted);margin:0 0 32px;max-width:600px}
.cta{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:12px;font-weight:600;font-size:15px;border:1px solid transparent}
.btn:hover{text-decoration:none}
.btn-primary{background:linear-gradient(135deg,var(--purple),var(--purple-2));color:#fff}
.btn-primary:hover{filter:brightness(1.08)}
.btn-ghost{border-color:var(--line);color:var(--text)}
.btn-ghost:hover{background:var(--bg-2)}
.hero-logo{max-width:400px;margin-left:auto}
@media (max-width:860px){.hero .wrap{grid-template-columns:1fr}.hero-logo{max-width:260px;margin:0;order:-1}}

/* Sections */
section{padding:72px 0;border-top:1px solid var(--line)}
.section-head{max-width:720px;margin-bottom:40px}
h2{font-size:clamp(26px,3vw,34px);line-height:1.2;margin:0 0 12px;font-weight:700;letter-spacing:-.01em}
.section-head p{color:var(--muted);margin:0;font-size:17px}
h3{font-size:19px;margin:0 0 8px;font-weight:600}

.grid{display:grid;gap:20px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:860px){.grid-2,.grid-3{grid-template-columns:1fr}}

.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.card p{color:var(--muted);margin:0 0 12px}
.card p:last-child{margin-bottom:0}
.card ul{margin:10px 0 0;padding-left:20px;color:var(--muted)}
.card li{margin:4px 0}
.card .icon{width:44px;height:44px;border-radius:12px;background:var(--purple-soft);display:grid;place-items:center;margin-bottom:18px}
.card .icon svg{width:22px;height:22px;stroke:var(--purple);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tag{display:inline-block;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;margin-right:6px;vertical-align:middle}
.tag-read{background:rgba(255,255,255,.08);color:var(--text)}
.tag-write{background:var(--purple-soft);color:var(--purple)}

/* Steps */
.steps{counter-reset:step}
.step{position:relative;padding-left:64px}
.step::before{counter-increment:step;content:counter(step);position:absolute;left:28px;top:28px;width:24px;height:24px;
  border-radius:50%;background:var(--purple);color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center}
.step.card{padding-left:68px}

/* Table */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}
table{width:100%;border-collapse:collapse;font-size:15px}
th,td{text-align:left;padding:16px 20px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;background:var(--bg-2)}
tr:last-child td{border-bottom:0}
#google-data td:first-child{width:38%}
#google-data td code{word-break:normal;overflow-wrap:anywhere}
td code,p code,li code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;color:#d9c3ee;
  background:rgba(167,104,216,.1);padding:2px 6px;border-radius:6px;word-break:break-all}
td .muted{color:var(--muted)}

.notice{border:1px solid rgba(167,104,216,.4);background:linear-gradient(135deg,rgba(167,104,216,.12),rgba(167,104,216,.04));
  border-radius:var(--radius);padding:28px 30px}
.notice p{margin:0}
.notice p + p{margin-top:10px;color:var(--muted);font-size:15px}

.checklist{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.checklist li{display:flex;gap:14px;align-items:flex-start;color:var(--muted)}
.checklist li strong{color:var(--text);font-weight:600}
.checklist li::before{content:"";flex:0 0 22px;height:22px;margin-top:2px;border-radius:50%;
  background:var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a768d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat}

/* Legal pages */
.legal{padding:64px 0 80px}
.legal .wrap{max-width:820px}
.legal h1{font-size:clamp(32px,4vw,44px)}
.legal .meta{color:var(--muted);margin:0 0 40px;font-size:15px}
.legal h2{font-size:22px;margin:44px 0 12px}
.legal h3{font-size:17px;margin:26px 0 8px}
.legal p,.legal li{color:#d4d2da}
.legal ul{padding-left:22px}
.legal li{margin:6px 0}
.legal .table-wrap{margin:16px 0}
.toc{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px 26px;margin:0 0 20px}
.toc ol{margin:8px 0 0;padding-left:20px;columns:2;column-gap:32px;font-size:15px}
@media (max-width:640px){.toc ol{columns:1}}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:48px 0 40px;color:var(--muted);font-size:14.5px}
.site-footer .top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;margin-bottom:32px}
.site-footer .links{display:flex;flex-wrap:wrap;gap:22px}
.site-footer .links a{color:var(--muted)}
.site-footer .links a:hover{color:var(--text)}
.family{display:flex;align-items:center;gap:10px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--text)}
.family svg{height:16px;width:auto}
.site-footer .bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:24px;font-size:13.5px}
