/* Somosoft — ultra-lean, system fonts only, single file, ~6KB */

/* ---------- tokens ---------- */
:root {
  --bg: #0b0d10;
  --bg-2: #11151a;
  --line: #1c2229;
  --ink: #f3f5f7;
  --ink-mute: #9aa3ad;
  --ink-faint: #6b7480;
  --brand: #38bdf8;        /* sky-400 to match Eatlit */
  --brand-deep: #0284c7;   /* sky-600 */
  --accent: #fb7185;       /* rose-400 (Eatlit vege accent) */
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1120px;
  --shadow: 0 8px 30px rgba(0,0,0,.35);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
img,svg { max-width:100%; display:block; height:auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--ink-mute); }
.lead { font-size: 1.15rem; color: var(--ink-mute); max-width: 60ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,13,16,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink-mute); font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  background: var(--brand); color: #04212e;
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.nav-cta:hover { background: #7dd3fc; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 96px;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(600px 300px at 0% 10%, rgba(251,113,133,.10), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-mute); font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 24px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600;
  border: 1px solid transparent; transition: .15s;
}
.btn-primary { background: var(--brand); color: #04212e; }
.btn-primary:hover { background: #7dd3fc; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-mute); }

.phone-stack {
  display: flex; gap: 18px; justify-content: center;
  perspective: 1000px;
  align-items: center;
  max-width: 540px;
  margin-left: auto;
}
.phone {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1f26;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
  transition: .25s;
  flex: 1 1 0;
  max-height: 520px;
  display: flex; align-items: stretch; justify-content: center;
}
.phone:nth-child(2) { transform: rotate(4deg); }
.phone:hover { transform: rotate(0); }
.phone img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #0b0d10;
}
@media (max-width: 900px) {
  .phone-stack { max-width: 100%; }
  .phone { max-height: 360px; }
}

/* ---------- app cards ---------- */
.apps {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px;
}
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: .2s;
}
.card:hover { border-color: #2c343d; transform: translateY(-2px); }
.card-media { aspect-ratio: 1.6/1; background: #0b0d10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px; }
.card-eyebrow { color: var(--brand); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.card h3 { margin: 6px 0 10px; font-size: 1.5rem; }
.card-cta { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.card-cta::after { content: '\2192'; transition: .15s; }
.card-cta:hover { color: #7dd3fc; }
.card-cta:hover::after { transform: translateX(2px); }

/* ---------- about strip ---------- */
.about {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { display: block; font-size: 1.8rem; color: var(--ink); }
.stat span { color: var(--ink-faint); font-size: .85rem; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
.feat {
  padding: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.feat svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 14px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { font-size: .9rem; margin: 0; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
form { display: grid; gap: 14px; }
label { font-size: .85rem; color: var(--ink-mute); margin-bottom: 4px; display: block; }
input, textarea, select {
  width: 100%; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); transition: .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(56,189,248,.15);
}
textarea { min-height: 130px; resize: vertical; }
.form-msg { font-size: .9rem; min-height: 20px; }
.form-msg.ok { color: #6ee7b7; }
.form-msg.err { color: #fca5a5; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: var(--ink-mute); }
.check input { width: auto; margin-top: 4px; }

.contact-meta {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
}
.contact-meta h3 { margin-bottom: 14px; }
.contact-meta p { font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #161b22; border: 1px solid var(--line); color: var(--ink-mute);
  transition: .15s;
}
.socials a:hover { color: var(--ink); border-color: var(--ink-mute); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--ink-faint); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.foot a:hover { color: var(--ink); }

/* ---------- utility ---------- */
.center { text-align: center; }
.text-mute { color: var(--ink-mute); }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(56,189,248,.12); color: var(--brand); font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}

/* ---------- print/404 ---------- */
.err-hero { text-align: center; padding: 140px 0; }
.err-hero h1 { font-size: clamp(4rem, 12vw, 9rem); margin: 0; color: var(--brand); }
