/* RD Store IQ landing. Colours and type follow the Granary tokens (docs/design/ui-design-system.md); no third-party request. */
@font-face { font-family: "Inter"; src: url("/site/fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Devanagari"; src: url("/site/fonts/NotoSansDevanagari.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #101828; --ink-2: #4a5565; --rule: #e5e7eb; --panel: #f9fafb; --bg: #ffffff;
  --action: #4f46e5; --on-action: #ffffff; --card: #ffffff;
  --font: Inter, "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #f3f4f6; --ink-2: #b6bdc9; --rule: #2d3441; --panel: #171c26; --bg: #0e121a; --action: #9aa0ff; --on-action: #0e121a; --card: #141923; color-scheme: dark; }
}
:root[data-theme="dark"] { --ink: #f3f4f6; --ink-2: #b6bdc9; --rule: #2d3441; --panel: #171c26; --bg: #0e121a; --action: #9aa0ff; --on-action: #0e121a; --card: #141923; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); }
a { color: var(--action); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.bar { border-bottom: 1px solid var(--rule); }
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 18px; color: var(--action); text-decoration: none; }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.lang a, .lang span { padding: 6px 12px; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.lang [aria-current="true"] { background: var(--panel); color: var(--ink); font-weight: 600; }
#theme-toggle { font: inherit; font-size: 14px; padding: 6px 12px; color: var(--ink-2); background: transparent; border: 1px solid var(--rule); border-radius: 8px; cursor: pointer; }
#theme-toggle[aria-pressed="true"] { background: var(--panel); color: var(--ink); }

.hero { padding: 72px 0 56px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--action); margin: 0 0 12px; }
.hero h1 { font-size: 48px; line-height: 1.15; margin: 0 0 16px; }
.hero .lede { font-size: 20px; color: var(--ink-2); max-width: 680px; margin: 0 0 12px; }
.hero .line { font-size: 18px; max-width: 680px; margin: 0; }

section { padding: 56px 0; border-top: 1px solid var(--rule); }
section h2 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
section .sub { color: var(--ink-2); max-width: 680px; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 20px; }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
ol.steps li { counter-increment: s; background: var(--panel); border-radius: 12px; padding: 20px; }
ol.steps li::before { content: counter(s); display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--action); color: var(--on-action); font-weight: 700; margin-bottom: 10px; }
ol.steps h3 { font-size: 17px; margin: 0 0 6px; }
ol.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.platform p { max-width: 720px; margin: 0; font-size: 17px; }
ul.value { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
ul.value li { border-left: 3px solid var(--action); padding: 4px 0 4px 16px; }

footer { border-top: 1px solid var(--rule); background: var(--panel); padding: 32px 0; font-size: 14px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* privacy and terms */
.doc { max-width: 760px; padding: 40px 24px 64px; margin: 0 auto; }
.doc h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }

@media (max-width: 860px) {
  .grid, ol.steps, ul.value { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 18px; }
  section { padding: 36px 0; }
  section h2 { font-size: 25px; }
}
