/* otto.outerstack.com landing page (shared tokens/components live in os.css) */

.small { font-size: 13.5px; }
.fine { font-size: 12px; margin: 10px 0 0; text-align: center; }
.btn-block { width: 100%; }
.spacer { flex: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(56px, 9vh, 104px) var(--gutter) clamp(64px, 10vh, 112px); }
.hero .notice { margin-bottom: clamp(36px, 6vh, 60px); }
.hero-mark { width: min(640px, 84vw); height: auto; margin-bottom: clamp(30px, 5vh, 48px); }
/* keep the middle clear for the words; squares live at the edges */
.hero .pixel-field { -webkit-mask-image: radial-gradient(ellipse 50% 74% at 50% 50%, transparent 66%, #000 90%); mask-image: radial-gradient(ellipse 50% 74% at 50% 50%, transparent 66%, #000 90%); }
.hero-title { margin: 0 0 18px; }
.hero-lede { max-width: 700px; margin: 0 auto 34px; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-stats { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  color: var(--text-3); font-size: 13px; }
.hero-stats b { color: var(--amber-100); font-weight: 600; }
.hero-stats li::before { content: "■"; color: var(--amber-800); margin-right: 9px; font-size: 9px; vertical-align: 2px; }
@media (max-width: 720px) { .hero .notice { font-size: 12px; padding: 8px 12px; } }

/* ---------- try: form + spot ---------- */
.try { padding: clamp(64px, 9vh, 110px) 0; scroll-margin-top: var(--nav-h); }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.train { padding: 30px; display: flex; flex-direction: column; }
.train .h-card.big { font-size: 24px; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.025em; }
.train .field { margin-top: 16px; }
.train .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.train .btn { margin-top: 22px; }
@media (max-width: 940px) { .try-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .train { padding: 22px; } .train .row2 { grid-template-columns: 1fr; gap: 0; } }

/* The "commercial" lives in os.css (.theater): the live call on the build page uses the same component. */
.try .theater { height: auto; min-height: 520px; }
@media (max-width: 520px) { .try .theater { min-height: 470px; } }

/* ---------- sections ---------- */
section { position: relative; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head .lede { margin: 16px 0 0; }
.sec-head.row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 860px) { .sec-head.row { grid-template-columns: 1fr; gap: 0; } }

.how, .cases, .under { padding: clamp(64px, 9vh, 110px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 24px; }
.step .num { display: block; font: 700 13px/1 var(--mono); color: var(--amber); margin-bottom: 26px; letter-spacing: .06em; }
.step .num::before { content: "■ "; color: var(--amber-800); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.65; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case { padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s var(--ease); }
.case:hover { border-color: var(--line-3); transform: translateY(-2px); }
.case-tags { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.case .quote { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--amber-100); font-size: 13px; line-height: 1.6; }
.case.alt { border-style: dashed; border-color: var(--amber-800); background: transparent; }
.case.alt p { font-size: 13.5px; margin: 0; }
.case.alt .btn-text { align-self: flex-start; margin-top: auto; font-size: 13px; }
@media (max-width: 1060px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat .glyph { color: var(--amber); font-size: 12px; display: block; margin-bottom: 16px; }
.feat h3 { margin-bottom: 8px; }
.feat p { margin: 0; font-size: 13.5px; line-height: 1.7; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

.closer { overflow: hidden; border-top: 1px solid var(--line); }
.closer-inner { position: relative; z-index: 1; text-align: center; padding: clamp(80px, 12vh, 140px) var(--gutter); }
.closer h2 { margin-bottom: 30px; }
