/* Marketing page layout (index.html, autostack.html). Colors and type are in brand.css:
   plain limestone page, ruled rows, one dark band. Mobile first. */

html { scroll-padding-top: 16px; }
strong { font-weight: 600; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 60; background: var(--surface); padding: 8px 12px; }

/* ---------- header ---------- */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 18px; padding-bottom: 16px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .8s ease; }
.nav a:hover { border-bottom-color: var(--ink); }
@media (max-width: 480px) {
  .nav { gap: 2px 11px; font-size: .86rem; }
  .nav a { padding: 7px 0; }
}

/* calm hover on buttons: a tiny growth, slowly */
.btn { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(1); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ---------- sections ---------- */
.sec { padding-top: clamp(52px, 7vw, 92px); padding-bottom: clamp(52px, 7vw, 92px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec .h2 { max-width: 18ch; }
.intro { margin-top: 16px; max-width: 42rem; color: var(--muted); }
.list { list-style: disc; padding-left: 1.1rem; display: grid; gap: 4px; color: var(--muted); }

/* ---------- first screen ---------- */
.hero { padding-top: clamp(48px, 9vw, 112px); padding-bottom: clamp(40px, 7vw, 88px); }
.hero-in { display: grid; gap: 40px 64px; align-items: end; }
.hero .label { margin-bottom: 18px; }
.hero .h1 { max-width: 14ch; font-weight: var(--hero-weight); }
.hero .lede { margin-top: 26px; max-width: 40rem; font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.hero .lede strong { color: var(--ink); }
.def { max-width: 26rem; padding: 20px 0 22px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.def-word { font-family: var(--f-name); letter-spacing: var(--name-tracking); font-size: 1.4rem; line-height: 1.2; }
.def-pos { font-family: var(--f-label); font-weight: 500; font-size: .82rem; line-height: 1.5; color: var(--accent-text); margin-top: 6px; }
.def-mean { margin-top: 12px; color: var(--muted); }
@media (min-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

/* ---------- the one dark band: the free tool ---------- */
.gift { display: grid; gap: 28px 56px; }
.gift-copy { display: grid; gap: 16px; align-content: start; }
.gift-copy .say { max-width: 36rem; color: var(--muted); }
.gift-copy .say strong { color: var(--ink); }
.gift-card { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gift-name { font-family: var(--f-name); font-weight: 400; letter-spacing: var(--name-tracking); font-size: 1.5rem; line-height: 1.2; color: #fff; }
.gift-sub { margin-top: -8px; }
.gift-card .list { gap: 6px; color: var(--ink); }
.gift-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .gift { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
}

/* Runs on / works with. Real marks where the owner allows it, on no plate; names in type where it hasn't said. See notes/third-party-logos.md. */
.compat { display: flex; flex-wrap: wrap; gap: 14px 36px; width: 100%; }
.compat .label { margin-bottom: 6px; }
.compat-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.compat-name { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 1rem; line-height: 1.5; }
.compat-name img { display: block; height: 20px; width: auto; }

/* ---------- what we do: ruled rows ---------- */
.rows { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--ink); }
.row { display: grid; gap: 6px 40px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.row .tag { font-family: var(--f-label); font-weight: 500; font-size: .82rem; line-height: 1.45; color: var(--accent-text); margin-top: 4px; }
.row-note { margin-top: 14px; max-width: 44rem; color: var(--muted); }
.row-note a { color: var(--accent-text); }
.note { margin-top: 24px; max-width: 46rem; color: var(--muted); font-size: 1rem; }
.pull { margin: clamp(36px, 5vw, 56px) 0 0; max-width: 44rem; }
.pull blockquote { margin: 0; font-weight: var(--hero-weight); font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.pull figcaption { margin-top: 14px; font-family: var(--f-label); font-weight: 500; font-size: .82rem; line-height: 1.45; color: var(--accent-text); }
@media (min-width: 860px) {
  .row { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
}

/* ---------- the foundation line ---------- */
.found-line { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); letter-spacing: var(--head-tracking); font-size: clamp(1.7rem, 3.5vw, 2.7rem); line-height: 1.16; max-width: 25em; text-wrap: pretty; }

/* ---------- plans ---------- */
.plans { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 28px 48px; }
.plan { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.plan-name { font-weight: 700; font-size: 1.15rem; line-height: 1.35; }
.plan-price { color: var(--muted); }
.plan-price .amt { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); letter-spacing: var(--head-tracking); font-size: 3rem; line-height: 1; color: var(--ink); margin-right: .08em; }
.plan .list li { text-wrap: pretty; }
.plan-lead { grid-column: 1 / -1; }
.plan-head { display: grid; gap: 10px; align-content: start; }
.plan-lead .amt { font-size: clamp(3.6rem, 7vw, 5rem); }
.plan-sizes { width: 100%; margin-top: clamp(32px, 4vw, 48px); border-collapse: collapse; }
.plan-sizes caption { text-align: left; margin-bottom: 12px; }
.plan-sizes th, .plan-sizes td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-weight: 400; }
.plan-sizes thead th, .plan-sizes thead td { border-top-color: var(--ink); font-weight: 700; }
.plan-sizes small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.plan-sizes tbody th { font-weight: 700; }
.plan-sizes tbody td { font-family: var(--f-label); }
.plan-more { margin-top: 20px; }
.plan-more a { color: var(--accent-text); }
.plan-fine { margin-top: 12px; color: var(--muted); font-size: .94rem; }
@media (min-width: 760px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 48px; }
}

/* ---------- owner app ---------- */
.feed-grid { display: grid; gap: 40px; }
.feed-copy { display: grid; gap: 16px; align-content: start; justify-items: start; }
.feed-copy .intro { margin-top: 0; }
@media (min-width: 900px) {
  .feed-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: center; }
}
.phone { justify-self: center; width: min(100%, 320px); padding: 8px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.phone-in { border-radius: 22px; background: var(--bg); padding: 12px 10px 14px; display: grid; gap: 10px; font-size: 13px; line-height: 1.35; }
.pv-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; }
.pv-shop { font-weight: 600; font-size: 14px; }
.pv-plan { font-family: var(--f-label); font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); }
.pv-ask, .pv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; display: grid; gap: 8px; }
.pv-k, .pv-tag { font-family: var(--f-label); font-size: 11px; color: var(--muted); }
.pv-tag { color: var(--wait); }
.pv-auto .pv-tag { color: var(--live); }
.pv-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; min-height: 44px; }
.pv-row { display: flex; justify-content: space-between; align-items: center; }
.pv-attach { color: var(--muted); font-size: 12px; }
.pv-send, .pv-push { background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: 5px 12px; font-weight: 600; font-size: 12px; }
.pv-title { font-weight: 600; font-size: 14px; line-height: 1.25; }
.pv-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-ba > div { display: grid; gap: 4px; }
.pv-ba span { font-family: var(--f-label); font-size: 10.5px; color: var(--muted); }
.pv-frame { display: grid; gap: 5px; padding: 8px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.pv-frame i { display: block; height: 5px; border-radius: 2px; background: var(--ph-2); }
.pv-frame i:nth-child(2) { width: 70%; }
.pv-frame b { display: block; font-family: var(--f-label); font-weight: 500; font-size: 10px; color: var(--ph-ink); background: var(--ph); border-radius: 2px; padding: 5px 6px; }
.pv-frame b.hl { background: var(--accent-soft); color: var(--accent-text); outline: 1px solid var(--accent); }
.pv-checked { display: flex; gap: 4px; align-items: center; font-family: var(--f-label); font-size: 11px; color: var(--live); }
.pv-checked .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.pv-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-acts span { border: 1px solid var(--line); border-radius: var(--radius); padding: 5px 9px; font-size: 12px; }
.pv-acts .pv-push { border-color: var(--accent); }

/* ---------- how we work ---------- */
.terms { margin-top: clamp(28px, 4vw, 40px); display: grid; gap: 0 48px; counter-reset: t; }
.terms li { padding: 18px 0 18px 3.2rem; border-top: 1px solid var(--line); position: relative; counter-increment: t; }
.terms li::before { content: counter(t); position: absolute; left: 0; top: 14px; font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); letter-spacing: var(--head-tracking); font-size: 1.9rem; line-height: 1; color: var(--accent-text); }
.terms b { display: block; font-weight: 700; }
.terms span { color: var(--muted); }
.terms-plain li { padding-left: 0; }
.terms-plain li::before { content: none; }
@media (min-width: 860px) {
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(52px, 7vw, 88px); padding-bottom: clamp(52px, 7vw, 88px); }
.contact .wrap { display: grid; gap: 18px; justify-items: start; }
.contact p { max-width: 40rem; color: var(--muted); }
.mail { font-family: var(--f-head); font-weight: var(--head-weight); font-stretch: var(--head-stretch); letter-spacing: var(--head-tracking); font-size: clamp(1.35rem, 4.4vw, 2.6rem); line-height: 1.15; color: var(--accent-text); overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-top: 26px; padding-bottom: 34px; font-size: .92rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { color: var(--accent-text); }
.foot .legal { font-family: var(--f-label); font-weight: 500; font-size: .8rem; line-height: 1.5; }
.foot .marks { flex-basis: 100%; }
