/* ghink-labs site in the PyCode IDE look: the app's neutral JetBrains-like palette (dark #0A0A0A, light #F7F8FA),
   Space Grotesk titles, Inter text, JetBrains Mono for code, and the app's violet neo-brutalism on what people touch.
   Light and dark themes: data-theme on <html> ("light" / "dark"), or the system's when it is missing. */
:root {
  --bg: #0A0A0A; --s1: #141414; --s2: #1A1A1A; --s3: #232323; --line: #262626; --line2: #1C1C1C;
  --txt: #DFE1E5; --mut: #9DA0A8; --dim: #6E717A; --ink: #DFE1E5;
  --acc: #8B7BFF; --acc-bg: #1E1A33; --ok: #3FB950; --ok-bg: #12301D; --fire: #F08218;
  --prim: #DFE1E5; --on-prim: #0A0A0A; --rim: #0A0A0A;
  --code-bg: #0F0F12; --code-bar: #17171B; --code-txt: #C7C8D0; --code-ln: #4B4D57;
  --dots: #222;
  --nav: rgba(10, 10, 10, .86);
  --shadow: #8B7BFF;
  --head: 'Space Grotesk', Inter, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F7F8FA; --s1: #EBECF0; --s2: #FFFFFF; --s3: #E1E2E7; --line: #DCDEE3; --line2: #E6E7EB;
    --txt: #1E1F22; --mut: #6C707E; --dim: #8C8F99; --ink: #1E1F22;
    --acc: #6B57FF; --acc-bg: #E9E5FF; --ok: #1A7F37; --ok-bg: #DAF5E1;
    --prim: #1E1F22; --on-prim: #FFFFFF; --rim: #1E1F22;
    --dots: #DADCE1; --nav: rgba(247, 248, 250, .86); --shadow: #6B57FF;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F7F8FA; --s1: #EBECF0; --s2: #FFFFFF; --s3: #E1E2E7; --line: #DCDEE3; --line2: #E6E7EB;
  --txt: #1E1F22; --mut: #6C707E; --dim: #8C8F99; --ink: #1E1F22;
  --acc: #6B57FF; --acc-bg: #E9E5FF; --ok: #1A7F37; --ok-bg: #DAF5E1;
  --prim: #1E1F22; --on-prim: #FFFFFF; --rim: #1E1F22;
  --dots: #DADCE1; --nav: rgba(247, 248, 250, .86); --shadow: #6B57FF;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { background: var(--bg); color: var(--txt); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; transition: background .25s, color .25s; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; line-height: 1; display: inline-block; font-variation-settings: 'FILL' 1; white-space: nowrap; }
.mono { font-family: var(--mono); font-variant-ligatures: none; }
.w { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---- type ---- */
h1, h2, h3, .head { font-family: var(--head); font-weight: 700; letter-spacing: -.025em; }
h1 { line-height: 1.04; }
h2 { font-size: 52px; line-height: 1.06; }
h3 { line-height: 1.2; }
.lead { font-size: 19px; line-height: 1.6; color: var(--mut); }
.lead b { color: var(--txt); font-weight: 600; }
/* *text* from the console: the app's violet, never a rainbow */
.hl, .grad { color: var(--acc); }
.kicker { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 9px; background: var(--acc-bg); color: var(--acc); font-family: var(--mono); font-size: 13px; margin-bottom: 18px; font-variant-ligatures: none; }
.kicker b { font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--s3); color: var(--mut); font-variant-ligatures: none; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.vio { background: var(--acc-bg); color: var(--acc); }

/* ---- layout ---- */
.sec { padding: 112px 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--mut); font-size: 16px; margin-top: 14px; line-height: 1.5; }
.check .ms { color: var(--ok); font-size: 20px; margin-top: 1px; }
.check b { color: var(--txt); font-weight: 600; }
.card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--s1); }
.card h3 { font-size: 21px; margin-top: 14px; }
.card p { color: var(--mut); font-size: 15px; margin-top: 8px; line-height: 1.55; }
.card > .ms { font-size: 24px; color: var(--acc); }

/* ---- the app's neo-brutalism: outline in the text colour + solid violet shadow, the control slides into it ---- */
.btn, .icon-btn, .chip, .tab, .prod, .plan, .disc, .faq-item, .seg button.on, .toggle button.on {
  --nb: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .2s, color .2s;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 99px; font-weight: 600; font-size: 15.5px; white-space: nowrap; cursor: pointer;
  border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--nb); }
.btn .ms { font-size: 20px; }
/* the main one: the app's filled pill (light on dark, dark on light), with the dark rim on the dark theme */
.btn.light, .btn.prim { background: var(--prim); color: var(--on-prim); border-color: var(--rim); }
.btn.line, .btn.dark { background: var(--s2); color: var(--txt); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn:hover, .btn:focus-visible { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--nb); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--nb); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more .ms { font-size: 18px; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 30; height: 66px; background: var(--nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line2); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-name i { font-style: normal; color: var(--mut); font-weight: 500; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.links { margin-left: auto; display: flex; gap: 6px; font-size: 15px; margin-right: 10px; }
.links a { padding: 8px 14px; border-radius: 99px; color: var(--mut); font-weight: 500; transition: background .15s, color .15s; }
.links a:hover { background: var(--s1); color: var(--txt); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--s2); box-shadow: 3px 3px 0 var(--nb); }
.icon-btn .ms { font-size: 24px; }
#menu { margin-left: auto; }
/* theme switch: Auto / Claro / Escuro, like Settings › Appearance in the app */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--s1); border: 1px solid var(--line); }
.seg button { width: 36px; height: 32px; border-radius: 99px; display: grid; place-items: center; color: var(--mut); }
.seg button .ms { font-size: 19px; }
.seg button.on { background: var(--s2); color: var(--txt); box-shadow: 0 0 0 1.5px var(--ink); }
.mobile-menu { position: fixed; inset: 66px 0 0 0; z-index: 29; background: var(--bg); padding: 8px 20px 32px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 20px; font-family: var(--head); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .ms { color: var(--dim); }
.mobile-menu .seg { align-self: flex-start; margin-top: 22px; }

/* ---- announcement bar ---- */
.announce { background: var(--acc); color: #fff; }
.announce .w { display: flex; align-items: center; gap: 16px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-size: 14px; }
.announce .mono { font-size: 13px; opacity: .85; }
.announce .hl { color: #fff; font-weight: 700; }
.announce a.go { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announce .x { margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; }

/* ---- hero: the block logo, the headline and the app on two phones (dark and light) ---- */
.hero { padding: 28px 0 0; }
.banner { position: relative; overflow: hidden; border-radius: 32px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding: 64px 56px 0; background: var(--s1);
  background-image: radial-gradient(var(--dots) 1.3px, transparent 1.4px); background-size: 24px 24px; border: 1px solid var(--line); }
.banner .copy-col { padding-bottom: 64px; }
.banner .appmark { width: 76px; height: 76px; border-radius: 22px; margin-bottom: 26px; box-shadow: 5px 5px 0 var(--shadow); border: 1.5px solid var(--ink); }
.banner .px { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; color: var(--mut); margin-bottom: 14px; }
.banner h1 { font-size: 60px; }
.banner .lead { max-width: 560px; margin-top: 20px; }
.banner .cta { display: flex; gap: 16px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.banner .phones { position: relative; height: 560px; align-self: end; }
.banner .phones .phone { position: absolute; bottom: -60px; width: 272px; }
.banner .phones .phone.a { left: 4%; transform: rotate(-4deg); z-index: 2; }
.banner .phones .phone.b { right: 2%; bottom: -100px; transform: rotate(5deg); }

/* a phone: the real screenshot of the app in a thin frame */
.phone { border-radius: 40px; padding: 8px; background: #050505; box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px #2A2C31; }
:root[data-theme="light"] .phone { box-shadow: 0 24px 60px rgba(30, 31, 34, .18), inset 0 0 0 2px #2A2C31; }
.phone img { width: 100%; border-radius: 32px; aspect-ratio: 390 / 844; object-fit: cover; background: var(--bg); }
.phone .dk { display: block; } .phone .lt { display: none; }
:root[data-theme="light"] .phone .dk { display: none; } :root[data-theme="light"] .phone .lt { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .phone .dk { display: none; } :root:not([data-theme]) .phone .lt { display: block; } }
.phone.fixed .dk { display: block !important; } .phone.fixed .lt { display: none !important; }
.phone.fixed-l .dk { display: none !important; } .phone.fixed-l .lt { display: block !important; }

/* ---- tabs under the banner ---- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 900px; margin: 32px auto 0; padding: 0 4px; }
.tab { text-align: left; padding: 14px 18px; border-radius: 18px; background: transparent; color: var(--mut); border: 1.5px solid var(--line); }
.tab b { display: block; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--acc); font-variant-ligatures: none; }
.tab span { display: block; font-size: 14px; margin-top: 4px; }
.tab.on { background: var(--s2); color: var(--txt); border-color: var(--ink); box-shadow: 4px 4px 0 var(--nb); }
.stage-cap { text-align: center; color: var(--mut); margin-top: 18px; padding: 0 16px; }
.stage { margin-top: 22px; border-radius: 28px; overflow: hidden; background: var(--s1); border: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 420px; }
.blocks { background: #141519 radial-gradient(#2c2d33 1px, transparent 1px) 0 0 / 18px 18px; padding: 28px; display: grid; place-items: center; }
.blocks img { width: 100%; max-width: 560px; }

/* code windows: Dracula, the editor's default theme, on every site theme (as in the app) */
.code { background: #282A36; padding: 24px; font-family: var(--mono); font-variant-ligatures: none; font-size: 13px; line-height: 1.75; color: #F8F8F2; overflow-x: auto; white-space: pre; }
.code .ln { color: #6272A4; display: inline-block; width: 26px; user-select: none; }
.k { color: #ff79c6; } .s { color: #f1fa8c; } .f { color: #50fa7b; } .fn { color: #8be9fd; } .n { color: #bd93f9; } .c { color: #6272a4; } .p { color: #50fa7b; } .e { color: #ff5555; }
.term { background: #0A0A0A; color: #DFE1E5; }
.term .bar, .win .bar { display: flex; gap: 7px; padding: 14px 18px; background: rgba(0, 0, 0, .25); }
.term .bar i, .win .bar i { width: 11px; height: 11px; border-radius: 50%; }
.term .bar i:nth-child(1), .win .bar i:nth-child(1) { background: #ff5f57; }
.term .bar i:nth-child(2), .win .bar i:nth-child(2) { background: #febc2e; }
.term .bar i:nth-child(3), .win .bar i:nth-child(3) { background: #28c840; }
.term .bar span, .win .bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #8C8F99; }
.code.win, .code.term { overflow: hidden; white-space: normal; }
.code.win > div:last-child, .code.term > div:last-child { overflow-x: auto; white-space: pre; }

/* ---- products ---- */
.prods { margin-top: 44px; }
.prod { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1.5px solid var(--line); border-radius: 24px; position: relative; background: var(--s1); }
a.prod:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--nb); transform: translate(-2px, -2px); }
.prod .logo { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; overflow: hidden; background: var(--s3); color: var(--acc); }
.prod .logo img { width: 100%; height: 100%; }
.prod .logo .ms { font-size: 28px; }
.prod b { font-family: var(--head); font-size: 19px; font-weight: 700; display: block; }
.prod p { color: var(--mut); font-size: 14.5px; margin-top: 6px; line-height: 1.55; }
.prod .badge { position: absolute; top: -12px; right: 18px; }
.tile { display: inline-grid; place-items: center; background: #0A0A0A; flex: none; overflow: hidden; }
.tile img { width: 100%; height: 100%; }

/* ---- big stat + technologies ---- */
.stat { font-family: var(--head); font-size: 44px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; max-width: 900px; }
.stat .big { font-family: var(--mono); font-size: 80px; font-weight: 700; letter-spacing: -.03em; color: var(--acc); }
.stat .mono { color: var(--acc); }
.num { font-family: var(--mono); font-size: 40px; font-weight: 700; }
.techs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; align-items: center; }
.tech { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 10px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); color: var(--txt); font-size: 14px; font-weight: 600; }
.tech img { width: 36px; height: 36px; object-fit: contain; background: #0A0A0A; border-radius: 11px; padding: 5px; }
.chip { font-family: var(--mono); font-size: 13px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); color: var(--mut); font-variant-ligatures: none; background: var(--s2); }

/* ---- features: the list lights up as you scroll and the phone shows that screen ---- */
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.feat-list { display: flex; flex-direction: column; }
.feat { padding: 64px 0; opacity: .32; transition: opacity .35s; }
.feat.on { opacity: 1; }
.feat h3 { font-size: 30px; }
.feat p { color: var(--mut); font-size: 17px; margin-top: 12px; line-height: 1.6; max-width: 460px; }
.feat .ms { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: var(--acc); background: var(--acc-bg); margin-bottom: 18px; }
.feat .shot { display: none; }
.feat-shot { position: sticky; top: 100px; align-self: start; display: flex; justify-content: center; padding: 28px 0; border-radius: 32px; background: var(--s1);
  background-image: radial-gradient(var(--dots) 1.3px, transparent 1.4px); background-size: 24px 24px; border: 1px solid var(--line); }
.feat-shot .phone { width: 300px; }
.feat-shot .phone img { transition: opacity .25s; }

/* ---- the screens gallery ---- */
.gallery { display: flex; gap: 24px; margin-top: 44px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.shot-card { flex: none; width: 250px; scroll-snap-align: start; }
.shot-card .phone { width: 100%; }
.shot-card b { display: block; font-family: var(--head); font-size: 17px; margin-top: 16px; }
.shot-card span { display: block; color: var(--mut); font-size: 14px; margin-top: 2px; }

/* ---- promo ---- */
.promo { position: relative; overflow: hidden; border-radius: 32px; padding: 56px; min-height: 380px; display: flex; flex-direction: column; justify-content: center; border: 1.5px solid var(--ink); background: var(--acc); color: #fff; box-shadow: 6px 6px 0 var(--ink); }
.promo h3 { font-size: 38px; max-width: 520px; }
.promo p { color: rgba(255, 255, 255, .86); font-size: 17px; max-width: 520px; margin-top: 14px; line-height: 1.6; }
.promo .hl { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.promo .badge { background: rgba(255, 255, 255, .18); color: #fff; }
.promo .btn.light { background: #fff; color: #0A0A0A; border-color: #0A0A0A; --nb: #0A0A0A; }
.promo .btn.line { background: transparent; color: #fff; border-color: #fff; --nb: #0A0A0A; }
.promo .art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 300px; aspect-ratio: 1; }
.promo .art img { width: 100%; image-rendering: pixelated; }
.promo .art canvas { pointer-events: none; }

/* ---- Ghink AI ---- */
.ai-sec { background: var(--s1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chat { background: var(--s2); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-head b { font-family: var(--head); }
.chat-q { background: var(--acc); color: #fff; border-radius: 20px 20px 6px 20px; padding: 14px 16px; margin: 20px 22px 0 auto; font-size: 15px; width: fit-content; max-width: 84%; }
.chat-a { margin: 16px 22px 0; font-size: 15px; color: var(--mut); }
.chat .blocks { margin: 14px 22px 0; border-radius: 18px; padding: 16px; }
.chat .code { margin: 12px 22px 22px; border-radius: 16px; font-size: 12.5px; padding: 16px; }
.ai-phones { display: flex; gap: 18px; justify-content: center; margin-top: 28px; }
.ai-phones .phone { width: 46%; max-width: 250px; }

/* ---- plans ---- */
.toggle { display: inline-flex; background: var(--s1); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-top: 28px; }
.toggle button { height: 40px; padding: 0 18px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--mut); display: flex; align-items: center; gap: 8px; }
.toggle button.on { background: var(--prim); color: var(--on-prim); }
.off { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--ok-bg); color: var(--ok); }
.plan { display: flex; flex-direction: column; position: relative; border: 1.5px solid var(--line); background: var(--s1); border-radius: 26px; }
/* the most chosen plan: the app's fire (the one exception to the violet) */
.plan.hot { border-color: var(--fire); box-shadow: 6px 6px 0 var(--fire); background: var(--s2); }
.plan.hot .badge { position: absolute; top: -13px; left: 22px; background: var(--fire); color: #1A0800; }
/* its button is part of the fire too: the same orange shadow, so the card and the button read as one */
.plan.hot .btn { --nb: var(--fire); }
.plan-name { font-family: var(--head); font-size: 22px; font-weight: 700; }
.plan-tag { color: var(--mut); font-size: 14px; margin-top: 4px; min-height: 20px; }
.plan-price { margin-top: 18px; }
.plan-price b { font-family: var(--head); font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.plan-price span { color: var(--mut); font-size: 15px; }
.plan-sub { color: var(--dim); font-size: 13px; min-height: 18px; margin-top: 2px; }
.credits { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 16px; padding: 12px 16px; margin-top: 16px; }
.credits b { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--ok); }
.credits span { color: var(--mut); font-size: 13px; line-height: 1.3; }
.plan .checks { margin-bottom: 26px; }
.plan .btn { margin-top: auto; width: calc(100% - 4px); }
.packs { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.packs > .ms { font-size: 32px; color: var(--acc); }
.pack { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; font-size: 14px; white-space: nowrap; }
.pack b { font-family: var(--mono); font-size: 18px; color: var(--ok); }
.pack small { display: block; color: var(--dim); font-size: 12px; }

/* ---- about, faq, discover ---- */
.tl { display: flex; gap: 18px; }
.tl .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex: none; }
.tl small { font-family: var(--mono); color: var(--dim); font-size: 13px; }
.tl b { display: block; font-family: var(--head); font-size: 19px; font-weight: 700; margin-top: 4px; }
.tl p { color: var(--mut); font-size: 15px; margin-top: 4px; line-height: 1.5; }
.faq-item { border: 1.5px solid var(--line); border-radius: 22px; padding: 0 22px; margin-top: 12px; background: var(--s1); }
.faq-item.open { border-color: var(--ink); box-shadow: 4px 4px 0 var(--nb); background: var(--s2); }
.faq-q { width: 100%; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 600; }
.faq-q .ms { color: var(--acc); transition: transform .2s; }
.faq-a { color: var(--mut); font-size: 16px; line-height: 1.65; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }
.faq-item.open .faq-q .ms { transform: rotate(45deg); }
.disc { display: flex; flex-direction: column; min-height: 220px; border: 1.5px solid var(--line); border-radius: 26px; padding: 24px; background: var(--s1); }
.disc:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--nb); transform: translate(-2px, -2px); }
.disc > .ms { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; color: var(--acc); background: var(--acc-bg); }
.disc h3 { font-size: 22px; margin-top: 16px; }
.disc .btn { margin-top: auto; align-self: flex-start; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line2); padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot b { display: block; font-family: var(--head); font-size: 15px; font-weight: 700; }
.foot a { display: block; color: var(--mut); font-size: 14px; margin-top: 12px; }
.foot a:hover { color: var(--txt); }
.socials { display: flex; gap: 12px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line2); flex-wrap: wrap; align-items: center; }
.socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--s1); color: var(--mut); border: 1px solid var(--line); }
.socials a:hover { color: var(--txt); }
.copy { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; color: var(--dim); font-size: 13px; font-family: var(--mono); font-variant-ligatures: none; }

/* ---- reveal ---- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .btn, .prod, .disc { transition: none; } }

.only-m { display: none; }
@media (max-width: 1080px) {
  .links, .hide-m { display: none !important; }
  .only-m { display: grid; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .banner { grid-template-columns: 1fr; padding: 56px 40px 0; }
  .banner .phones { height: 480px; }
  .feats { grid-template-columns: 1fr; gap: 0; }
  .feat-shot { position: sticky; top: 76px; z-index: 2; order: -1; padding: 18px 0; }
  .feat-shot .phone { width: 210px; }
  .feat { padding: 40px 0 0; opacity: 1; }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
}
/* phones: everything stacked at full width, cards one per row, rows that slide sideways */
@media (max-width: 640px) {
  .w { padding: 0 16px; }
  .nav { height: 58px; }
  .mobile-menu { top: 58px; }
  html { scroll-padding-top: 62px; }
  .announce .w { align-items: flex-start; font-size: 15px; flex-wrap: wrap; gap: 6px 12px; padding-top: 14px; padding-bottom: 14px; }
  .announce { position: relative; }
  .announce .x { position: absolute; right: 8px; }
  .announce .msg { padding-right: 36px; }
  .hero { padding-top: 12px; }
  .banner { border-radius: 26px; padding: 36px 20px 0; gap: 0; }
  .banner .copy-col { padding-bottom: 28px; }
  .banner .appmark { width: 64px; height: 64px; border-radius: 19px; margin-bottom: 20px; }
  .banner h1 { font-size: 38px; }
  .banner .lead { font-size: 17px; }
  .banner .cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .banner .cta .btn { width: calc(100% - 4px); }
  .banner .phones { height: 250px; }
  .banner .phones .phone { width: 172px; bottom: -170px; }
  .banner .phones .phone.a { left: 2%; }
  .banner .phones .phone.b { right: 0; bottom: -200px; }
  .phone { border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 25px; }
  .tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; padding: 4px 16px 10px; scroll-padding: 0 16px; margin-top: 24px; }
  .tabs::-webkit-scrollbar, .plans-row::-webkit-scrollbar { display: none; }
  .tab { flex: none; width: 72%; scroll-snap-align: start; }
  .stage { border-radius: 20px; }
  .sec { padding: 72px 0; }
  h2 { font-size: 34px; }
  .lead { font-size: 17px; }
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .stat { font-size: 28px; }
  .stat .big { font-size: 54px; }
  .num { font-size: 34px; }
  .tech { height: 50px; padding: 0 14px 0 8px; font-size: 13px; }
  .tech img { width: 30px; height: 30px; }
  .feat h3 { font-size: 24px; }
  .feat-shot { top: 66px; padding: 14px 0; border-radius: 24px; }
  .feat-shot .phone { width: 150px; }
  .shot-card { width: 200px; }
  .promo { padding: 32px 22px 250px; min-height: 0; border-radius: 26px; }
  .promo h3 { font-size: 28px; }
  .promo .art { top: auto; bottom: 26px; right: 50%; transform: translateX(50%) rotate(-8deg); width: 200px; }
  .card { padding: 22px; }
  .chat-q, .chat-a { margin-left: 16px; margin-right: 16px; }
  .chat .blocks, .chat .code { margin-left: 16px; margin-right: 16px; }
  .code { font-size: 11.5px; padding: 16px; }
  .code .ln { width: 22px; }
  .packs { flex-direction: column; align-items: flex-start; }
  .pack-list { flex-direction: column; width: 100%; }
  .plans-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 32px -16px 0; padding: 16px 16px 14px; scroll-padding: 0 16px; }
  .plans-row .plan { flex: none; width: 86%; scroll-snap-align: start; }
  .plans-row, .tabs { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  .copy { flex-direction: column; }
  .disc { min-height: 0; gap: 18px; }
  .disc h3 { font-size: 20px; }

}

/* ------------------------------------------------------------------------------------------------------------------
   Only buttons and links react to touch: texts can't be selected, so a tap or a drag over a word no longer opens
   Chrome's "Touch to search" card, the selection handles or the long-press menu; images can't be dragged or saved by a
   long press. Fields people type in (if any) keep normal selection.
   ------------------------------------------------------------------------------------------------------------------ */
html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
img, svg, canvas { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
a, button, .btn, [role="button"], summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
