/* Sigami: dark brand world. Layout: narrow measured column, hex pattern bleeding off the right edge of the hero, hairline rows instead of cards. */
:root {
  --ink: #050605;        /* page ground, near black with a green bias */
  --panel: #0c0e0a;      /* raised surface */
  --line: #24271f;       /* hairlines, from the hex pattern grey */
  --text: #f1f3ec;       /* primary text */
  --muted: #a2a898;      /* secondary text */
  --lime: #abda07;       /* logo lime */
  --lime-ink: #0a0c03;   /* text on lime */
  --display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.6vw, 2.6rem);
  --step-4: clamp(2.4rem, 6.2vw, 4.4rem);
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0; max-width: 64ch; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.lime { color: var(--lime); }
.eyebrow {
  font-family: var(--display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime);
}

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { height: 34px; width: auto; }
.brand .word { height: 15px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 4px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--lime); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; text-decoration: none; border: 1px solid var(--lime);
  transition: background .2s ease, color .2s ease;
}
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: transparent; color: var(--lime); }
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: min(52vw, 620px);
  background: url("assets/hex-pattern.jpg") left center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  opacity: .95; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 11vw, 128px); display: grid; gap: 26px; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 52ch; }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
@media (max-width: 720px) { .hero::after { width: 100%; opacity: .35; } }

/* sections */
.section { padding-block: clamp(64px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }

/* split: heading left, body right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* problem rows */
.rows { display: grid; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 12px 40px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.row > * { min-width: 0; }
.row h3 { font-size: 1.1rem; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { padding: 26px 22px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-width: 0; }
.pillar .hex { width: 34px; height: 38px; }
.pillar h3 { font-size: 1.05rem; }
.pillar p { font-size: 0.95rem; color: var(--muted); }
.pillar .q { font-family: var(--display); font-size: 0.9rem; color: var(--text); }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pillar:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* pillar detail (approach page) */
.pillar-detail { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr); gap: 16px 36px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.pillar-detail:first-child { border-top: 1px solid var(--line); }
.pillar-detail > * { min-width: 0; }
.pillar-detail .hex { width: 46px; height: 52px; }
.pillar-detail ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; }
.pillar-detail li::marker { color: var(--lime); }
@media (max-width: 860px) { .pillar-detail { grid-template-columns: 48px minmax(0, 1fr); } .pillar-detail .detail-list { grid-column: 2; } }

/* offers */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.offer { padding: clamp(26px, 4vw, 44px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.offer + .offer { border-left: 1px solid var(--line); }
.offer.featured { background: var(--panel); }
.offer .tag { font-size: 0.82rem; color: var(--muted); font-family: var(--display); letter-spacing: 0.04em; }
.offer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--muted); }
.offer li::before { content: ""; width: 8px; height: 8px; margin-top: 0.62em; background: var(--lime); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.offer .terms { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.8rem; padding: 4px 10px; border: 1px solid var(--line); color: var(--text); }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } .offer + .offer { border-left: 0; border-top: 1px solid var(--line); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--lime); }
.step { padding: 22px 24px 4px 0; display: grid; gap: 10px; min-width: 0; }
.step .n { font-family: var(--display); font-size: 0.82rem; color: var(--lime); letter-spacing: 0.12em; }
.step p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step { padding-right: 0; } }

/* founder */
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 40px; align-items: center; }
.founder .badge { width: 120px; height: 134px; display: grid; place-items: center; }
.founder blockquote { margin: 0; font-family: var(--display); font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; text-wrap: balance; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder .badge { width: 84px; height: 94px; } }

.standards { display: flex; flex-wrap: wrap; gap: 10px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* contact */
.contact-card { border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.contact-line { display: grid; gap: 4px; }
.contact-line .label { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-family: var(--display); }
.contact-line .value { font-family: var(--display); font-size: clamp(1.2rem, 3vw, 1.6rem); overflow-wrap: anywhere; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.copy-btn { font-family: var(--display); font-size: 0.85rem; background: transparent; color: var(--lime); border: 1px solid var(--line); padding: 7px 14px; cursor: pointer; }
.copy-btn:hover { border-color: var(--lime); }
.checklist { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--muted); }
.checklist li::marker { color: var(--lime); }

/* cta band */
.cta-band { padding-block: clamp(64px, 9vw, 104px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 18ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 48px; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.site-footer .nav { justify-content: flex-end; }
.foot-brand { display: grid; gap: 12px; }
.foot-brand img { height: 14px; width: auto; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: 1fr; } .site-footer .nav { justify-content: flex-start; } }

/* load moment: hero lines rise in from a visible resting state */
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .wrap > *:nth-child(2) { animation-delay: .08s; }
  .hero .wrap > *:nth-child(3) { animation-delay: .16s; }
  .hero .wrap > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(10px); opacity: .4; } to { transform: none; opacity: 1; } }
}
.offer .btn, .actions .btn { justify-self: start; }
