/*
 * obolium.com
 *
 * The tokens are the app's own (app/lib/design/app_theme.dart, bronze family)
 * and the merchant panel's (ob-merchant global.css), so the site, the app
 * and the panel read as one product. Change a colour there first.
 */

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/Manrope-Variable.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --page: #f3f4f6;
  --card: #ffffff;
  --border: #e3e6eb;
  --ink: #191e27;
  --ink-2: #545e6e;
  --ink-3: #656f7e;
  --accent: #8a6134;
  --accent-strong: #6f4c27;
  --on-accent: #ffffff;
  --wash: rgba(138, 97, 52, 0.1);
  --wash-strong: rgba(138, 97, 52, 0.16);
  --positive: #1f7a47;
  --card-ink: #15181c;
  --card-face: #1c222b;
  --radius-card: 20px;
  --radius-inner: 14px;
  --shadow-card: 0 1px 2px rgba(25, 30, 39, 0.04), 0 6px 20px rgba(25, 30, 39, 0.05);
  --shadow-lift: 0 2px 4px rgba(25, 30, 39, 0.05), 0 24px 60px rgba(25, 30, 39, 0.12);
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #14181f;
    --card: #1c222b;
    --border: #2a3340;
    --ink: #e6ebf2;
    --ink-2: #a6afbd;
    --ink-3: #8a93a3;
    --accent: #c79a66;
    --accent-strong: #d9b286;
    --on-accent: #201709;
    --wash: rgba(199, 154, 102, 0.12);
    --wash-strong: rgba(199, 154, 102, 0.2);
    --positive: #57c384;
    --card-face: #232b37;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

/* Only one language is on screen. The toggle sets data-lang on <html>;
   without script the page stays English. */
html[data-lang='tr'] [lang='en'],
html:not([data-lang='tr']) body [lang='tr'] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  padding: 8px 14px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.top__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 10px; text-decoration: none;
  color: var(--ink-2); font-weight: 600; font-size: 15px;
}
.nav a:hover { color: var(--ink); background: var(--wash); }
.lang {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--card);
}
.lang button {
  appearance: none; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-3);
  min-width: 36px; min-height: 30px; border-radius: 999px;
}
.lang button[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); }
@media (max-width: 720px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; transition: transform .12s, background-color .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: var(--card); border-color: var(--border); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(720px 420px at 80% 22%, var(--wash-strong), transparent 70%),
    radial-gradient(560px 360px at 8% 0%, var(--wash), transparent 70%);
}
/* A faint dot grid behind the hero, fading out downward: gives the page a
   surface without competing with the text. */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 85%);
}

/* Reveal on scroll. Elements start hidden only once the script has run
   (html.js), so a browser without script sees everything. */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; transition: none; } }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--wash); color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

h1 {
  margin: 0 0 18px; font-size: clamp(38px, 6vw, 62px); line-height: 1.05;
  letter-spacing: -0.035em; font-weight: 800;
}
h1 em { font-style: normal; color: var(--accent); }
.lede { margin: 0 0 28px; font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-2); max-width: 34em; }
.lede strong { color: var(--ink); font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stores__label { font-size: 14px; color: var(--ink-3); font-weight: 600; width: 100%; }
.store {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.store svg { width: 18px; height: 18px; }

/* The phone in the hero: the app's home screen drawn in its own theme.
   Not a screenshot (the app blocks them, FLAG_SECURE) and not a promise of
   balances: an illustration of the four actions and the asset list. */
.phone-wrap { position: relative; display: grid; place-items: center; padding: 24px 0 8px; }
.orb { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .55; pointer-events: none; }
.orb--a { width: 320px; height: 320px; background: var(--wash-strong); right: -6%; top: -4%; }
.orb--b { width: 260px; height: 260px; background: color-mix(in srgb, var(--positive) 14%, transparent); left: -8%; bottom: 0; }
.phone {
  position: relative; width: min(100%, 290px); aspect-ratio: 9 / 18.6; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #2a3340, #14181f);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-3deg);
  transition: transform .5s ease;
}
.phone-wrap:hover .phone { transform: rotate(-1.5deg) translateY(-4px); }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 92px; height: 26px; border-radius: 13px; background: #0b0d10; transform: translateX(-50%); z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #1c222b, #14181f);
  color: #e6ebf2; padding: 58px 16px 18px; display: flex; flex-direction: column; gap: 14px;
  font-size: 13px;
}
.ph-top { position: absolute; top: 20px; left: 30px; right: 30px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #a6afbd; }
.ph-sig { width: 34px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #a6afbd 70%, transparent 70%); opacity: .8; }
.ph-head { display: flex; align-items: center; gap: 8px; font-weight: 750; font-size: 15px; }
.ph-mark { width: 22px; height: 22px; color: #c79a66; }
.ph-net { margin-left: auto; font-size: 11px; font-weight: 700; color: #c79a66; background: rgba(199,154,102,.14); padding: 3px 9px; border-radius: 999px; }
.ph-bal { display: grid; gap: 2px; padding: 4px 0 2px; }
.ph-bal small { color: #8a93a3; font-weight: 600; }
.ph-bal strong { font-size: 30px; letter-spacing: -.03em; font-weight: 800; line-height: 1.1; }
.ph-bal strong span { font-size: 18px; color: #a6afbd; }
.ph-bal em { font-style: normal; color: #57c384; font-weight: 700; font-size: 12px; }
.ph-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ph-actions span { display: grid; place-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #a6afbd; }
.ph-actions i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #232b37; color: #c79a66; font-style: normal; font-size: 17px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.ph-list { display: grid; gap: 8px; }
.ph-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.ph-row img { width: 32px; height: 32px; border-radius: 50%; }
.ph-row b { display: block; font-size: 13px; }
.ph-row small { display: block; color: #8a93a3; font-size: 11px; }
.ph-amt { text-align: right; font-variant-numeric: tabular-nums; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 16px; max-width: 230px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lift);
  font-size: 13.5px; font-weight: 700; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float i { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--positive) 14%, transparent); color: var(--positive); font-style: normal; }
.float svg { width: 16px; height: 16px; }
.float small { display: block; color: var(--ink-3); font-weight: 600; }
.float--a { left: -6%; top: 44%; }
.float--b { right: -2%; bottom: 12%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } .phone, .phone-wrap:hover .phone { transform: rotate(-3deg); } }
/* Stacked under the text there is no room beside the phone: the tags sit in
   a row under it instead of over its balance (measured at 375 px). */
@media (max-width: 900px) {
  .phone-wrap { padding: 8px 0 0; grid-template-columns: 1fr 1fr; gap: 12px; }
  .phone { width: min(78%, 280px); grid-column: 1 / -1; }
  .float { position: static; animation: none; max-width: none; }
  .float--a { justify-self: end; }
  .float--b { justify-self: start; }
}
@media (max-width: 480px) { .float { font-size: 12.5px; padding: 10px 12px; } .phone { width: 68%; } }

/* Trust strip */
.strip { margin-top: 8px; }
.strip__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 18px 8px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.strip__row > div { display: grid; gap: 2px; padding: 6px 12px; }
.strip__row b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); }
.strip__row span { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
@media (max-width: 800px) { .strip__row { grid-template-columns: repeat(2, 1fr); } }

/* Chains row */
.chains { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.chains__label { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.chains ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chains li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); font-size: 13.5px; font-weight: 700; }
.chains li img { width: 24px; height: 24px; border-radius: 50%; }

/* Sections */
section { scroll-margin-top: 72px; }
.section { padding: 64px 0; }
.section__head { max-width: 40em; margin-bottom: 32px; }
.kicker { margin: 0 0 10px; color: var(--accent); font-weight: 750; font-size: 14px; letter-spacing: 0.02em; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.section__head p { margin: 0; color: var(--ink-2); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.card h3 { margin: 14px 0 6px; font-size: 18px; font-weight: 750; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.icon {
  width: 44px; height: 44px; border-radius: var(--radius-inner);
  display: grid; place-items: center; background: var(--wash); color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

/* What you can do: the app's own actions, in its order. */
.acts { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .acts { grid-template-columns: 1fr; } }
.act { text-align: left; }
.act .icon { width: 52px; height: 52px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-card); }

/* The name */
.story {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 28px;
  padding: 40px; box-shadow: var(--shadow-card);
}
.story svg { width: 120px; height: 120px; color: var(--accent); }
.story p { margin: 0 0 12px; color: var(--ink-2); max-width: 38em; }
.story p:last-child { margin-bottom: 0; color: var(--ink); font-weight: 650; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; padding: 28px; } .story svg { width: 84px; height: 84px; } }

/* Business band */
.biz {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  border-radius: 28px; padding: 40px;
  background: linear-gradient(160deg, #1c222b, #14181f); color: #e6ebf2;
}
.biz h2 { color: #e6ebf2; }
.biz p { color: #a6afbd; margin: 0 0 20px; }
.biz .kicker { color: #c79a66; }
.biz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.biz li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08); color: #e6ebf2; font-weight: 600; font-size: 15.5px;
}
.biz li svg { flex: 0 0 auto; width: 20px; height: 20px; color: #c79a66; margin-top: 2px; }
.biz .btn--primary { background: #c79a66; color: #201709; }
.biz .btn--primary:hover { background: #d9b286; }
@media (max-width: 860px) { .biz { grid-template-columns: 1fr; padding: 28px; } }

/* Roadmap */
.road { display: grid; gap: 12px; }
.step {
  display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline;
  padding: 18px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--border);
}
.step--done { border-left-color: var(--positive); }
.step b { font-weight: 750; font-size: 14px; color: var(--ink-3); }
.step span { font-weight: 600; }
.step--done b { color: var(--positive); }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 4px; } }

/* Footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--border); margin-top: 32px; color: var(--ink-3); font-size: 14px; background: linear-gradient(180deg, transparent, var(--wash)); }
.foot__row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-start; }
.foot__brand { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 750; }
.foot__brand svg { width: 24px; height: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--accent); }
.foot p { margin: 16px 0 0; max-width: 46em; }
