/* Home page (onoutset.com/). Loaded after site.css and otto-call.css. The brand's own palette (sand bands, forest
   for actions); the layout language of the industry pages: hairline rules, flat white panels, photo cards. */
body { color: var(--ink-2); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
p, small, dd { text-wrap: pretty; }
.sec[id], .oc { scroll-margin-top: 90px; }
.nav { border-bottom-color: var(--line); }
.eyebrow { color: var(--forest); font-size: .78rem; letter-spacing: .1em; }
.h2 { font-size: clamp(1.8rem, 2.7vw, 2.3rem); line-height: 1.25; max-width: 28ch; }
.lead { font-size: 1.08rem; }
.btn.line:hover { background: var(--band-strong); }

/* Hero: headline and line on the left, the sample call on the right. On a phone: headline, call, then the rest. */
.hero { padding: 4.75rem 0 5.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head demo" "body demo"; column-gap: clamp(2.5rem, 6vw, 6rem); }
.hero-head { grid-area: head; align-self: end; }
.hero-body { grid-area: body; align-self: start; }
.hero-demo { grid-area: demo; position: relative; align-self: center; }
.hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.5rem); line-height: 1.12; letter-spacing: -.025em; }
/* The second line names the kind of business. Every name sits in the same grid cell, so the line keeps the width of
   the longest and nothing reflows. */
.hero h1 .for { display: block; white-space: nowrap; }
.hero h1 .words { display: inline-grid; justify-items: start; vertical-align: top; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; color: var(--forest); }
.hero h1 .words > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(.45em); transition: opacity .45s ease, transform .45s ease; }
.hero h1 .words > span.on { opacity: 1; transform: none; }
.hero h1 .words > span.off { opacity: 0; transform: translateY(-.45em); }
@media (prefers-reduced-motion: reduce) { .hero h1 .words > span { transition: none; } }
.hero-sub { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.7; color: var(--ink-2); max-width: 34rem; margin: 1.4rem 0 2rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-try { margin: 1.4rem 0 0; font-size: .95rem; color: var(--ink-2); }
.hero-try a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.oc { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(20,24,15,.05), 0 18px 40px -22px rgba(20,24,15,.25); }
@media (max-width: 1000px) {
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2.1rem, 7.6vw, 3.4rem); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "demo" "body"; row-gap: 2rem; }
  .hero-sub { margin-top: 0; }
}
@media (max-width: 560px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* Pick your industry: four photo cards. */
.hm-pick { padding: 6rem 0 6.5rem; }
.hm-pick .head { max-width: 40rem; margin-bottom: 3rem; }
.hm-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 1.75rem); }
@media (max-width: 1100px) { .hm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-cards { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.hm-card { display: block; border-radius: 16px; transition: transform .25s ease; }
.hm-card:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; }
.hm-card .ph { display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--band); box-shadow: 0 1px 2px rgba(20,24,15,.06); transition: box-shadow .25s ease; }
.hm-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hm-card .tx { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: start; padding: 1.1rem .15rem 0; }
.hm-card h3 { font-size: 1.32rem; line-height: 1.25; color: var(--ink); }
.hm-card p { grid-column: 1; margin: 0; font-size: .97rem; line-height: 1.55; color: var(--ink-3); }
.hm-card .go { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .25s; }
.hm-card .go .ic { width: 16px; height: 16px; }
.hm-card:hover, .hm-card:focus-visible { transform: translateY(-4px); }
.hm-card:hover .ph, .hm-card:focus-visible .ph { box-shadow: 0 2px 4px rgba(20,24,15,.06), 0 22px 40px -18px rgba(20,24,15,.35); }
.hm-card:hover .ph img, .hm-card:focus-visible .ph img { transform: scale(1.05); }
.hm-card:hover .go, .hm-card:focus-visible .go { background: var(--forest); border-color: var(--forest); color: var(--white); transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .hm-card, .hm-card .ph img, .hm-card .go { transition: none; } .hm-card:hover { transform: none; } .hm-card:hover .ph img { transform: none; } }

/* One row per industry: three things Maya does, and a small product view. */
.hm-rows { padding: 6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-rows .head { max-width: 40rem; margin-bottom: 4rem; }
.hm-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; padding: 3.5rem 0; border-top: 1px solid var(--line); }
.hm-row:first-of-type { border-top: 0; padding-top: 0; }
.hm-row:last-of-type { padding-bottom: 0; }
.hm-row.flip > .hm-view { order: -1; }
.hm-row h3 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); line-height: 1.22; max-width: 20ch; }
.hm-does { list-style: none; margin: 1.6rem 0 2rem; padding: 0; border-top: 1px solid var(--ink); }
.hm-does li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.hm-does b { display: block; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.hm-does span { display: block; margin-top: .2rem; font-size: .96rem; line-height: 1.6; color: var(--ink-2); }
.hm-view { background: var(--band); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2.25rem); min-width: 0; }
@media (max-width: 900px) {
  .hm-rows { padding: 4rem 0; }
  .hm-row { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 2.75rem 0; }
  .hm-row.flip > .hm-view { order: 0; }
}

/* The small product views. */
.hm-mini { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .92rem; line-height: 1.45; color: var(--ink); box-shadow: 0 1px 2px rgba(20,24,15,.05); }
.hm-mini-hd { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.hm-mini-hd b { font-weight: 700; font-size: .92rem; }
.hm-mini-hd span { color: var(--ink-3); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.hm-list { list-style: none; margin: 0; padding: 0 1rem; }
.hm-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.hm-list li:first-child { border-top: 0; }
.hm-list li > span { min-width: 0; font-weight: 500; }
.hm-list small { display: block; color: var(--ink-3); font-size: .78rem; font-weight: 500; }
.hm-tag { flex: none; padding: .18rem .55rem; border-radius: 999px; background: var(--band-strong); color: var(--ink); font-size: .72rem; font-weight: 700; font-style: normal; white-space: nowrap; }
.hm-tag.ok { background: var(--forest-tint); color: var(--forest-deep); }
.hm-sched { list-style: none; margin: 0; padding: 0 1rem; }
.hm-sched li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.hm-sched li:first-child { border-top: 0; }
.hm-sched time { color: var(--ink-3); font-size: .84rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hm-sched span { font-weight: 500; }
.hm-sched small { display: block; color: var(--ink-3); font-size: .78rem; font-weight: 500; }
.hm-sched .open { color: var(--forest); font-weight: 700; }
.hm-sched .new { background: var(--forest-tint); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; border-top-color: transparent; }
.hm-sched .new + li { border-top-color: transparent; }
.hm-rooms { display: flex; flex-wrap: wrap; gap: .5rem; padding: .25rem 1rem 1rem; }
.hm-rooms span { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 8px; background: var(--band-soft); font-size: .86rem; color: var(--ink-2); }
.hm-rooms b { color: var(--ink); }
.hm-q { margin: 0; padding: 1rem 1rem .6rem; }
.hm-q small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hm-q q { display: block; margin-top: .3rem; font-size: 1.05rem; font-weight: 600; line-height: 1.4; quotes: "\201C" "\201D"; }
.hm-rooms-ft { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1rem; border-top: 1px solid var(--line); background: var(--band-soft); font-size: .88rem; font-weight: 600; }
@media (max-width: 480px) { .hm-list, .hm-sched { padding: 0 .85rem; } .hm-sched .new { margin: 0 -.85rem; padding-left: .85rem; padding-right: .85rem; } }

/* How it works: three steps on a rule. */
.hm-how .head { max-width: 40rem; margin-bottom: 3rem; }
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); counter-reset: s; }
@media (max-width: 800px) { .hm-steps { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } }
.hm-steps li { border-top: 2px solid var(--forest); padding-top: 1.2rem; counter-increment: s; }
.hm-steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--forest); font-variant-numeric: tabular-nums; }
.hm-steps h3 { margin: .55rem 0 .5rem; font-size: 1.3rem; line-height: 1.3; }
.hm-steps p { margin: 0; font-size: 1rem; line-height: 1.7; }

/* Integrations teaser: one line, the logos, and a link. */
.hm-int { padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-int .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.hm-int p { margin: 0; font-size: 1.05rem; color: var(--ink); font-weight: 600; max-width: 30rem; line-height: 1.5; }
.hm-int ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .75rem; flex-wrap: wrap; }
.hm-int li img { width: 32px; height: 32px; border-radius: 7px; }
@media (max-width: 760px) { .hm-int .wrap { display: grid; justify-items: start; } }

/* Founder note keeps the site's story layout. */
.story .stats a { text-decoration: underline; }

/* Closing band. */
.cta h2 { font-weight: 600; }
