/* Wayhouse sales site. Plain CSS, no build step. */
:root {
  --pine: #1d3b2c;
  --pine-deep: #122619;
  --pine-soft: #2e5640;
  --moss: #dfe8df;
  --birch: #f4f6f2;
  --white: #ffffff;
  --ink: #17201b;
  --ink-soft: #4a564f;
  --line: #cfd9d1;
  --lantern: #eba93f;
  --lantern-deep: #8a5a0c;
  --lake: #3f6f80;
  --held: #f6dfb2;
  --paid: #2e5640;
  --due: #c9dbe2;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

  --gutter: 1rem;
  --wrap: 72rem;
  --radius-s: 6px;
  --radius-m: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--birch);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pine); text-underline-offset: 0.18em; }
a:hover { color: var(--pine-soft); }
:focus-visible { outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 36em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--lantern); color: var(--ink); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Header */
.site-head { background: var(--pine-deep); color: var(--white); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--white); }
.brand svg { width: 34px; height: 34px; }
.site-nav { order: 3; width: 100%; overflow-x: auto; }
.site-nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.site-nav a { color: #d6e2d9; text-decoration: none; font-weight: 500; white-space: nowrap; padding: 0.25rem 0; display: inline-block; }
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--lantern); }
.head-cta { margin-left: auto; }

@media (min-width: 760px) {
  .site-nav { order: 0; width: auto; margin-left: 1rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.6rem 1.15rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn-lantern { background: var(--lantern); color: var(--ink); }
.btn-lantern:hover { background: #f3bb5f; color: var(--ink); }
.btn-pine { background: var(--pine); color: var(--white); }
.btn-pine:hover { background: var(--pine-soft); color: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { color: inherit; background: rgba(255,255,255,0.08); }
.btn-small { min-height: 38px; padding: 0.4rem 0.95rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.note { font-size: var(--step--1); color: var(--ink-soft); }

/* Hero */
.hero { background: var(--pine); color: var(--white); padding: 3rem 0 0; overflow: hidden; }
.hero h1 { max-width: 13em; }
.hero .lede { color: #d6e2d9; }
.hero .note { color: #b9cbbe; margin-top: 0.75rem; max-width: 34em; }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) {
  .hero { padding-top: 4.5rem; }
  .hero-grid { grid-template-columns: 5fr 6fr; align-items: end; }
  .hero-copy { padding-bottom: 4.5rem; }
}

/* The front-desk board in the hero: the product's own picture of a week. */
.board { margin: 0;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 -10px 40px rgba(8, 20, 12, 0.35);
  font-size: 0.8rem;
}
.board-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.board-top strong { font-family: var(--display); font-size: 1.05rem; }
.board-top span { color: var(--ink-soft); }
.board-scroll { overflow-x: auto; }
.board-grid {
  display: grid;
  grid-template-columns: 6.5rem repeat(10, minmax(2.6rem, 1fr));
  min-width: 34rem;
  row-gap: 6px;
}
.board-grid .day { text-align: center; color: var(--ink-soft); font-weight: 600; padding-bottom: 0.3rem; border-bottom: 1px solid var(--line); }
.board-grid .day.today { color: var(--pine); box-shadow: inset 0 -3px 0 var(--lantern); }
.board-grid .unit { font-weight: 600; padding: 0.35rem 0.4rem 0.35rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar {
  border-radius: var(--radius-s); padding: 0.35rem 0.5rem; margin: 0 2px;
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bar.paid { background: var(--paid); color: var(--white); }
.bar.held { background: var(--held); color: #5b3c06; border: 1px dashed #b07a1c; }
.bar.due { background: var(--due); color: #1c3d49; }
.bar.in { background: var(--lantern); color: var(--ink); }
.bar.oos { background: repeating-linear-gradient(135deg, #e6e9e6 0 6px, #f4f6f2 6px 12px); color: var(--ink-soft); }
.board-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.9rem; color: var(--ink-soft); }
.board-key span { display: inline-flex; align-items: center; gap: 0.35rem; }
.board-key i { width: 0.8rem; height: 0.8rem; border-radius: 3px; display: inline-block; }

/* Sections */
.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.section-moss { background: var(--moss); }
.section-white { background: var(--white); }
.section-pine { background: var(--pine-deep); color: var(--white); }
.section-pine .lede, .section-pine p { color: #d6e2d9; }
.section-pine a:not(.btn) { color: var(--lantern); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }

/* Problems: each a plain statement on a left rule. */
.problems { display: grid; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.problems li { border-left: 4px solid var(--lantern); padding: 0.1rem 0 0.1rem 1rem; }
.problems strong { display: block; font-family: var(--display); font-size: var(--step-1); line-height: 1.25; margin-bottom: 0.3rem; }
.problems p { color: var(--ink-soft); margin: 0; }
@media (min-width: 760px) { .problems { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }

/* Feature rows: name on the left, detail on the right, a rule between. */
.feature-rows { border-top: 1px solid var(--line); }
.feature-row { display: grid; gap: 0.5rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.feature-row h3 { margin: 0; font-size: var(--step-2); }
.feature-row p { margin: 0 0 0.6rem; max-width: 38em; }
.feature-row ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.feature-row li { margin-bottom: 0.2rem; }
@media (min-width: 860px) { .feature-row { grid-template-columns: 17rem 1fr; } }

.tag { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; vertical-align: middle; margin-left: 0.4rem; letter-spacing: 0; font-family: var(--body); }
.tag-soon { background: var(--held); color: #5b3c06; }

/* Ava */
.ava { display: grid; gap: 2rem; }
.call { background: var(--pine); border-radius: var(--radius-m); padding: 1.25rem; max-width: 30rem; }
.call p { margin: 0 0 0.75rem; padding: 0.6rem 0.85rem; border-radius: var(--radius-m); max-width: 88%; line-height: 1.45; font-size: 0.97rem; }
.call .caller { background: #355f48; color: var(--white); }
.call .agent { background: var(--white); color: var(--ink); margin-left: auto; }
.call .sys { background: transparent; color: #b9cbbe; font-size: 0.85rem; max-width: none; padding: 0.2rem 0; margin: 0.25rem 0 0; }
@media (min-width: 900px) { .ava { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; } }

/* Story */
.story { display: grid; gap: 2rem; }
.story blockquote { margin: 0; font-family: var(--display); font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.01em; border-left: 4px solid var(--lantern); padding-left: 1.25rem; }
.story cite { display: block; margin-top: 1rem; font-family: var(--body); font-size: 1rem; font-style: normal; color: #b9cbbe; letter-spacing: 0; }
@media (min-width: 900px) { .story { grid-template-columns: 6fr 5fr; gap: 4rem; align-items: start; } }

/* Demo band */
.demo-band { display: grid; gap: 1.5rem; align-items: center; }
.demo-band h2 { margin-bottom: 0.3em; }
@media (min-width: 860px) { .demo-band { grid-template-columns: 1fr auto; } }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.9rem; font-size: 1.5rem; font-weight: 400; color: var(--pine); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--ink-soft); max-width: 40em; }

/* Plans */
.plans { display: grid; gap: 1.25rem; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; display: flex; flex-direction: column; }
.plan h2 { font-size: var(--step-2); margin-bottom: 0.25rem; }
.plan .for { color: var(--ink-soft); min-height: 3.2em; }
.plan .price { font-family: var(--display); font-weight: 700; font-size: var(--step-1); margin: 0.5rem 0 1rem; color: var(--pine); }
.plan ul { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.plan li { margin-bottom: 0.3rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-full { border: 2px solid var(--pine); }
.plan-sub { font-weight: 700; margin: 0.25rem 0 0.4rem; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.addon { margin-top: 1.25rem; background: var(--pine); color: var(--white); border-radius: var(--radius-m); padding: 1.5rem; display: grid; gap: 1rem; }
.addon h2 { font-size: var(--step-2); margin: 0; }
.addon p { margin: 0; color: #d6e2d9; }
@media (min-width: 860px) { .addon { grid-template-columns: 1fr auto; align-items: center; } }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }
.contact-card h2 { font-size: var(--step-2); }
.email-big { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1.4vw, 1.75rem); word-break: break-word; }
.steps { padding-left: 1.25rem; }
.steps li { margin-bottom: 0.6rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* Page intro for inner pages */
.page-intro { background: var(--pine); color: var(--white); padding: 3rem 0 2.75rem; }
.page-intro .lede { color: #d6e2d9; }
.page-intro h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); }

/* Footer */
.site-foot { background: var(--pine-deep); color: #b9cbbe; padding: 2.5rem 0; font-size: 0.95rem; }
.site-foot .wrap { display: grid; gap: 1.25rem; }
.site-foot a { color: #e3ece5; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-foot .brand { font-size: 1.15rem; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: auto 1fr auto; align-items: center; } .site-foot ul { justify-content: center; } }

@media (prefers-reduced-motion: no-preference) {
  .board .bar { animation: settle 0.5s ease-out both; }
  .board .bar:nth-of-type(odd) { animation-delay: 0.08s; }
  @keyframes settle { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
}

.facts { margin: 0; display: grid; gap: 1.1rem; }
.facts div { border-left: 4px solid var(--lantern); padding-left: 1rem; }
.facts dt { color: #b9cbbe; font-size: 0.95rem; }
.facts dd { margin: 0; font-family: var(--display); font-size: var(--step-1); line-height: 1.3; color: var(--white); }

.hero-grid > *, .ava > *, .story > *, .contact-grid > *, .demo-band > * { min-width: 0; }
.board-grid .unit { grid-column: 1; }
@media (min-width: 980px) { .hero h1 { font-size: clamp(2.6rem, 1.2rem + 2.6vw, 3.6rem); } }
