/* Theory Israel landing. Colours and font are the app's own (shared/ui/theme/Theme.kt). */
@font-face {
  font-family: "Rubik";
  src: url("/font/rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --bg: #0f1013;
  --surface: #1a1c21;
  --raised: #16181c;
  --outline: #2a2d34;
  --text: #f5f5f2;
  --muted: #a3a6ad;
  --acc: #ffc700;
  --acc-surface: #1f1d12;
  --on-acc: #111;
  --r: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; margin-bottom: 14px; }
.acc { color: var(--acc); }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
main > section { margin-block: 96px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.langs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--outline); border-radius: 999px; padding: 4px; }
.langs a, .langs span { padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.langs a:hover { color: var(--text); text-decoration: none; }
.langs .on { background: var(--acc); color: var(--on-acc); }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; margin-top: 40px !important; }
.chip { display: inline-block; margin: 0 0 22px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 199, 0, .14); color: var(--acc); font-weight: 600; font-size: 15px; }
h1 { font-size: clamp(42px, 6.6vw, 78px); font-weight: 900; text-wrap: balance; }
h1 .acc { white-space: nowrap; }
h2 { text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); margin: 22px 0 30px; max-width: 560px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: block; border-radius: 10px; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store img { height: 54px; width: auto; }
.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.perks li::before { content: "✓"; color: var(--acc); font-weight: 700; margin-inline-end: 8px; }

.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone::before { /* soft yellow glow, like the store art */
  content: ""; position: absolute; inset: 10% 0 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 199, 0, .22), transparent);
  filter: blur(20px); z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: min(330px, 78vw); padding: 11px; border-radius: 54px;
  background: #050506; box-shadow: 0 0 0 1.5px #3a3d44, 0 40px 90px rgba(0, 0, 0, .7);
}
.phone img { border-radius: 44px; width: 100%; }

/* stats strip */
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-block: 64px !important; }
.stats li { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r); padding: 20px 22px; }
.stats b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--acc); }
.stats span { color: var(--muted); font-size: 15px; }

/* screenshots rail */
.shots h2 { margin-bottom: 26px; }
.rail {
  list-style: none; margin: 0; padding: 4px max(20px, calc((100% - var(--wrap)) / 2)) 18px;
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100% - var(--wrap)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--outline) transparent;
}
.rail li { flex: 0 0 clamp(220px, 24vw, 300px); scroll-snap-align: start; }
.rail img { border-radius: 26px; border: 1px solid var(--outline); width: 100%; }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r); padding: 26px; }
.card h3 { font-size: 21px; font-weight: 700; margin: 18px 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.ic { width: 48px; height: 48px; border-radius: 14px; background: var(--acc); display: grid; place-items: center; }
.ic svg { width: 26px; height: 26px; fill: none; stroke: var(--on-acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* licence classes: plates like in the app */
.classes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.classes li { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--outline); border-radius: 18px; padding: 14px 16px; }
.plate {
  flex: none; min-width: 54px; height: 44px; padding: 0 8px; display: grid; place-items: center;
  background: var(--acc); color: var(--on-acc); font-weight: 800; font-size: 20px; border-radius: 10px;
  box-shadow: inset 0 0 0 2.5px var(--on-acc), 0 0 0 2px var(--acc);
}
.cn b { display: block; font-weight: 600; }
.cn small { color: var(--muted); font-size: 14px; }

/* exam text */
.prose p { max-width: 820px;
   color: #d4d5d8; margin: 0 0 16px; }

/* faq */
.faq details, .faq h2 { max-width: 820px; }
.faq h2 { margin-bottom: 22px; }
details { border-bottom: 1px solid var(--outline); }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--acc); font-weight: 400; font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 20px; }

/* final call to action */
.cta { text-align: center; background: radial-gradient(ellipse at top, rgba(255, 199, 0, .12), transparent 60%), var(--raised); border: 1px solid var(--outline); border-radius: 32px; padding: 56px 24px; }
.cta > img { margin: 0 auto 22px; border-radius: 22px; }
.cta .sub { margin-inline: auto; }
.cta .stores { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--outline); padding-block: 36px 48px; color: var(--muted); font-size: 14px; }
.disc { max-width: 820px; margin: 0 0 18px; }
.links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 14px; }
.links a { color: var(--text); }
.copy { margin: 0; }

/* 404 and /get */
.nf { display: grid; gap: 44px; padding-block: 12vh; text-align: center; }
.nf h1 { font-size: 40px; }
.nf p { color: var(--muted); }
.btn { display: inline-block; background: var(--acc); color: var(--on-acc); font-weight: 700; padding: 12px 24px; border-radius: 999px; }
.btn:hover { text-decoration: none; }
.redirect { padding-block: 20vh; text-align: center; }

/* cookie notice */
.cookie {
  position: fixed; z-index: 10; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 560px;
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px;
  background: var(--surface); border: 1px solid var(--outline); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5); font-size: 14px; color: var(--muted);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie button {
  flex: none; font: inherit; font-weight: 700; color: var(--on-acc); background: var(--acc);
  border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; text-align: center; margin-top: 16px !important; }
  .lead { margin-inline: auto; }
  .stores, .perks { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr 1fr; }
  main > section { margin-block: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .store img { height: 48px; }
  .brand span { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store, summary::after { transition: none; }
}
