/* ─────────────────────────────────────────────────────────
   ANTON OS — standalone product site
   Palette: "Bone & Ink" — built around the constructivist
   eye mark. Vanilla CSS. No dependency on the Anton IO
   site stylesheet.
───────────────────────────────────────────────────────── */

:root {
  --bone:     #f5f1e6;
  --bone-2:   #ede8da;
  --paper:    #fcf9f1;
  --ink:      #121212;
  --ink-2:    #3a3a38;
  --ink-3:    #86837a;
  --line:     #121212;
  --line-soft: rgba(18,18,18,0.14);
  --red:      #c0392b;
  --red-dim:  rgba(192,57,43,0.1);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--red); color: var(--bone); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 100px; }

/* ── BOOT OVERLAY ── */
#boot {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bone);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
#boot.hidden { opacity: 0; pointer-events: none; }
.boot-mark {
  position: relative; width: 112px; height: 112px;
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.boot-mark.in { opacity: 1; transform: scale(1); }
.boot-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.boot-lid {
  position: absolute; left: 0; width: 100%; height: 50%; background: var(--bone);
  transition: transform 0.16s cubic-bezier(.4,0,.2,1);
}
.boot-lid.top { top: 0; transform-origin: top; transform: scaleY(1); }
.boot-lid.bot { bottom: 0; transform-origin: bottom; transform: scaleY(1); }
.boot-mark.open .boot-lid { transform: scaleY(0); }
.boot-status {
  font-size: 11px; color: var(--ink-3); letter-spacing: 1.5px; min-height: 16px; text-transform: uppercase;
}
.boot-status .dot { color: var(--red); margin-right: 8px; }
.boot-brand {
  font-size: 22px; font-weight: 700; letter-spacing: 9px; color: var(--ink);
  display: flex; align-items: baseline; gap: 2px;
}
.boot-brand .cursor { display: inline-block; width: 9px; height: 19px; background: var(--red); animation: caret 0.9s step-end infinite; }
.boot-tag { font-size: 10px; color: var(--ink-3); letter-spacing: 3px; text-transform: uppercase; margin-top: -10px; }
.boot-skip { position: absolute; bottom: 28px; font-size: 10px; color: var(--ink-3); letter-spacing: 2px; text-transform: uppercase; }

@keyframes caret { 50% { opacity: 0; } }

/* ── LOGO MARK (shared) ── */
.mark { display: inline-block; flex-shrink: 0; }
.mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ── NAV ── */
.aos-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; background: rgba(240,237,226,0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.aos-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.aos-logo .mark { width: 28px; height: 28px; }
.aos-logo-word { font-size: 14px; font-weight: 700; letter-spacing: 3px; color: var(--ink); }
.aos-nav-links { display: flex; align-items: center; gap: 32px; }
.aos-nav-links a {
  font-size: 12px; color: var(--ink-2); text-decoration: none; letter-spacing: 0.5px;
  transition: color 0.2s;
}
.aos-nav-links a:hover { color: var(--ink); }
.aos-nav-back {
  font-size: 11px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line-soft);
  border-radius: 100px; padding: 6px 14px; letter-spacing: 0.5px; transition: border-color 0.2s, color 0.2s;
}
.aos-nav-back:hover { color: var(--ink); border-color: var(--ink-3); }

.aos-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0;
}
.aos-burger span {
  width: 100%; height: 1.5px; background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.aos-nav.menu-open .aos-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.aos-nav.menu-open .aos-burger span:nth-child(2) { opacity: 0; }
.aos-nav.menu-open .aos-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.aos-hero {
  padding: 88px 48px 110px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  border-bottom: 1px solid var(--line-soft);
  max-width: 1320px; margin: 0 auto;
}
.aos-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px;
  color: var(--red); margin-bottom: 26px;
}
.aos-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.aos-title {
  font-family: var(--mono); font-size: clamp(32px,4.4vw,58px); font-weight: 700;
  letter-spacing: -1px; line-height: 1.08; color: var(--ink);
}
.aos-title .hl { color: var(--red); }
.aos-sub {
  font-size: 14px; color: var(--ink-2); margin-top: 26px; max-width: 480px; line-height: 1.85;
}
.aos-cta-row { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; }
.aos-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bone); border: none; border-radius: 4px;
  padding: 14px 24px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px;
  text-decoration: none; font-family: var(--mono); transition: background 0.2s, transform 0.2s;
}
.aos-btn-primary:hover { background: var(--red); transform: translateY(-1px); }
.aos-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2); font-size: 12.5px; text-decoration: none;
  border-bottom: 1px solid var(--line-soft); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.aos-btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* ── TERMINAL / SPEC PANEL ── */
.term-panel {
  background: var(--paper); border: 1px solid var(--ink); border-radius: 6px;
  overflow: hidden; box-shadow: 6px 6px 0 var(--ink);
}
.term-chrome { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.term-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bone-2); border: 1px solid var(--line-soft); }
.term-chrome-label { margin-left: auto; font-size: 10px; color: var(--ink-3); letter-spacing: 1px; }
.term-body { padding: 24px 26px 28px; font-size: 12.5px; line-height: 2; }
.term-row-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.term-brand-mark { width: 18px; height: 18px; margin-right: 2px; }
.term-brand { color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.term-ver { color: var(--ink-3); }
.term-pill { background: var(--red-dim); color: var(--red); border-radius: 100px; padding: 2px 10px; font-size: 10px; letter-spacing: 1px; margin-left: auto; }
.term-tagline { color: var(--ink-3); font-size: 11.5px; margin-bottom: 14px; }
.term-rule { border-top: 1px dashed var(--line-soft); margin: 12px 0; }
.term-kv { display: grid; grid-template-columns: 82px 1fr; gap: 3px 12px; color: var(--ink-2); }
.term-kv .k { color: var(--ink-3); }
.term-red { color: var(--red); }
.term-ink { color: var(--ink); }
.term-bar-track { color: var(--bone-2); }
.term-cmds { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.term-cmd { color: var(--red); }
.term-cmd span { color: var(--ink-3); }
.term-prompt { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink-3); }
.term-prompt .car { color: var(--red); }
.term-cursor { display: inline-block; width: 6px; height: 13px; background: var(--red); animation: caret 1.1s step-end infinite; }

/* ── SECTIONS ── */
.aos-section { padding: 90px 48px; border-bottom: 1px solid var(--line-soft); max-width: 1320px; margin: 0 auto; }
.aos-section-head { margin-bottom: 52px; max-width: 620px; }
.aos-section-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 4px; color: var(--ink-3); margin-bottom: 16px; }
.aos-section-title { font-size: clamp(24px,3.2vw,38px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; color: var(--ink); }
.aos-section-title .hl { color: var(--red); }
.aos-section-sub { font-size: 13.5px; color: var(--ink-2); margin-top: 16px; line-height: 1.8; }

/* ── FEATURE GRID ── */
.aos-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.aos-feature { background: var(--bone); padding: 30px 26px; transition: background 0.2s; }
.aos-feature:hover { background: var(--paper); }
.aos-feature-mark { color: var(--red); font-size: 12px; margin-bottom: 16px; display: block; }
.aos-feature-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 10px; color: var(--ink); }
.aos-feature-desc { font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }

/* ── PROCESS (log style) ── */
.aos-log { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.aos-log-row {
  display: grid; grid-template-columns: 64px 180px 1fr; gap: 20px; align-items: baseline;
  padding: 18px 26px; border-top: 1px solid var(--line-soft); font-size: 12.5px;
}
.aos-log-row:first-child { border-top: none; }
.aos-log-tag { color: var(--red); }
.aos-log-name { color: var(--ink); font-weight: 700; }
.aos-log-desc { color: var(--ink-2); line-height: 1.7; }

/* ── CTA ── */
.aos-cta { padding: 100px 48px; max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.aos-cta-title { font-size: clamp(26px,4vw,44px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; color: var(--ink); }
.aos-cta-title .hl { color: var(--red); }
.aos-cta-form {
  display: flex; align-items: center; background: var(--paper); border: 1px solid var(--ink);
  border-radius: 4px; padding: 5px 5px 5px 18px; gap: 8px; width: 340px; transition: border-color 0.2s;
}
.aos-cta-form:focus-within { border-color: var(--red); }
.aos-cta-form input { flex: 1; background: transparent; border: none; outline: none; font-size: 12.5px; color: var(--ink); font-family: var(--mono); }
.aos-cta-form input::placeholder { color: var(--ink-3); }
.aos-cta-form button {
  background: var(--ink); color: var(--bone); border: none; border-radius: 3px; padding: 11px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer;
  font-family: var(--mono); white-space: nowrap; transition: background 0.2s;
}
.aos-cta-form button:hover { background: var(--red); }
.aos-cta-note { font-size: 10.5px; color: var(--ink-3); margin-top: 12px; }

/* ── FOOTER ── */
.aos-footer {
  padding: 32px 48px; max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 11px; color: var(--ink-3);
}
.aos-footer a { color: var(--ink-3); text-decoration: none; transition: color 0.2s; }
.aos-footer a:hover { color: var(--ink); }
.aos-footer-links { display: flex; gap: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .aos-nav { position: sticky; padding: 18px 28px; }
  .aos-burger { display: flex; }
  .aos-nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone); border-bottom: 1px solid var(--line-soft);
    padding: 4px 28px 18px;
  }
  .aos-nav.menu-open .aos-nav-links { display: flex; }
  .aos-nav-links a { padding: 14px 0; border-top: 1px solid var(--line-soft); }
  .aos-hero { grid-template-columns: 1fr; padding: 56px 28px 64px; gap: 48px; }
  .aos-section { padding: 68px 28px; }
  .aos-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .aos-log-row { grid-template-columns: 44px 1fr; row-gap: 6px; }
  .aos-log-desc { grid-column: 1 / -1; }
  .aos-cta { padding: 68px 28px; }
}
@media (max-width: 640px) {
  .aos-nav { padding: 16px 18px; gap: 10px; }
  .aos-logo-word { font-size: 12px; letter-spacing: 2px; }
  .aos-nav-back { font-size: 10px; padding: 5px 10px; }
  .aos-hero { padding: 48px 18px 48px; }
  .aos-section { padding: 52px 18px; }
  .aos-feature-grid { grid-template-columns: 1fr; }
  .aos-cta { padding: 52px 18px; flex-direction: column; align-items: flex-start; }
  .aos-cta-form { width: 100%; }
  .aos-footer { padding: 24px 18px; flex-direction: column; align-items: flex-start; }
}
