/* Grathus Play! — sistema visual (claro / premium) */
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@500;600;700;800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: oklch(0.992 0.004 95);
  --bg-2: oklch(0.975 0.006 90);
  --surface: #ffffff;
  --surface-2: oklch(0.978 0.006 90);
  --ink: oklch(0.24 0.018 285);
  --ink-2: oklch(0.42 0.02 285);
  --muted: oklch(0.56 0.018 285);
  --line: oklch(0.91 0.006 285);
  --line-2: oklch(0.86 0.008 285);

  --accent: oklch(0.55 0.17 280);
  --accent-deep: oklch(0.46 0.16 280);
  --accent-soft: oklch(0.955 0.03 285);
  --accent-ring: oklch(0.55 0.17 280 / 0.22);

  --gold: oklch(0.80 0.12 78);
  --gold-deep: oklch(0.62 0.11 70);
  --gold-soft: oklch(0.96 0.035 85);

  --ok: oklch(0.62 0.14 155);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.03 285 / 0.06), 0 2px 6px oklch(0.4 0.03 285 / 0.05);
  --shadow-md: 0 4px 14px oklch(0.4 0.03 285 / 0.08), 0 12px 34px oklch(0.4 0.03 285 / 0.07);
  --shadow-lg: 0 18px 50px oklch(0.35 0.04 285 / 0.14);
  --shadow-accent: 0 10px 30px oklch(0.55 0.17 280 / 0.28);

  --maxw: 1180px;
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 16px; border-radius: 999px; padding: 14px 26px; transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 14px 36px oklch(0.55 0.17 280 / 0.34); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-deep); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn .i { width: 18px; height: 18px; }

/* ---- Header ---- */
.hdr { position: sticky; top: 0; z-index: 40; background: oklch(0.992 0.004 95 / 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; box-shadow: var(--shadow-accent); }
.brand-mark svg { width: 17px; height: 17px; margin-left: 2px; fill: #fff; }
.brand b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; margin-left: 20px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav a:hover { color: var(--accent); }
.nav-account { display: inline-flex; align-items: center; gap: 5px; }
.nav-account svg { width: 14px; height: 14px; opacity: .7; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* ---- Region picker ---- */
.region-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: box-shadow .15s; }
.region-btn:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.region-btn .flag { font-size: 17px; line-height: 1; }
.region-btn .chev { width: 15px; height: 15px; color: var(--muted); }
.region-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 268px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; z-index: 60; border: 1px solid var(--line); }
.region-pop h4 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 6px 8px 8px; }
.region-opt { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 10px; border-radius: 11px; text-align: left; font-size: 15px; font-weight: 500; color: var(--ink); transition: background .12s; }
.region-opt:hover { background: var(--surface-2); }
.region-opt.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.region-opt .flag { font-size: 19px; }
.region-opt .cur { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.region-opt.active .cur { color: var(--accent); }
.region-note { font-size: 12.5px; color: var(--muted); padding: 8px 9px 4px; line-height: 1.4; }
.region-wrap { position: relative; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 54px 0 86px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(70% 80% at 88% -8%, var(--accent-soft), transparent 60%),
    radial-gradient(50% 60% at 4% 8%, var(--gold-soft), transparent 55%);
  z-index: 0; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--accent-deep); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px oklch(0.62 0.14 155 / 0.16); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; margin: 22px 0 0; white-space: pre-line; }
.hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); margin-top: 22px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero-trust .i { width: 17px; height: 17px; color: var(--accent); }

/* hero visual */
.hero-art { position: relative; }
.screen-frame { border-radius: var(--radius-lg); background: linear-gradient(150deg, #fff, var(--surface-2)); box-shadow: var(--shadow-lg); padding: 12px; border: 1px solid var(--line); transform: rotate(0.6deg); }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 6px 6px 12px; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.screen-bar i:nth-child(2){ background: var(--gold); } .screen-bar i:nth-child(3){ background: var(--ok); } .screen-bar i:first-child{ background: oklch(0.7 0.13 25); }
.screen-ui { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 6px; }
.su-feature { position: relative; height: 172px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: flex; align-items: flex-end; padding: 16px; }
.su-feature::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 82% 8%, hsl(45 92% 70% / 0.42), transparent 60%); }
.su-tag { position: absolute; top: 14px; left: 16px; z-index: 2; white-space: nowrap; background: rgba(255,255,255,0.22); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.su-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.94); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.su-play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--accent-deep); }
.su-lines { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.su-lines span { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.9); }
.su-lines span:first-child { width: 128px; }
.su-lines span:last-child { width: 80px; height: 7px; background: rgba(255,255,255,0.55); }
.su-rowlabel { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-2); padding: 0 4px; }
.su-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.su-tile { aspect-ratio: 2/3; border-radius: 9px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.su-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(255,255,255,0.2), transparent 52%); }
.hero-chip { position: absolute; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); }
.hero-chip .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.hero-chip .ic .i { width: 19px; height: 19px; }
.hero-chip b { font-family: var(--font-display); font-size: 14px; display: block; white-space: nowrap; }
.hero-chip > div { min-width: 0; }
.hero-chip small { font-size: 12px; color: var(--muted); }
.hero-chip.c1 { top: -18px; left: -26px; }
.hero-chip.c1 .ic { background: var(--accent-soft); } .hero-chip.c1 .i { color: var(--accent); }
.hero-chip.c2 { bottom: -20px; right: -22px; }
.hero-chip.c2 .ic { background: var(--gold-soft); } .hero-chip.c2 .i { color: var(--gold-deep); }

/* ---- Catalog ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cat-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; }
.cat-ic .i { width: 26px; height: 26px; color: var(--accent); }
.cat-live { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: oklch(0.62 0.2 25); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; padding: 6px 11px; border-radius: 999px; }
.cat-card h3 { font-size: 22px; font-weight: 700; }
.cat-tag { color: var(--muted); font-size: 15px; margin-top: 5px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* ---- How it works ---- */
.how { background: var(--bg-2); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.how-step { background: var(--surface); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.how-num { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-bottom: 18px; }
.how-step:last-child .how-num { background: var(--gold-soft); color: var(--gold-deep); }
.how-step h3 { font-size: 19px; font-weight: 700; }
.how-step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.how-step .arrow { position: absolute; right: -16px; top: 44px; color: var(--line-2); width: 20px; height: 20px; z-index: 2; }

/* ---- Devices ---- */
.dev-row { display: flex; gap: 16px; flex-wrap: wrap; }
.dev-card { flex: 1 1 160px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.dev-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dev-card .i { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 14px; display: block; }
.dev-card span { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; }

/* ---- Plans ---- */
.plans { background: var(--bg-2); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px 24px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.popular { border: 2px solid var(--accent); box-shadow: var(--shadow-md); transform: translateY(-8px); }
.plan.popular:hover { transform: translateY(-12px); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-accent); white-space: nowrap; }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.plan-price { display: flex; align-items: baseline; gap: 3px; margin: 16px 0 4px; }
.plan-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 38px; letter-spacing: -0.03em; }
.plan-price .per { color: var(--muted); font-size: 15px; font-weight: 600; }
.plan-trial { font-size: 13px; color: var(--accent-deep); font-weight: 600; min-height: 20px; }
.plan-feats { list-style: none; padding: 0; margin: 22px 0 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-feats li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.plan-feats li .i { width: 18px; height: 18px; flex: none; color: var(--ok); }
.plan-feats li.off { color: var(--muted); opacity: 0.62; }
.plan-feats li.off .i { color: var(--line-2); }
.plan-feats li b { color: var(--ink); font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq-q .i { width: 20px; height: 20px; color: var(--accent); transition: transform .22s; flex: none; }
.faq-item.open .faq-q .i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-in { padding: 0 4px 22px; color: var(--muted); font-size: 16px; max-width: 680px; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 80% 0%, oklch(0.8 0.12 78 / 0.35), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; }
.cta-band p { color: oklch(0.96 0.02 285); font-size: 18px; margin: 14px auto 28px; max-width: 520px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); box-shadow: 0 12px 30px oklch(0.2 0.02 285 / 0.25); }
.cta-band .btn-primary:hover { background: var(--gold-soft); }

/* ---- Footer ---- */
.ftr { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.ftr .tag { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 280px; }
.ftr h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ftr a { display: block; color: var(--ink-2); font-size: 15px; padding: 6px 0; transition: color .15s; }
.ftr a:hover { color: var(--accent); }
.ftr-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }

/* ---- Signup modal ---- */
.modal-scrim { position: fixed; inset: 0; background: oklch(0.3 0.03 285 / 0.42); backdrop-filter: blur(5px); z-index: 100; display: grid; place-items: center; padding: 24px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: pop .26s cubic-bezier(.2,.9,.3,1.1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-head { position: sticky; top: 0; background: oklch(0.992 0.004 95 / 0.9); backdrop-filter: blur(8px); padding: 20px 26px 16px; border-bottom: 1px solid var(--line); z-index: 2; }
.modal-top { display: flex; align-items: center; justify-content: space-between; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: background .15s; }
.modal-close:hover { background: var(--surface-2); }
.modal-close .i { width: 18px; height: 18px; }
.modal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.modal-back .i { width: 16px; height: 16px; }
.modal-body { padding: 26px; }
.modal-body h3 { font-size: 24px; font-weight: 800; }
.modal-body .msub { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* steps progress */
.steps { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.steps .st { display: flex; align-items: center; gap: 8px; flex: 1; }
.steps .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; font-family: var(--font-display); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); flex: none; transition: all .2s; }
.steps .dot .i { width: 13px; height: 13px; }
.steps .st.active .dot { background: var(--accent); color: #fff; box-shadow: none; }
.steps .st.done .dot { background: var(--ok); color: #fff; box-shadow: none; }
.steps .lbl { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.steps .st.active .lbl { color: var(--ink); }
.steps .bar { height: 2px; flex: 1; background: var(--line-2); border-radius: 2px; }
.steps .st.done .bar { background: var(--ok); }

/* plan summary card */
.sum-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sum-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sum-top .pn { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.sum-top .pp { text-align: right; }
.sum-top .pp .amt { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.sum-top .pp .per { color: var(--muted); font-size: 14px; }
.sum-feats { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.sum-feats li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.sum-feats li .i { width: 17px; height: 17px; color: var(--ok); flex: none; }
.link-btn { background: none; color: var(--accent); font-weight: 600; font-size: 14px; padding: 4px 0; }
.link-btn:hover { text-decoration: underline; }

/* forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.field input::placeholder { color: oklch(0.7 0.01 285); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field.err input { border-color: oklch(0.62 0.2 25); }
.field .errmsg { font-size: 12.5px; color: oklch(0.55 0.2 25); margin-top: 6px; display: none; }
.field.err .errmsg { display: block; }
.field .input-pre { position: relative; }
.field .input-pre input { padding-left: 38px; }
.field .input-pre .pre { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.secure-note { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; background: var(--surface-2); padding: 11px 14px; border-radius: var(--radius-sm); }
.secure-note .i { width: 18px; height: 18px; color: var(--ok); }
.card-brands { display: flex; gap: 6px; margin-left: auto; }
.card-brands span { font-size: 10px; font-weight: 800; font-family: var(--font-display); color: var(--muted); letter-spacing: .03em; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; }

.trial-line { display: flex; align-items: center; gap: 10px; background: var(--accent-soft); color: var(--accent-deep); padding: 13px 15px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin: 4px 0 18px; }
.trial-line .i { width: 18px; height: 18px; flex: none; }

/* success */
.success-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin: 6px auto 20px; box-shadow: 0 12px 30px oklch(0.62 0.14 155 / 0.35); animation: pop .4s cubic-bezier(.2,.9,.3,1.3); }
.success-ic .i { width: 36px; height: 36px; color: #fff; }
.cred-box { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 16px 18px; margin: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.cred-box small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.cred-box b { font-family: var(--font-display); font-size: 19px; display: block; margin-top: 3px; }
.next-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.next-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.next-list .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; flex: none; }

/* ---- Region (fixa, detectada automaticamente) ---- */
.region-static { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: default; }
.region-static .flag { font-size: 17px; line-height: 1; }

/* ---- Install / guia de setup ---- */
.install { background: var(--bg-2); }
.install-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 40px; align-items: start; }
.setup-steps { display: flex; flex-direction: column; }
.setup-step { display: flex; gap: 18px; padding: 16px 0; position: relative; }
.setup-step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 58px; bottom: -2px; width: 2px; background: var(--line-2); }
.setup-num { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; box-shadow: var(--shadow-accent); z-index: 1; }
.setup-body h3 { font-size: 19px; font-weight: 700; }
.setup-body p { color: var(--muted); font-size: 15.5px; margin-top: 6px; max-width: 470px; }
.install-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.server-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.srv-label { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.srv-addr { display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.srv-addr code { flex: 1; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 18px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); padding: 12px 14px; border-radius: var(--radius-sm); letter-spacing: -0.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.srv-copy { display: inline-flex; align-items: center; gap: 6px; padding: 12px 15px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; transition: background .15s; white-space: nowrap; }
.srv-copy:hover { background: var(--accent-deep); }
.srv-copy .i { width: 16px; height: 16px; }
.port-warn { display: flex; gap: 11px; align-items: flex-start; margin-top: 16px; background: var(--gold-soft); border: 1px solid oklch(0.86 0.07 80); border-radius: var(--radius-sm); padding: 13px 15px; font-size: 13.5px; color: var(--gold-deep); line-height: 1.45; font-weight: 500; }
.port-warn .i { width: 19px; height: 19px; flex: none; color: var(--gold-deep); margin-top: 1px; }
.support-card { display: flex; gap: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.support-ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; }
.support-ic .i { width: 22px; height: 22px; color: var(--accent); }
.support-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.support-card p { color: var(--muted); font-size: 14.5px; margin: 6px 0 14px; }
.support-card .btn { font-size: 14px; padding: 10px 18px; }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-step .arrow { display: none; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan.popular { transform: none; }
  .plan.popular:hover { transform: translateY(-4px); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
  .install-grid { grid-template-columns: 1fr; gap: 28px; }
  .install-side { position: static; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .nav { display: none; }
  .hdr-right .btn { display: none; }
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .plans-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 24px; }
  .steps .lbl { display: none; }
  .modal-body { padding: 20px; }
  .srv-addr { flex-direction: column; align-items: stretch; }
  .srv-copy { justify-content: center; }
}
