/* Inaryn — site styles. Brand: navy #0A3660 -> #010F2B, accent #3C8CDC. */
:root {
  --navy: #0a3660;
  --navy-2: #010f2b;
  --blue: #3c8cdc;
  --blue-ink: #1f6fbf;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #0f1a2e;
  --muted: #55627a;
  --line: #dfe5ef;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 8px 28px rgba(11, 27, 58, .08);
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070f22;
    --surface: #0e1a35;
    --text: #e8eef9;
    --muted: #9aa8c2;
    --line: #1f2f52;
    --blue-ink: #7fb6ee;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-weight: 800; letter-spacing: .14em; font-size: 1.05rem; }
.nav { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(60, 140, 220, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 88px 0 96px;
}
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: #8fd0f5; font-weight: 700; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.01em; }
.hero p.lead { font-size: 1.15rem; color: #c9d6ee; margin: 0 0 28px; max-width: 34em; }
.hero-mark { justify-self: center; width: min(280px, 70%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); border-radius: 22%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; text-decoration: none;
  background: var(--blue); color: #fff; border: 1px solid transparent;
}
.btn:hover { background: #2f7cc9; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.btn.ghost:hover { opacity: 1; background: rgba(255, 255, 255, .06); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section.block { padding: 72px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: 1.8rem; margin: 0 0 6px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.card .app-head { display: flex; gap: 14px; align-items: center; }
.card .app-head img { width: 64px; height: 64px; border-radius: 15px; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card .tag { color: var(--muted); font-size: .88rem; margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: auto; font-weight: 600; font-size: .95rem; }
.card.soon { border-style: dashed; box-shadow: none; justify-content: center; align-items: center; text-align: center; min-height: 200px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.feature h3 { margin: 0 0 6px; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.about .logo-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }

/* App page hero */
.app-hero { padding: 64px 0 56px; }
.app-hero .wrap { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.app-hero img.icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.app-hero h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.app-hero p { margin: 0 0 18px; color: #c9d6ee; }

/* Legal / prose */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 8px; }
.prose .meta { color: var(--muted); margin: 0 0 32px; font-size: .95rem; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 4px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 12px 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.note {
  background: color-mix(in srgb, var(--blue) 10%, var(--surface)); border-left: 4px solid var(--blue);
  padding: 14px 18px; border-radius: 10px; margin: 18px 0;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .hero-mark { width: 160px; justify-self: start; order: -1; }
  .nav .hide-sm { display: none; }
  .toc ol { columns: 1; }
  section.block { padding: 52px 0; }
}

/* Extras */
.badge {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue-ink);
}
.hero .badge, .app-hero .badge { background: rgba(255, 255, 255, .12); color: #cfe4fb; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; list-style: none; }
.chips li { padding: 4px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: rgba(255, 255, 255, .1); color: #e3eefc; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.shot-ph {
  aspect-ratio: 9 / 19; border-radius: 22px; border: 2px dashed var(--line);
  display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 12px;
}
.callout {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; justify-content: space-between;
}
.callout p { margin: 0; color: var(--muted); max-width: 46em; }
.feature-graphic { border-radius: var(--radius); box-shadow: var(--shadow); }
section.block.flush-top { padding-top: 0; }
