/* FSilva Digital — design system
   Uma família de neutros quentes + um único acento (verde-musgo). */
:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-2: #eae6da;
  --card: #faf8f3;
  --ink: #15201c;
  --ink-2: #3b4640;
  --muted: #646e66;
  --line: #d8d3c4;
  --accent: #1d6b4a;
  --accent-deep: #123f2c;
  --accent-soft: #d9e6dc;
  --shadow: 0 1px 2px rgb(21 32 28 / .05), 0 18px 40px -22px rgb(18 63 44 / .35);
  --ff-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Geist", "Segoe UI", system-ui, sans-serif;
  --ff-mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --z-nav: 20;
  --z-skip: 40;
}

*, *::before, *::after { box-sizing: border-box; }
a, button, summary, input, select, textarea, label { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgb(29 107 74 / .18); scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--ff-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grão sutil para quebrar a planura digital */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--ff-display); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; max-width: 65ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--paper); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: var(--z-skip);
  background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: 8px; transition: top .2s;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow { font: 500 .8rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: .6rem; align-items: center; }
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .98rem/1 var(--ff-body); text-decoration: none; cursor: pointer;
  padding: 1rem 1.5rem; border-radius: 12px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98) translateY(1px); }
.btn-primary { background: var(--accent); color: #f6f4ec; box-shadow: 0 10px 24px -12px rgb(29 107 74 / .8); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.link-arrow { display: inline-flex; gap: .45rem; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; color: var(--accent-deep); transition: gap .25s var(--ease); }
.link-arrow:hover { gap: .8rem; }
.link-arrow svg { width: 1em; height: 1em; }

/* ---------- navegação ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-nav); background: rgb(243 240 232 / .86); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 700 1.15rem/1 var(--ff-display); letter-spacing: -.03em; }
.brand-mark { width: 2.1rem; height: 2.1rem; border-radius: 9px 9px 9px 3px; background: var(--accent-deep); color: var(--paper); display: grid; place-items: center; font: 800 1.05rem/1 var(--ff-display); letter-spacing: -.06em; }
.brand small { font-weight: 500; color: var(--muted); }
.nav-links { display: flex; gap: 1.75rem; font-size: .95rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); position: relative; padding: .35rem 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { padding: .75rem 1.1rem; font-size: .9rem; border-radius: 10px; }
.menu-btn { display: none; background: none; border: 0; width: 2.75rem; height: 2.75rem; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 1.4rem; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem); min-height: min(52rem, calc(100dvh - 4.25rem)); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6rem); margin: 1.4rem 0 1.6rem; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--accent); opacity: .25; border-radius: 4px; }
.hero .lede { max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; align-items: center; margin-top: 2.2rem; }
.hero-note { margin-top: 1.4rem; font: 400 .85rem/1.4 var(--ff-mono); color: var(--muted); }

/* painel "no ar" */
.live { background: var(--card); border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; padding: 1.6rem 1.6rem 1.2rem; box-shadow: var(--shadow); transform: translateY(1.2rem); }
.live-head { display: flex; align-items: center; justify-content: space-between; font: 500 .75rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.dot { position: relative; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #2f9e66; margin-right: .5rem; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2f9e66; animation: pulse 2.4s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .5; } 75%, to { transform: scale(3.2); opacity: 0; } }
.live li { border-bottom: 1px solid var(--line); }
.live li:last-child { border-bottom: 0; }
.live .it { display: grid; gap: .2rem; padding: 1rem 0; }
.live b { font: 600 1.05rem/1.2 var(--ff-display); letter-spacing: -.02em; }
.live span { color: var(--muted); font-size: .88rem; }

/* ---------- seções ---------- */
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }

/* trabalhos: grade assimétrica */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.work article { position: relative; overflow: hidden; border-radius: 18px; padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 15rem; isolation: isolate; }
.work .w1 { grid-column: span 7; min-height: 21rem; background: var(--accent-deep); color: #eef0e6; border-radius: 26px 26px 26px 6px; }
.work .w2 { grid-column: span 5; background: var(--accent-soft); }
.work .w3 { grid-column: span 5; background: var(--card); border: 1px solid var(--line); }
.work .w4 { grid-column: span 7; background: #e4dcc6; }
.work .tag { font: 500 .75rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.work h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: .8rem 0 .5rem; }
.work p { font-size: .98rem; opacity: .85; max-width: 38ch; }
.work .ghost { position: absolute; right: -.04em; bottom: -.22em; z-index: -1; font: 800 clamp(8rem, 18vw, 15rem)/1 var(--ff-display); letter-spacing: -.08em; opacity: .09; pointer-events: none; }

/* segmentos: lista editorial */
.seg { border-top: 1px solid var(--ink); }
.seg li { display: grid; grid-template-columns: 4rem 1fr 1.3fr; gap: 1rem 2rem; align-items: baseline; padding: 1.7rem 0; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.seg li:hover { background: var(--card); }
.seg li > * { transition: transform .3s var(--ease); }
.seg li:hover > :nth-child(2) { transform: translateX(.6rem); }
.seg .n { font: 500 .85rem/1 var(--ff-mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.seg h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.seg p { color: var(--ink-2); }

/* processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 .85rem/1 var(--ff-mono); color: var(--accent); display: block; margin-bottom: 1rem; }
.steps li:nth-child(even) { margin-top: 2rem; }
.steps h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.steps p { font-size: .98rem; color: var(--ink-2); }

/* planos */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; align-items: stretch; max-width: 56rem; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.4rem; }
.plan.pro { background: var(--accent-deep); color: #eef0e6; border-color: var(--accent-deep); box-shadow: var(--shadow); border-radius: 22px 22px 22px 6px; }
.plan-top { min-height: 8.5rem; }
.plan .flag { font: 500 .72rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; padding: .35rem .5rem; background: var(--accent-soft); color: var(--accent-deep); display: inline-block; margin-bottom: .8rem; border-radius: 3px; }
.plan:not(.pro) .flag { visibility: hidden; }
.plan h3 { font-size: 2rem; }
.plan .for { margin-top: .4rem; opacity: .8; font-size: .98rem; }
.price { display: flex; align-items: baseline; gap: .4rem; font-variant-numeric: tabular-nums; }
.price b { font: 800 clamp(3rem, 6vw, 4.2rem)/1 var(--ff-display); letter-spacing: -.05em; }
.price span { opacity: .7; font-size: .95rem; }
.plan ul { display: grid; gap: .75rem; align-content: start; border-top: 1px solid currentColor; border-top-color: rgb(128 140 130 / .35); padding-top: 1.4rem; }
.plan li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .7rem; font-size: .98rem; }
.plan li svg { width: 1.1rem; height: 1.1rem; margin-top: .22rem; color: var(--accent); }
.plan.pro li svg { color: #8fd1ad; }
.plan li.off { opacity: .5; text-decoration: line-through; text-decoration-thickness: 1px; }
.plan li.off svg { color: currentColor; }
.plan .btn { justify-content: center; }
.plan.pro .btn-primary { background: #eef0e6; color: var(--accent-deep); box-shadow: none; }
.plan.pro .btn-primary:hover { background: #fff; }
.plans-note { margin-top: 1.6rem; color: var(--ink-2); font-size: .95rem; max-width: 56rem; }

/* sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.about-copy { display: grid; gap: 1.2rem; }
.facts { display: grid; gap: 0; margin-top: .8rem; }
.facts li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { font: 500 .8rem/1.6 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq .sec-head { position: sticky; top: 6.5rem; margin: 0; }
.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; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.4rem 0; font: 600 1.18rem/1.3 var(--ff-display); letter-spacing: -.02em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.7rem/1 var(--ff-body); color: var(--accent); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--ink-2); }

/* contato */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 1rem 0 1.4rem; }
.direct { margin-top: 2rem; display: grid; gap: .9rem; }
.direct a { font: 600 1.15rem/1.3 var(--ff-display); text-decoration: none; letter-spacing: -.02em; border-bottom: 1.5px solid var(--line); padding-bottom: .9rem; display: flex; justify-content: space-between; transition: color .2s, border-color .2s; }
.direct a:hover { color: var(--accent); border-color: var(--accent); }
.direct a span { min-width: 0; overflow-wrap: anywhere; }
.direct svg { width: 1.3rem; height: 1.3rem; flex: none; align-self: center; }
.direct small { display: block; font: 400 .8rem/1.4 var(--ff-mono); color: var(--muted); letter-spacing: 0; margin-bottom: .25rem; }
form.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.2rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9b3a1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid transparent; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(29 107 74 / .15); background: #fff; }
.field .err { display: none; color: #a3321f; font-size: .85rem; }
.field.bad input, .field.bad select { border-color: #a3321f; }
.field.bad .err { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fine { font-size: .82rem; color: var(--muted); }
.fine a { color: var(--accent-deep); }

/* rodapé */
footer { padding: 3.5rem 0 2.2rem; border-top: 1px solid var(--line); background: var(--paper-2); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.foot p { color: var(--ink-2); font-size: .95rem; margin-top: 1rem; max-width: 34ch; }
.foot h3 { font: 500 .78rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.foot li { margin-bottom: .55rem; }
.foot li a { text-decoration: none; font-size: .95rem; transition: color .2s; }
.foot li a:hover { color: var(--accent); }
.legal { border-top: 1px solid var(--line); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.legal a { text-decoration: none; margin-left: 1.2rem; }
.legal a:first-child { margin-left: 0; }
.legal a:hover { color: var(--accent); }

/* whatsapp flutuante */
.wa { position: fixed; right: max(1.2rem, env(safe-area-inset-right, 0px)); bottom: max(1.2rem, env(safe-area-inset-bottom, 0px)); z-index: var(--z-nav); display: inline-flex; align-items: center; gap: .6rem; background: var(--accent-deep); color: #f3f0e8; text-decoration: none; padding: .85rem 1.1rem; border-radius: 14px 14px 4px 14px; font-weight: 600; font-size: .92rem; box-shadow: 0 14px 30px -12px rgb(18 63 44 / .7); transition: transform .3s var(--ease), background-color .2s; }
.wa:hover { transform: translateY(-3px); background: var(--accent); }
.wa:active { transform: scale(.97); }
.wa svg { width: 1.3rem; height: 1.3rem; }

/* páginas de texto / 404 */
.doc { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 1rem 0 2rem; }
.doc h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.doc p, .doc li { color: var(--ink-2); margin-bottom: 1rem; }
.doc ul { list-style: disc; padding-left: 1.3rem; max-width: 65ch; }
.nf { min-height: 70dvh; display: grid; align-content: center; }
.nf b { font: 800 clamp(7rem, 22vw, 16rem)/.9 var(--ff-display); letter-spacing: -.08em; color: var(--accent); opacity: .9; }

/* entrada escalonada (transform + opacity apenas) */
.rv { opacity: 0; transform: translateY(1.4rem); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .about, .faq, .contact { grid-template-columns: 1fr; }
  .live { transform: none; }
  .faq .sec-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(even) { margin-top: 0; }
  .work .w1, .work .w2, .work .w3, .work .w4 { grid-column: span 12; min-height: 14rem; }
  .seg li { grid-template-columns: 3rem 1fr; }
  .seg li p { grid-column: 2; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.2rem; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .plans, .two { grid-template-columns: 1fr; }
  .plan-top { min-height: 0; }
  .plan:not(.pro) .flag { display: none; }
  .facts li { grid-template-columns: 1fr; gap: .2rem; }
  .wa span { display: none; }
  .wa { padding: .95rem; border-radius: 50%; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .foot { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- anéis (canvas) ---------- */
.rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero .rings { -webkit-mask-image: radial-gradient(ellipse 70% 90% at 76% 55%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 70% 90% at 76% 55%, #000 25%, transparent 78%); }
.hero-grid { position: relative; z-index: 1; }

/* ---------- spotlight sob o cursor ---------- */
.spot { position: relative; --mx: 50%; --my: 50%; --spot: rgb(29 107 74 / .13); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx) var(--my), var(--spot), transparent 62%); z-index: 1; }
.spot:hover::before { opacity: 1; }
.w1.spot, .plan.pro.spot { --spot: rgb(238 240 230 / .13); }
.spot > *:not(.rings):not(.ghost) { position: relative; z-index: 2; }

/* ---------- indicação ---------- */
.refer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.refer h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 1.1rem 0 1.3rem; }
.rules { display: grid; gap: 1rem; margin-top: 1.8rem; }
.rules li { padding-left: 1.2rem; border-left: 2px solid var(--accent); color: var(--ink-2); font-size: .98rem; }
.rules b { color: var(--ink); }
.sim { background: var(--card); border: 1px solid var(--line); border-radius: 26px 26px 26px 6px; box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.sim-in { position: relative; z-index: 2; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.2rem; }
.sim-title { font-size: 1.4rem; }
.seg-ctl { display: inline-grid; grid-auto-flow: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; justify-self: start; }
.seg-ctl button { font: 600 .88rem/1 var(--ff-body); padding: .6rem 1rem; border: 0; background: transparent; color: var(--ink-2); border-radius: 7px; cursor: pointer; transition: background-color .2s, color .2s; }
.seg-ctl button.on { background: var(--ink); color: var(--paper); }
.sim-q { font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.friends { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.friends button { display: grid; justify-items: center; gap: .55rem; padding: 1rem .5rem; font: 600 .88rem/1 var(--ff-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: transform .25s var(--ease), border-color .2s, background-color .2s; }
.friends button:hover { border-color: var(--accent); }
.friends button:active { transform: scale(.97); }
.friends i { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1.5px dashed var(--muted); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.friends button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.friends button[aria-pressed="true"] i { background: var(--accent); border: 1.5px solid var(--accent); }
.friends button[aria-pressed="true"] i::after { content: ""; width: .42rem; height: .75rem; border: solid #f3f0e8; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.sim-out { padding: 1rem 0 .2rem; border-top: 1px dashed var(--line); display: grid; gap: .3rem; }
.sim-was { font: 500 .95rem/1 var(--ff-mono); color: var(--muted); text-decoration: line-through; visibility: hidden; }
.sim-was.show { visibility: visible; }
.sim-out .price b { font-size: clamp(3.2rem, 7vw, 4.6rem); color: var(--accent-deep); }
.sim-out p { font-size: .95rem; color: var(--ink-2); }
.sim-cta { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; align-items: center; }
.sim-cta .link-arrow { background: none; border: 0; border-bottom: 1.5px solid currentColor; font: 600 .95rem/1.2 var(--ff-body); cursor: pointer; padding: 0 0 2px; }
@media (max-width: 960px) {
  .refer { grid-template-columns: 1fr; }
  .hero .rings { -webkit-mask-image: radial-gradient(ellipse 90% 60% at 60% 80%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 90% 60% at 60% 80%, #000 20%, transparent 75%); }
}

@media (max-width: 1100px) and (min-width: 761px) { .nav .btn { display: none; } .nav-links { gap: 1.3rem; } }

.fine:empty { display: none; }
.motion-toggle { margin-top: 1.4rem; display: block; font: 400 .8rem/1.2 var(--ff-mono); color: var(--muted); background: none; border: 0; padding: .3rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.motion-toggle:hover { color: var(--accent); }
.motion-toggle + .hero-note { margin-top: .4rem; }
.motion-off .dot::after { animation: none; opacity: 0; }
@media (max-width: 360px) { .hero h1 em { white-space: normal; } }
.motion-toggle[hidden] { display: none; }
