/* GeminiDNS landing (главная), 2026-10. Только для index.html, токены из style.css */
.gd { --gd-soft: var(--accent-chip); --gd-ink: var(--foreground); --gd-muted: var(--muted-foreground); }
.gd section { scroll-margin-top: 84px; }
.gd h1, .gd h2, .gd h3, .gd h4 { margin: 0; color: var(--gd-ink); }
.gd p { margin: 0; }
.gd .accent { color: var(--primary); }
.gd .btn { box-shadow: 0 6px 16px rgba(30,113,232,.28); transition: background-color .15s, transform .15s; }
.gd .btn:hover { transform: translateY(-1px); }
.gd .btn.ghost, .gd .btn.soft { box-shadow: var(--shadow-sm); }
.gd .btn.soft { background: var(--accent-chip); color: var(--primary); border-color: transparent; box-shadow: none; }
.gd .btn.soft:hover { background: var(--muted-bg); color: var(--primary); }
.gd-check { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--gd-muted); }
.gd-check svg { flex-shrink: 0; }
.gd-h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.gd-sub { margin-top: 8px !important; font-size: 15.5px; color: var(--gd-muted); }
.gd-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; color: var(--primary); text-transform: uppercase; margin-bottom: 12px !important; }

/* HERO */
.gd-hero { padding: 40px 0 36px; }
.gd-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.gd-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gd-soft); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--accent-chip-fg); margin-bottom: 22px; }
.gd-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.gd-hero h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
.gd-lead { margin-top: 18px !important; max-width: 490px; font-size: 16.5px; line-height: 1.55; color: var(--gd-muted); }
.gd-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.gd-hero-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin-top: 30px; max-width: 560px; }

.gd-art { position: relative; min-height: 480px; }
.gd-art-scale { position: absolute; inset: 0; }
.gd-blob { position: absolute; width: 530px; height: 450px; right: 8px; top: 26px;
  background: radial-gradient(90% 90% at 18% 12%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 46%), linear-gradient(140deg, #d6e8ff 0%, #8fb9fb 46%, #3e82f2 100%);
  border-radius: 46% 54% 57% 43% / 52% 44% 56% 48%; box-shadow: 0 46px 90px rgba(62,130,242,.30); }
.gd-blob-2 { position: absolute; width: 200px; height: 190px; right: 420px; top: 34px; background: linear-gradient(140deg, #e8f2ff, #a9cbfb); border-radius: 52% 48% 60% 40% / 55% 45% 55% 45%; opacity: .8; }
html.dark .gd-blob { background: radial-gradient(90% 90% at 18% 12%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 46%), linear-gradient(140deg, #1d3a6b 0%, #2a5fb8 50%, #3e82f2 100%); box-shadow: 0 46px 90px rgba(30,80,180,.35); }
html.dark .gd-blob-2 { background: linear-gradient(140deg, #1a2c4d, #27467c); }
.gd-laptop { position: absolute; left: 52%; top: 53%; transform: translate(-50%, -50%); width: 392px; filter: drop-shadow(0 26px 40px rgba(15,35,70,.28)); }
.gd-screen { background: linear-gradient(180deg, #3b4859, #222d3c); border-radius: 20px 20px 6px 6px; padding: 12px 12px 15px; }
.gd-screen-in { background: #fff; border-radius: 10px; height: 240px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; overflow: hidden; }
.gd-screen-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 30%, rgba(142,180,252,.16), transparent 70%); }
.gd-word { font-size: 30px; font-weight: 700; letter-spacing: -.01em; position: relative; background: linear-gradient(92deg, #3b7bf0 10%, #7a5cf0 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-pill { position: relative; width: 82%; height: 42px; background: #fff; border: 1px solid #e3eaf2; border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 18px; box-shadow: 0 4px 14px rgba(23,50,99,.07); }
.gd-pill .ph { flex: 1; font-size: 13px; color: #9aa9bc; white-space: nowrap; }
.gd-send { width: 30px; height: 30px; border-radius: 50%; background: #1e71e8; display: grid; place-items: center; flex-shrink: 0; }
.gd-laptop-base { width: 472px; margin-left: -40px; height: 18px; position: relative; background: linear-gradient(180deg, #f0f4f9, #c6d2df); border-radius: 3px 3px 18px 18px; }
.gd-laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 98px; height: 7px; background: #9daec0; border-radius: 0 0 9px 9px; }
.gd-chip { position: absolute; width: 58px; height: 58px; background: #fff; border-radius: 16px; display: grid; place-items: center; border: 1px solid #edf2f9; box-shadow: 0 12px 26px rgba(23,50,99,.16); }
.gd-float { position: absolute; background: #fff; color: #0f1b2d; border-radius: 14px; box-shadow: 0 14px 32px rgba(23,50,99,.18); padding: 10px 15px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.gd-ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: #22c55e; }
.gd-ok.blue { background: #1e71e8; }
.c1 { top: 44px; left: 10px; } .c2 { top: 186px; left: -14px; } .c3 { bottom: 52px; left: 56px; }
.c4 { top: 74px; right: -6px; } .c5 { top: 0; left: 168px; } .c6 { bottom: 118px; right: -14px; }
.c7 { bottom: 8px; left: 150px; } .c8 { top: 188px; right: -6px; }
.fb1 { top: 14px; right: 64px; } .fb2 { bottom: 16px; right: 118px; }

/* FEATURES */
.gd-features { padding: 20px 0 10px; }
.gd-features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gd-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px; text-align: center; transition: transform .18s, box-shadow .18s; }
.gd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gd-ficon { width: 46px; height: 46px; border-radius: 13px; background: var(--gd-soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 18px; }
.gd-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.gd-card p { font-size: 13.5px; line-height: 1.55; color: var(--gd-muted); }

/* SERVICES */
.gd-services { padding: 52px 0 8px; }
.gd-svc-row { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.gd-svc { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gd-svc-tile { width: 60px; height: 60px; border-radius: 16px; background: var(--logo-chip); border: 1px solid var(--border); display: grid; place-items: center; transition: transform .18s; }
.gd-svc:hover .gd-svc-tile { transform: translateY(-3px); }
.gd-svc span { font-size: 12.5px; font-weight: 500; color: var(--gd-muted); text-align: center; line-height: 1.3; }
.gd-svc-note { margin-top: 18px !important; font-size: 13px; color: var(--gd-muted); }

/* SETUP */
.gd-setup { padding: 56px 0 20px; }
.gd-tabs { display: flex; gap: 6px; margin-top: 24px; padding: 6px; background: var(--secondary); border: 1px solid var(--border); border-radius: 14px; width: max-content; max-width: 100%; overflow-x: auto; }
.gd-tab { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--gd-muted); white-space: nowrap; border: 1px solid transparent; background: none; cursor: pointer; transition: all .15s; }
.gd-tab:hover { color: var(--primary); }
.gd-tab.active { background: var(--card); border-color: var(--border-hover); color: var(--primary); box-shadow: 0 3px 10px rgba(30,113,232,.10); }
.gd-setup-card { margin-top: 22px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-sm); padding: 28px; }
.gd-panel { display: none; }
.gd-panel.active { display: block; }
.gd-steps { display: grid; grid-template-columns: 1fr 1.3fr 1fr; }
.gd-step { padding: 0 26px; }
.gd-step:first-child { padding-left: 0; }
.gd-step + .gd-step { border-left: 1px solid var(--border); }
.gd-step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gd-num { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; flex-shrink: 0; box-shadow: 0 4px 10px rgba(30,113,232,.30); }
.gd-step-head h4 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.gd-step p, .gd-step li { font-size: 13.5px; line-height: 1.55; color: var(--gd-muted); }
.gd-step ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.gd-step b { color: var(--gd-ink); font-weight: 600; }
.gd-addr { display: flex; align-items: center; gap: 10px; background: var(--muted-bg); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; margin-top: 10px; }
.gd-addr b { white-space: nowrap; }
.gd-addr code { background: none; padding: 0; border: 0; color: var(--gd-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.gd-note { margin-top: 18px; padding: 12px 16px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; background: #fdf3d7; color: #6b5310; border: 1px solid #f3e1a8; }
html.dark .gd-note { background: #2b2410; color: #f0d78a; border-color: #4a3d15; }
.gd-setup-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; align-items: center; }

/* AI BAND */
.gd-band { margin-top: 56px; border-radius: 28px; background: linear-gradient(160deg, #f2f8ff 0%, #e5f0fe 100%); border: 1px solid #dce9fb; }
html.dark .gd-band { background: linear-gradient(160deg, #0f1a2e 0%, #12223d 100%); border-color: var(--border); }
.gd-band-grid { display: grid; grid-template-columns: 1.08fr 1.12fr .88fr; gap: 30px; align-items: center; padding: 52px 44px; }
.gd-band h2 { font-size: clamp(26px, 2.7vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; }
.gd-band-lead { margin-top: 16px !important; font-size: 14.5px; line-height: 1.6; color: var(--gd-muted); max-width: 420px; }
.gd-band-list { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.gd-chat { position: relative; background: #fff; border-radius: 20px; border: 1px solid #e4edf8; box-shadow: 0 24px 54px rgba(30,90,180,.16); color: #0f1b2d; }
.gd-chat-top { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border-bottom: 1px solid #eef3f9; }
.gd-chat-top .brand-w { font-size: 17px; font-weight: 700; background: linear-gradient(92deg, #3b7bf0, #7a5cf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-chat-pill { position: absolute; top: -14px; right: -10px; display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 600; color: #12924f; box-shadow: 0 10px 24px rgba(23,50,99,.16); border: 1px solid #e4edf8; }
.gd-chat-body { padding: 28px 22px 24px; text-align: center; }
.gd-chat-hi { font-size: 24px; font-weight: 700; color: #1e71e8; letter-spacing: -.02em; }
.gd-chat-q { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.gd-chat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.gd-chat-tile { background: #f4f8fc; border: 1px solid #e8eef6; border-radius: 13px; padding: 13px 8px 11px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 500; color: #51627a; line-height: 1.3; }
.gd-chat-input { margin-top: 20px; display: flex; align-items: center; gap: 11px; border: 1px solid #e1e9f2; border-radius: 999px; padding: 8px 8px 8px 19px; box-shadow: 0 3px 12px rgba(23,50,99,.06); }
.gd-chat-input .ph { flex: 1; font-size: 13.5px; color: #9aa9bc; text-align: left; white-space: nowrap; }
.gd-cmp { display: flex; flex-direction: column; gap: 16px; }
.gd-cmp-card { border-radius: 16px; padding: 19px 20px; border: 1px solid; }
.gd-cmp-card.bad { background: #fef1f1; border-color: #f7d4d4; }
.gd-cmp-card.good { background: #edfbf2; border-color: #c9eed6; }
html.dark .gd-cmp-card.bad { background: #2a1416; border-color: #4a2226; }
html.dark .gd-cmp-card.good { background: #102519; border-color: #1d4a2e; }
.gd-cmp-head { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; color: var(--gd-ink); }
.gd-cmp-card ul { display: flex; flex-direction: column; gap: 11px; list-style: none; margin: 0; padding: 0; }
.gd-cmp-card li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--gd-muted); }
.gd-cmp-card li svg { flex-shrink: 0; }

/* STATS */
.gd-stats { padding: 44px 0 20px; }
.gd-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.gd-stat { display: flex; align-items: center; gap: 15px; justify-content: center; }
.gd-stat-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.gd-stat-icon.green { background: #e8f8ee; } .gd-stat-icon.blue { background: #e9f2fe; } .gd-stat-icon.yellow { background: #fdf3d7; }
html.dark .gd-stat-icon.green { background: #102519; } html.dark .gd-stat-icon.blue { background: #17294a; } html.dark .gd-stat-icon.yellow { background: #2b2410; }
.gd-stat b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; display: block; color: var(--gd-ink); }
.gd-stat small { font-size: 12.5px; color: var(--gd-muted); font-weight: 500; display: block; margin-top: 2px; }

/* PRICING */
.gd-pricing { padding: 44px 0 20px; }
.gd-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 28px; }
.gd-plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.gd-plan.featured { border-color: var(--primary); box-shadow: 0 18px 40px rgba(30,113,232,.18); }
.gd-plan-tag { position: absolute; top: -12px; left: 24px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.gd-plan h3 { font-size: 17px; font-weight: 700; }
.gd-plan-price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--gd-ink); line-height: 1; }
.gd-plan-price small { font-size: 14px; font-weight: 500; color: var(--gd-muted); letter-spacing: 0; }
.gd-plan-alt { font-size: 13px; color: var(--gd-muted); }
.gd-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.gd-plan .btn { width: 100%; }
.gd-plan.trial { background: var(--secondary); }
.gd-pay { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; font-size: 13px; color: var(--gd-muted); }
.gd-pay span.chip { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-weight: 600; color: var(--gd-ink); }

/* FAQ spacing reuse */
.gd-faq { padding: 44px 0 20px; }
.gd-faq .bz-faq-list { margin-top: 24px; }

/* RESPONSIVE */
@media (max-width: 1120px) {
  .gd-svc-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gd-band-grid { grid-template-columns: 1fr 1fr; padding: 44px 32px; }
  .gd-band-text { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .gd-hero-grid { grid-template-columns: 1fr; }
  .gd-art { min-height: 460px; width: 100%; max-width: 600px; margin: 8px auto 0; }
  .gd-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-steps { grid-template-columns: 1fr; gap: 26px; }
  .gd-step { padding: 0 !important; border-left: none !important; }
  .gd-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .gd-stat { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .gd-band-grid { grid-template-columns: 1fr; }
  .gd-svc-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gd-art { min-height: 390px; overflow: hidden; }
  .gd-art-scale { right: auto; width: 580px; height: 480px; left: 50%; transform: translateX(-50%) scale(.8); transform-origin: top center; }
}
@media (max-width: 520px) {
  .gd-features-grid { grid-template-columns: 1fr; }
  .gd-svc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-stats-grid { grid-template-columns: 1fr; }
  .gd-hero-checks { grid-template-columns: 1fr; }
  .gd-art { min-height: 300px; }
  .gd-art-scale { transform: translateX(-50%) scale(.6); }
  .gd-band-grid { padding: 36px 20px; }
  .gd-setup-card { padding: 22px 18px; }
  .gd-chat-pill { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .gd * { transition: none !important; }
}

/* ARTICLES (статьи-ответы, templates/article.html) */
.gd-article { max-width: 780px; margin: 0 auto; padding: 24px 0 20px; }
.gd-crumbs { font-size: 13px; color: var(--gd-muted); margin-bottom: 18px; }
.gd-crumbs a { color: var(--gd-muted); }
.gd-crumbs a:hover { color: var(--primary); }
.gd-article h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.gd-updated { margin-top: 10px !important; font-size: 13px; color: var(--gd-muted); }
.gd-answer { margin-top: 22px !important; padding: 18px 20px; border-radius: 16px; background: var(--accent-chip); color: var(--gd-ink); font-size: 16.5px; line-height: 1.6; border: 1px solid var(--border-hover); }
.gd-article h2 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; margin-top: 40px; scroll-margin-top: 84px; }
.gd-article h3 { font-size: 18px; font-weight: 700; margin-top: 24px; }
.gd-article article p, .gd-article article li { font-size: 16px; line-height: 1.65; color: var(--gd-ink); }
.gd-article article p { margin-top: 12px; }
.gd-article article ul, .gd-article article ol { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.gd-article .muted { color: var(--gd-muted); }
.gd-article table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.gd-article th, .gd-article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.gd-article th { color: var(--gd-muted); font-weight: 600; background: var(--secondary); }
.gd-article .gd-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; margin-top: 16px; }
.gd-article .gd-table-wrap table { margin-top: 0; }
.gd-article .gd-table-wrap tr:last-child td { border-bottom: 0; }
.gd-article .gd-note { margin-top: 18px; }
.gd-article .bz-faq-list { margin-top: 16px; }
.gd-sources { font-size: 14px !important; }
.gd-sources li { font-size: 14px !important; }
.gd-cta-box { margin-top: 40px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; border-radius: 20px; background: linear-gradient(160deg, #f2f8ff 0%, #e5f0fe 100%); border: 1px solid #dce9fb; }
html.dark .gd-cta-box { background: linear-gradient(160deg, #0f1a2e 0%, #12223d 100%); border-color: var(--border); }
.gd-cta-box b { font-size: 17px; color: var(--gd-ink); }
.gd-cta-box p { margin-top: 4px !important; font-size: 14px !important; color: var(--gd-muted) !important; max-width: 440px; }
.gd-related { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.gd-related h2 { font-size: 20px; font-weight: 800; }
.gd-related ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

/* HOME: ссылки на статьи и замеры */
.gd-help { padding: 44px 0 10px; }
.gd-help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.gd-help-card { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; color: var(--gd-ink); transition: border-color .15s, box-shadow .15s; }
.gd-help-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); color: var(--gd-ink); }
.gd-help-card b { display: block; font-size: 15.5px; line-height: 1.35; }
.gd-help-card span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--gd-muted); }
.gd-measure { margin-top: 14px !important; font-size: 13px; color: var(--gd-muted); text-align: center; }
.gd-src-line { margin-top: 10px !important; font-size: 12.5px; color: var(--gd-muted); }
@media (max-width: 760px) { .gd-help-grid { grid-template-columns: 1fr; } }
