/* Ran Intelligence — one page, Apple-like: system type, lots of air, one accent. No scripts, no web fonts. */
:root {
  --bg: #fbfbfd; --card: #ffffff; --text: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --accent: #0071e3; --accent-h: #0077ed; --dark: #000000; --dark-2: #161617; --dark-muted: #a1a1a6; --alt: #f5f5f7; --error: #d70015;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --card: #1c1c1e; --text: #f5f5f7; --muted: #a1a1a6; --line: #38383a; --accent: #2997ff; --accent-h: #47a6ff; --dark: #101012; --dark-2: #1c1c1e; --alt: #161617; --error: #ff453a; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
html.returned { scroll-behavior: auto; }   /* form sent back with an error: open right at the field, no animation */
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 max(22px, calc((100vw - 1024px) / 2)); background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav nav a { color: var(--text); opacity: .8; }
.nav nav a:hover { opacity: 1; text-decoration: none; }
.nav nav a.pill { opacity: 1; background: var(--accent); color: #fff; padding: 5px 13px; border-radius: 980px; }
@media (max-width: 600px) { .nav nav a:not(.pill) { display: none; } }

/* type */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .01em; margin: 0 0 10px; }
h1 { font-size: clamp(44px, 8vw, 80px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 0 0 22px; }
h1 .soft { color: var(--muted); }
h2 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 21px; letter-spacing: -.015em; margin: 14px 0 8px; }
.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; color: var(--muted); max-width: 720px; margin: 0 auto 34px; }
.sub { font-size: 21px; line-height: 1.4; color: var(--muted); max-width: 680px; margin: 0 0 48px; }

/* layout */
.hero { text-align: center; padding: 130px 22px 120px; max-width: 1024px; margin: 0 auto; }
.section { padding: 110px max(22px, calc((100vw - 1024px) / 2)); }
.section.dark { background: var(--dark); color: #f5f5f7; }
.section.dark .sub, .section.dark .eyebrow { color: var(--dark-muted); }
.cta { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.button { display: inline-block; background: var(--accent); color: #fff; font: inherit; font-size: 17px; font-weight: 500;
  padding: 12px 24px; border-radius: 980px; border: 0; cursor: pointer; transition: background .15s; }
.button:hover { background: var(--accent-h); text-decoration: none; }
.link { font-size: 19px; }
.link.light { color: #2997ff; display: inline-block; margin-top: 40px; }

/* services */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 22px; padding: 30px 28px 32px; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.glyph { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(140deg, #2997ff, #5e5ce6); color: #fff; }

/* product showcase */
.showcase { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }
.screen { border-radius: 22px; padding: 12px; background: #2c2c2e; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.tv { aspect-ratio: 16 / 9; border-radius: 12px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center; padding: 0 6% 7%; text-align: center;
  background: radial-gradient(120% 90% at 30% 20%, #3a4a6b 0%, #1b2233 45%, #0b0d12 100%); }
.tv span { background: rgba(0,0,0,.55); border-radius: 6px; padding: 2px 10px; margin-top: 6px; font-weight: 600; }
.tv .prev { color: rgba(255,255,255,.55); font-size: clamp(11px, 1.6vw, 16px); }
.tv .now { color: #fff; font-size: clamp(13px, 2vw, 21px); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.facts b { display: block; font-size: 44px; letter-spacing: -.03em; line-height: 1; }
.facts span { color: var(--dark-muted); }

/* second product (light band) */
.section.alt { background: var(--alt); }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.app-head img { width: 72px; height: 72px; border-radius: 22.5%; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.app-head .eyebrow { margin: 0; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3.5vw, 40px); margin: 8px 0 64px; }
.phones figure { margin: 0; flex: 0 1 230px; text-align: center; }
.phones figure:nth-child(2) { flex-basis: 260px; }
.phone { background: #1d1d1f; padding: 3.6%; border-radius: 15% / 7%; box-shadow: 0 28px 56px rgba(0,0,0,.18), inset 0 0 0 1px #3a3a3c; }
.phone img { display: block; width: 100%; height: auto; border-radius: 12% / 5.5%; }
.phones figcaption { font-size: 14px; color: var(--muted); margin-top: 16px; }
@media (max-width: 600px) { .phones figcaption { display: none; } .phones { margin-bottom: 48px; } }
.facts.inline { grid-template-columns: repeat(3, 1fr); gap: 26px 40px; }
@media (max-width: 600px) { .facts.inline { grid-template-columns: 1fr; } }
.section.alt .facts span { color: var(--muted); }
.note { color: var(--muted); font-style: italic; margin: 40px 0 0; }
.section.alt .link { display: inline-block; margin-top: 14px; }

/* approach */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--text);
  font-weight: 600; font-size: 16px; }

/* contact */
.contact { text-align: left; }
.form { max-width: 680px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form .opt { font-weight: 400; }
.form input, .form textarea { font: inherit; font-size: 17px; color: var(--text); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form .button { justify-self: start; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; }
.captcha { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.captcha img { display: block; width: 200px; height: 70px; border-radius: 12px; border: 1px solid var(--line); }
.captcha label { flex: 1 1 200px; }
.captcha input { text-transform: uppercase; letter-spacing: .12em; }
.hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.form [aria-invalid="true"], .form [aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 4px color-mix(in srgb, var(--error) 16%, transparent); }
.field-error { color: var(--error); font-size: 14px; font-weight: 500; }
.form > .field-error { margin-top: -8px; }
.direct { color: var(--muted); margin-top: 26px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 34px max(22px, calc((100vw - 1024px) / 2)) 40px; font-size: 13px; color: var(--muted); }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.footer .cols div { display: grid; gap: 4px; }
.footer b { color: var(--text); font-weight: 600; }
.footer a { color: var(--muted); }
.footer .copy { margin: 24px 0 0; }

/* message pages (privacy, thank you) */
.page { max-width: 760px; margin: 0 auto; padding: 90px 22px 80px; }
.page h1 { font-size: clamp(38px, 6vw, 56px); }
.page h2 { font-size: 24px; letter-spacing: -.015em; margin: 34px 0 8px; }
.page p, .page li { color: var(--muted); }
.page .button { margin-top: 18px; }
