/* ============================================
   Oaka AI — Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueRoman.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueBold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #0A0A0A;
  --panel: #131211;
  --panel-2: #1A1815;
  --line: #262422;
  --line-soft: #1C1A18;
  --white: #FAFAFA;
  --muted: #9C9890;
  --muted-2: #6E6A63;
  --orange: #FFA32F;
  --orange-deep: #D67E12;
  --orange-pale: rgba(255,163,47,0.1);
  --orange-line: rgba(255,163,47,0.3);
  --green: #7FD9A8;

  --paper: #F7F4ED;
  --paper-ink: #1C1A16;
  --paper-ink-soft: #5C584F;
  --paper-line: #E4DFD3;

  --sans: 'Inter', -apple-system, sans-serif;
  --heading: 'Helvetica Neue', 'Inter', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --radius: 16px;
  --radius-sm: 10px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
.wrap { max-width: 1240px; margin:0 auto; padding:0 40px; }

h1, h2, h3, h4 { font-family: var(--heading); }

/* reveal-on-scroll */
.reveal { opacity:0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior:auto; }
}

/* ambient background */
.glow-field { position:absolute; inset:0; z-index:0; pointer-events:none; }
.grain {
  position:fixed; inset:0; z-index:1; opacity:0.035; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav */
.site-header {
  position:sticky; top:0; z-index:50;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:22px 0; }
.logo img { height:26px; width:auto; }
.main-nav { display:flex; gap:38px; }
.nav-link { font-size:14.5px; font-weight:500; color:var(--muted); transition:color 0.2s; }
.nav-link:hover, .nav-link.active { color:var(--white); }
.nav-actions { display:flex; align-items:center; gap:20px; }
.btn-primary {
  font-size:14.5px; font-weight:600; color:var(--black); background:var(--white);
  padding:12px 24px; border-radius:99px; display:inline-flex; align-items:center; gap:8px;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: var(--orange); transform: translateY(-1px); }
.btn-ghost {
  font-size:14.5px; font-weight:600; color:var(--white); background:transparent; border:1px solid var(--line);
  padding:12px 24px; border-radius:99px; transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--muted-2); background: var(--panel); }

/* eyebrow / stamp */
.eyebrow {
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--mono); font-size:12.5px; font-weight:500; letter-spacing:0.08em; text-transform:uppercase;
  color:#FFB95E; background: var(--orange-pale); border:1px solid var(--orange-line);
  padding:8px 16px; border-radius:99px;
}
.eyebrow .dot { width:6px; height:6px; border-radius:50%; background:var(--orange); }

/* section rhythm */
section { position:relative; z-index:5; padding: 120px 0; }
.section-head { max-width:640px; }
.section-head h2 { font-size:42px; font-weight:800; letter-spacing:-0.02em; line-height:1.12; }
.section-head p { margin-top:16px; font-size:17px; color:var(--muted); line-height:1.6; }

/* footer */
footer { position:relative; z-index:5; border-top:1px solid var(--line-soft); padding:64px 0 40px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:48px; }
.footer-brand p { margin-top:14px; font-size:14px; color:var(--muted-2); line-height:1.6; max-width:280px; }
.footer-col h4 { font-family:var(--mono); font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted-2); margin-bottom:16px; }
.footer-col a { display:block; font-size:14px; color:var(--muted); margin-bottom:11px; transition:color 0.2s; }
.footer-col a:hover { color:var(--white); }
.footer-bottom { margin-top:56px; padding-top:24px; border-top:1px solid var(--line-soft); font-size:13px; color:var(--muted-2); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }

/* platform tag — distinguishes Shopify App Store apps from standalone web apps */
.platform-tag {
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--mono); font-size:10px; font-weight:500; text-transform:uppercase; letter-spacing:0.04em;
  color:var(--muted); background:var(--panel-2); border:1px solid var(--line);
  padding:4px 10px; border-radius:99px;
}
.platform-tag.store { color:#93C0FF; background:rgba(59,130,246,0.08); border-color:rgba(59,130,246,0.28); }

@media (max-width: 900px) {
  .wrap { padding:0 24px; }
  .main-nav { display:none; }
  .section-head h2 { font-size:32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 80px 0; }
}
