/*
 * Landing page for the service (site.gglr.me). House design system: Hanken
 * Grotesk, near-black on white, hairline borders, soft shadows, a solid dark
 * button that inverts on hover, Google blue as the one accent. No scripts.
 */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/_a/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: "Hanken Grotesk", ui-sans-serif, system-ui, "Noto Sans Devanagari", sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  --bg: hsl(0 0% 100%);
  --ink: hsl(222 28% 9%);
  --muted: hsl(220 9% 38%);
  --soft: hsl(220 20% 97%);
  --line: hsl(222 28% 9% / 0.1);
  --line-strong: hsl(222 28% 9% / 0.22);
  --brand: #3367d6;
  --brand-hover: #2a56b8;
  --brand-soft: #edf3fe;
  --green: #12804a;
  --night: hsl(224 32% 10%);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 16px -6px rgba(15, 23, 42, 0.16);
  --shadow-xl: 0 40px 80px -32px rgba(15, 23, 42, 0.35), 0 12px 24px -12px rgba(15, 23, 42, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.3rem, 7.4vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-height: 52px; padding: 0 26px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1.02rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(51, 103, 214, 0.7); }
.btn-brand:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: hsl(0 0% 100% / 0.86); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; border: 2px solid #fff; border-right-color: transparent; border-bottom-color: transparent; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .97rem; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { font-weight: 600; font-size: .95rem; text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.lang:hover { background: var(--soft); }

/* Hero */
.hero {
  position: relative; padding: 64px 0 0; text-align: center; overflow: hidden;
  background:
    linear-gradient(to bottom, hsl(0 0% 100% / 0) 55%, #fff 96%),
    linear-gradient(to right, hsl(222 28% 9% / 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(to bottom, hsl(222 28% 9% / 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(900px 380px at 50% -60px, var(--brand-soft), transparent 70%);
}
.hero-in { display: grid; justify-items: center; gap: 22px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; font-size: .88rem; font-weight: 500; color: hsl(222 28% 20%); background: #fff; border: 1px solid var(--line-strong); border-radius: 9999px; box-shadow: var(--shadow-sm); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(51, 103, 214, 0.16); }
.hero h1 { max-width: 21ch; }
html[lang="hi"] .hero h1 { max-width: 24ch; font-size: clamp(2rem, 6.2vw, 3.6rem); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.note { font-size: .92rem; color: var(--muted); }

/* Product preview */
.stage { margin-top: 56px; }
.browser { background: #fff; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-xl); overflow: hidden; text-align: left; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--soft); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: hsl(220 14% 82%); }
.browser-bar i { margin-left: 12px; padding: 5px 14px; font-style: normal; font-size: .8rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-body { display: grid; gap: 24px; padding: 28px 20px 0; background: linear-gradient(180deg, #fff, var(--soft)); }
.phone { width: min(320px, 100%); margin-inline: auto; background: #fff; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 28px 28px 0 0; padding: 14px 14px 22px; box-shadow: var(--shadow-md); }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font-size: .86rem; }
.phone-top em { font-style: normal; color: var(--muted); font-size: .75rem; }
.phone-hero { background: linear-gradient(160deg, #fff4e0, #ffe2c2); border-radius: 18px; padding: 18px 16px; display: grid; gap: 8px; }
.phone-hero small { text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700; color: #a35a00; }
.phone-hero strong { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; color: #3b2408; }
html[lang="hi"] .phone-hero strong { letter-spacing: 0; line-height: 1.35; }
.phone-btns { display: flex; gap: 8px; margin-top: 6px; }
.pb { flex: 1; text-align: center; padding: 9px 6px; border-radius: 9px; font-size: .8rem; font-weight: 700; color: #fff; }
.pb-dark { background: #2b1a0e; }
.pb-green { background: var(--green); }
.phone-row { display: flex; justify-content: space-between; padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.phone-row b { color: var(--ink); font-weight: 600; }
.phone-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 4px; }
.phone-chips span { font-size: .75rem; padding: 5px 10px; border-radius: 9999px; background: var(--soft); border: 1px solid var(--line); }
.phone-review { margin: 2px 4px 0; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fbbc05; font-size: .8rem; letter-spacing: .06em; }
.phone-review span { color: #fff; letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.side { display: none; }
.side-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.side-card b { display: block; font-weight: 650; }
.side-card span { display: block; color: var(--muted); font-size: .92rem; }
.ok { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft); position: relative; }
.ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Why: the dark band */
.why { background: var(--night); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 12% 0%, rgba(66, 133, 244, 0.28), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(66, 133, 244, 0.14), transparent 70%); pointer-events: none; }
.why-in { position: relative; display: grid; gap: 44px; }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9db9f5; margin-bottom: 14px; }
.why h2 { margin-bottom: 22px; }
.why p { color: hsl(220 20% 82%); max-width: 56ch; }
.why p + p { margin-top: 14px; }
.why-points { display: grid; gap: 14px; }
.why-points li { padding: 20px 22px; border: 1px solid hsl(0 0% 100% / 0.12); border-radius: var(--radius); background: hsl(0 0% 100% / 0.04); }
.why-points h3 { margin-bottom: 6px; color: #fff; }
.why-points p { font-size: .98rem; }
.why :focus-visible { outline-color: #fff; }

/* Sections */
.block { padding: 84px 0; }
.tint { background: var(--soft); border-block: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: 40px; }
.head p { margin-top: 12px; font-size: 1.12rem; color: var(--muted); }

.grid { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }

.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-heading); font-weight: 800; }
.steps h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.steps p { color: var(--muted); }

.kinds { display: flex; flex-wrap: wrap; gap: 10px; }
.kinds li { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 9999px; font-weight: 500; font-size: .98rem; background: #fff; }
.price { margin-top: 48px; padding: 32px 28px; display: grid; gap: 22px; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-soft), #fff 60%); }
.price h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 8px; }
.price p { color: var(--muted); max-width: 54ch; }
.price .btn { justify-self: start; }

details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 10px; }
details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
summary { cursor: pointer; padding: 18px 0; font-family: var(--font-heading); font-weight: 650; font-size: 1.06rem; }
details p { padding-bottom: 20px; color: var(--muted); }

/* Contact */
.contact { display: grid; gap: 36px; align-items: start; }
.contact-text .lead { margin-top: 14px; }
.aside { margin-top: 22px; color: var(--muted); }
.aside a { color: var(--brand); font-weight: 600; }
.form { display: grid; gap: 16px; padding: 26px 22px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.two { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea {
  font: inherit; color: inherit; width: 100%; padding: 13px 14px; background: #fff;
  border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form input:hover, .form textarea:hover { border-color: hsl(222 28% 9% / 0.45); }
.form input:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(51, 103, 214, 0.18); }
.form textarea { resize: vertical; }
.form small { font-weight: 400; color: var(--muted); }
.form .btn { justify-self: start; min-width: 160px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.notice { padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.notice.ok { background: #e9f6ed; color: hsl(142 76% 22%); }
.notice.err { background: #fdecec; color: hsl(0 72% 34%); }

.foot { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .95rem; }
.foot-in { display: grid; gap: 8px; }
.foot b { color: var(--ink); }
.foot a { color: var(--ink); text-underline-offset: 3px; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr 1fr; }
  .form { padding: 34px 32px; }
  .why-points { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding-top: 96px; }
  .browser-body { grid-template-columns: 340px 1fr; gap: 40px; padding: 44px 48px 0; align-items: center; }
  .phone { margin: 0; }
  .side { display: grid; gap: 14px; padding-bottom: 44px; }
  .why { padding: 112px 0; }
  .why-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .block { padding: 112px 0; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .price { grid-template-columns: 1fr auto; padding: 40px 44px; }
  .contact { grid-template-columns: 0.85fr 1fr; gap: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .form input, .form textarea { transition: none; }
  .btn-brand:hover, .card:hover { transform: none; }
}
