:root {
  --ink: #1c140e;
  --ink-2: #4a3b2f;
  --ink-3: #7a6856;
  --paper: #f3eadf;
  --sheet: #fff8f0;
  --rule: #e2d2c0;
  --amber: #e85d04;
  --amber-deep: #c2410c;
  --amber-soft: #ffedd5;
  --ok: #3f6212;
  --mast: 72px;
  --gutter: clamp(18px, 4vw, 52px);
  --rail: minmax(0, 1180px);
  --display: "Source Serif 4", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.84, 0.32, 1);
  --lift: 0 1px 0 rgba(194, 65, 12, 0.1), 12px 22px 44px -26px rgba(70, 32, 8, 0.38);
  --glow: 0 18px 40px -24px rgba(232, 93, 4, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mast) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 100% -10%, rgba(232, 93, 4, 0.16), transparent 58%),
    linear-gradient(180deg, #f8f1e8 0%, var(--paper) 28%, #efe4d6 100%);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-deep) 100%);
  z-index: 40;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus { top: 12px; }

a { color: var(--amber-deep); text-underline-offset: 3px; }
a:hover { color: var(--amber); }

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--mast);
  background: rgba(255, 248, 240, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.mast-inner {
  width: min(100%, 1180px);
  height: var(--mast);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 188px;
  height: 40px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 8px 12px rgba(232, 93, 4, 0.28));
}

.brand-type {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  border-radius: 10px;
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:not(.nav-cta)::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin-top: 4px;
  background: var(--amber);
  transition: width 0.28s var(--ease);
}

.nav a:not(.nav-cta):hover::after,
.nav a.is-on::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 40px;
  background: var(--amber);
  color: #fff8f0 !important;
  border-radius: 999px;
  box-shadow: var(--glow);
}

.hero {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 56px var(--gutter) 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.82fr);
  gap: 42px;
  align-items: end;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--amber-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(232, 93, 4, 0.16);
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  line-height: 1.16;
  letter-spacing: -0.018em;
  font-weight: 700;
}

.lead { margin: 0 0 14px; color: var(--ink-2); font-size: 1.05rem; }

.pulse {
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--amber-deep);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  min-height: 52px;
}

.ember-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 228px;
  height: 52px;
  padding: 0 22px;
  color: #fff8f0;
  text-decoration: none;
  font-weight: 600;
  background: var(--amber);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: var(--lift);
}

.ember-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, var(--amber-deep), #ff7a1a 55%, var(--amber));
  transform: translateX(-108%) skewX(-18deg);
  transition: transform 0.45s var(--ease);
}

.ember-btn:hover { color: #fff8f0; }
.ember-btn:hover::before { transform: translateX(0) skewX(0); }
.ember-btn svg { transition: transform 0.3s var(--ease); }
.ember-btn:hover svg { transform: translateX(4px); }

.ember-btn-block {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
}

.ghost-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.inspector {
  background: var(--sheet);
  border: 1px solid var(--rule);
  box-shadow: var(--lift);
  padding: 0 0 18px;
  min-height: 392px;
}

.inspector-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  background: #2a1d14;
  color: #f8efe6;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inspector-bar code {
  margin-left: auto;
  color: #86efac;
  font-family: var(--sans);
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}

.spec {
  margin: 0;
  padding: 8px 18px 4px;
}

.spec div {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--rule);
}

.spec dt {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.78rem;
}

.spec dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.inspector-note {
  margin: 12px 18px 0;
  color: var(--ink-3);
  font-size: 0.82rem;
}

.meter {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
}

.meter li {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 16px 18px;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meter strong {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--amber);
}

.block {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 64px var(--gutter);
}

.tint {
  width: 100%;
  max-width: none;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 237, 213, 0.45), rgba(243, 234, 223, 0.2));
  border-block: 1px solid var(--rule);
}

.tint .block-head,
.tint .mobile-layout,
.tint .faq-list {
  width: min(100%, 1180px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.tint .block-head { padding-top: 64px; }
.tint .faq-list,
.tint .mobile-layout { padding-bottom: 64px; }

.block-head { max-width: 760px; margin-bottom: 36px; }

.idx {
  margin: 0 0 8px;
  color: var(--amber-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.block h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.snap {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.02rem;
}

.stations {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.stations::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 18px);
}

.stations li {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 22px 18px 20px;
  min-height: 220px;
  box-shadow: var(--lift);
}

.num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  background: var(--amber);
  color: #fff8f0;
  font-family: var(--display);
  font-size: 1.3rem;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.stations h3,
.methods h3,
.bento h3,
.legal h2,
.legal h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.stations h3 { font-size: 1.15rem; }
.stations p { margin: 0; color: var(--ink-2); font-size: 0.94rem; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.split article,
.methods article,
.bento article {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 24px;
  box-shadow: var(--lift);
}

.split h3 { font-size: 1.35rem; }
.split p { color: var(--ink-2); }

.split ul,
.methods ul,
.bento ul,
.legal ul {
  padding-left: 18px;
  color: var(--ink-2);
}

.split li + li,
.methods li + li,
.bento li + li,
.legal li + li { margin-top: 6px; }

.mobile-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}

.device {
  width: 240px;
  height: 460px;
}

.device-bezel {
  width: 240px;
  height: 460px;
  padding: 12px;
  background: #2a1d14;
  border-radius: 28px;
  box-shadow: var(--lift), inset 0 0 0 2px #3d2a1d;
}

.device-bar {
  width: 220px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-bar span {
  width: 72px;
  height: 8px;
  border-radius: 99px;
  background: #4a3b2f;
}

.device-body {
  width: 216px;
  height: 396px;
  margin: 8px auto 0;
  background:
    linear-gradient(180deg, #fff4e8, #f6e6d4);
  border-radius: 18px;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-body p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--ink-3);
}

.device-body strong {
  font-family: var(--display);
  font-size: 1.6rem;
}

.device-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 36px;
  margin-top: auto;
  background: var(--amber);
  color: #fff8f0;
  font-size: 0.82rem;
  font-weight: 600;
}

.methods {
  display: grid;
  gap: 16px;
}

.methods ol { padding-left: 18px; color: var(--ink-2); }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-areas:
    "core mid mid"
    "core sec safe";
  gap: 16px;
}

.bento .wide { grid-area: core; min-height: 320px; }
.bento article:nth-child(2) { grid-area: mid; }
.bento article:nth-child(3) { grid-area: sec; }
.bento article:nth-child(4) { grid-area: safe; }

.bento p { color: var(--ink-2); }

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--amber);
  box-shadow: var(--lift);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  min-height: 56px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ink-2);
}

.legal {
  width: min(100%, 1180px);
  margin: 0 auto 24px;
  padding: 36px var(--gutter);
  background: #2a1d14;
  color: #f6ece1;
}

.legal h2,
.legal h3 { color: #fff8f0; }

.legal p,
.legal li { color: #e8d7c6; }

.legal a { color: #fdba74; }

.legal-sub {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 93, 4, 0.35);
}

.foot {
  background: #1c140e;
  color: #d7c4b2;
  padding: 40px var(--gutter) 24px;
}

.foot-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.foot .brand-type { color: #fff8f0; margin: 0 0 8px; }

.foot nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot a { color: #fdba74; text-decoration: none; }
.foot a:hover { color: #ffedd5; }

.stamp-date {
  margin-top: 12px;
  color: #f97316;
  font-weight: 600;
}

.copy {
  width: min(100%, 1180px);
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid #3d2a1d;
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  body::before { width: 4px; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    display: none;
    position: absolute;
    top: var(--mast);
    left: 0;
    right: 0;
    background: var(--sheet);
    border-bottom: 1px solid var(--rule);
    padding: 16px var(--gutter) 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.is-open { display: flex; }

  .hero-grid,
  .stations,
  .split,
  .mobile-layout,
  .bento,
  .foot-grid,
  .meter {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .bento .wide,
  .bento article:nth-child(2),
  .bento article:nth-child(3),
  .bento article:nth-child(4) { grid-area: auto; }

  .stations::before { display: none; }

  .device { margin: 0 auto; }
}

@media (max-width: 640px) {
  .cta-row { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 36px; }
  .block { padding: 48px var(--gutter); }
}
