/* SoftOrbit studio site. System fonts only, no scripts, no third-party requests. */

:root {
  --bg: #F6F4EF;
  --bg2: #EEEBE3;
  --surface: #FFFFFF;
  --ink: #12141C;
  --ink2: #474C5A;
  --muted: #6A6F7D;
  --line: #E2DED4;
  --line2: #CFCADD;
  --accent: #3F4FD8;
  --accent-ink: #2F3DB5;
  --accent-soft: #E6E8FB;
  --core: #14162B;
  --shadow: 0 1px 2px rgba(18, 20, 28, .05), 0 12px 32px -12px rgba(18, 20, 28, .18);

  /* App brand colours, taken from each app's own site */
  --twovia: #B8472F;  --twovia-bg: #FAF3EC; --twovia-ink: #9C3A25;
  --billow: #0E7490;  --billow-bg: #EAF4F7; --billow-ink: #0B3C4A;
  --nabo: #1E6B5C;    --nabo-bg: #EDF4F1;   --nabo-ink: #164F44;
  --odovo: #3D6BF2;   --odovo-bg: #EDF1FC;  --odovo-ink: #1F4FD8;
  --vila: #0B2239;    --vila-bg: #EEF2F6;   --vila-ink: #0B2239;

  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 28px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0E14;
    --bg2: #12151D;
    --surface: #171A23;
    --ink: #F1F1EE;
    --ink2: #C2C5CF;
    --muted: #979BA8;
    --line: #262A36;
    --line2: #343A4C;
    --accent: #9AA6FF;
    --accent-ink: #B7C0FF;
    --accent-soft: #1E2240;
    --core: #F1F1EE;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);

    --twovia: #E07A60;  --twovia-bg: #1D1513; --twovia-ink: #F0A08A;
    --billow: #3CC4DB;  --billow-bg: #0E1B20; --billow-ink: #8DDDEB;
    --nabo: #4FB39C;    --nabo-bg: #101B18;   --nabo-ink: #8FD5C4;
    --odovo: #7B9BFF;   --odovo-bg: #111628;  --odovo-ink: #A9BEFF;
    --vila: #8FB3D9;    --vila-bg: #111821;   --vila-ink: #B9D0E8;
    color-scheme: dark;
  }
}

* { 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(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
em.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--bg2); }
.nav .nav-cta { color: var(--surface); background: var(--ink); }
.nav .nav-cta:hover { color: var(--surface); background: var(--ink2); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; position: relative; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 112px; } .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); margin: 18px 0 22px; letter-spacing: -0.04em; }
.hero h1 em.serif { color: var(--accent); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line2); }
.btn-ghost:hover { background: var(--surface); }

/* Orbit illustration */
.orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: 0 auto; }
.orbit::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 75%);
}
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--line2); }
.ring-1 { inset: 22%; animation: spin 80s linear infinite; }
.ring-2 { inset: 4%; animation: spin 130s linear infinite reverse; }
.planet { position: absolute; left: var(--x); top: var(--y); width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.ring-1 .planet { width: 25%; }
.planet > * { width: 100%; height: 100%; border-radius: 23%; box-shadow: var(--shadow); animation: spin 80s linear infinite reverse; }
.ring-2 .planet > * { animation: spin 130s linear infinite; }
.planet.small { width: 13%; }
.planet.small > * { border-radius: 50%; }
.core {
  position: absolute; inset: 39%; border-radius: 50%; background: var(--core);
  display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--core) 8%, transparent), var(--shadow);
}
.core svg { width: 58%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring, .planet > * { animation: none !important; } }

.odovo-icon { background: #0F1720; display: grid; place-items: center; }
.odovo-icon svg { width: 100%; height: 100%; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 46em; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.035em; }
.section-head p { color: var(--ink2); font-size: 19px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

.apps { padding: 24px 0 88px; }
.app-list { display: grid; gap: 24px; }

.app {
  --c: var(--accent); --cbg: var(--surface); --cink: var(--accent-ink);
  display: grid; overflow: hidden; border-radius: var(--radius);
  background: var(--cbg); border: 1px solid color-mix(in srgb, var(--c) 18%, var(--line));
}
@media (min-width: 900px) {
  .app { grid-template-columns: 1fr 1.1fr; min-height: 440px; }
  .app:nth-child(even) .app-body { order: 2; }
}
.app.twovia { --c: var(--twovia); --cbg: var(--twovia-bg); --cink: var(--twovia-ink); }
.app.billow { --c: var(--billow); --cbg: var(--billow-bg); --cink: var(--billow-ink); }
.app.nabo   { --c: var(--nabo);   --cbg: var(--nabo-bg);   --cink: var(--nabo-ink); }
.app.odovo  { --c: var(--odovo);  --cbg: var(--odovo-bg);  --cink: var(--odovo-ink); }
.app.vila   { --c: var(--vila);   --cbg: var(--vila-bg);   --cink: var(--vila-ink); }

.app-body { padding: 32px 24px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 640px) { .app-body { padding: 44px 44px; } }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-id img, .app-id .odovo-icon { width: 56px; height: 56px; border-radius: 13px; flex-shrink: 0; }
.app-id h3 { font-size: 30px; }
.app-id .domain { font-size: 14px; color: var(--muted); margin-top: 3px; }
.status {
  margin-left: auto; align-self: flex-start; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px;
  color: var(--cink); background: color-mix(in srgb, var(--c) 13%, transparent);
  display: inline-flex; align-items: center; gap: 6px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.status.live::before { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
@media (max-width: 480px) { .app-id { flex-wrap: wrap; } .status { margin-left: 70px; margin-top: -8px; } }
.app-tagline { font-size: clamp(24px, 2.6vw, 30px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.app-tagline em.serif { color: var(--cink); }
.app-desc { color: var(--ink2); }
.app ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.app li { position: relative; padding-left: 28px; color: var(--ink2); font-size: 16px; }
.app li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow: inset 0 0 0 5px var(--cbg), inset 0 0 0 16px var(--c);
}
.app-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.app-links .btn { font-size: 15px; padding: 11px 18px; }
.btn-app { background: var(--c); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-app { color: #0C0E14; } }
.btn-line { color: var(--cink); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.btn-line:hover { background: color-mix(in srgb, var(--c) 8%, transparent); }
.note { font-size: 14px; color: var(--muted); }

.app-media { position: relative; display: grid; place-items: center; padding: 0 24px 24px; }
@media (min-width: 900px) { .app-media { padding: 32px; } }
.app-media .shot {
  width: 100%; border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--c) 14%, transparent);
  aspect-ratio: 1200 / 630; object-fit: cover; background: var(--surface);
}

/* Odovo concept panel (drawn, not a screenshot) */
.concept {
  width: 100%; max-width: 520px; border-radius: 22px; padding: 26px; background: #0F1720; color: #F3F5F8;
  box-shadow: var(--shadow); display: grid; gap: 18px;
}
.concept-top { display: flex; align-items: center; gap: 18px; }
.concept-top svg { width: 92px; height: 92px; flex-shrink: 0; }
.concept-car { font-size: 13px; color: #9AA5B5; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.concept-km { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.concept-km small { font-size: 15px; color: #9AA5B5; font-weight: 500; }
.concept-rows { display: grid; gap: 8px; }
.concept-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #18222F; font-size: 15px; }
.concept-row b { font-weight: 600; }
.concept-row span:last-child { margin-left: auto; color: #9AA5B5; font-size: 14px; white-space: nowrap; }
.concept-row .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: #3D6BF2; }
.concept-row.warn .dot { background: #F2A33D; }
.concept-row.warn span:last-child { color: #F6C27A; }
.concept-cap { font-size: 12.5px; color: #7F8A9A; }

/* Vila photos */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.photos img:last-child { transform: translateY(28px); }
@media (max-width: 899px) { .photos img:last-child { transform: none; } }

.web { padding: 0 0 96px; }

/* ---------- Principles ---------- */
.principles { padding: 88px 0; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-4 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.principle .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 6px; }
.principle .ico svg { width: 22px; height: 22px; }
.principle h3 { font-size: 20px; letter-spacing: -0.015em; }
.principle p { color: var(--ink2); font-size: 15.5px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.stat { border-top: 1px solid var(--line2); padding-top: 16px; }
.stat b { display: block; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1; font-weight: 700; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; }
.contact-card {
  border-radius: var(--radius); padding: 48px 24px; text-align: center; display: grid; gap: 18px; justify-items: center;
  background: var(--core); color: var(--bg); position: relative; overflow: hidden;
}
@media (min-width: 640px) { .contact-card { padding: 72px 48px; } }
.contact-card::before, .contact-card::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--bg) 20%, transparent); pointer-events: none;
}
.contact-card::before { width: 640px; height: 640px; left: -260px; top: -380px; }
.contact-card::after { width: 520px; height: 520px; right: -220px; bottom: -340px; }
.contact-card h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 16em; position: relative; }
.contact-card p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 34em; position: relative; }
.contact-card .btn { background: var(--bg); color: var(--ink); position: relative; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.lost .wrap { display: grid; gap: 18px; justify-items: center; }
.lost h1 { font-size: clamp(40px, 6vw, 64px); }
.lost p { color: var(--ink2); }
