/* The sales parts of the page: hero address field, example row, price, comparison, contact form */

/* Hero: the address field */
.hero-form { display: grid; gap: 10px; max-width: 30em; }
.hero-form label { font-weight: 600; font-size: 15px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-row input { flex: 1 1 14em; min-height: 52px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(244, 240, 232, .82); color: var(--ink); font: 400 17px/1.2 var(--sans); }
.hero-row input:focus-visible { outline: 2px solid var(--evergreen); outline-offset: 2px; }
.hero-note { font-size: 15px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Example: the real chain on Edseth itself */
.example { padding-block: 16svh; }
.ex-lead { margin-top: 20px; max-width: 32em; font-size: var(--fs-lead); line-height: 1.5; }
.ex-row { margin-top: clamp(28px, 5svh, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.ex-row li { display: grid; gap: 10px; }
.ex-row img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 48px -32px rgba(20, 35, 33, .5); }
.ex-row span { font-size: 15px; color: var(--ink-soft); }
.ex-note { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 759px) {
  .ex-row { grid-template-columns: repeat(4, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); }
  .ex-row li { scroll-snap-align: start; }
}

/* Price: one package, one number */
.price { padding-block: 14svh; }
.price-card { max-width: 40em; padding: clamp(28px, 4.5vw, 64px); display: grid; gap: 22px; }
.price-sum { font: 300 clamp(28px, 2.6vw, 40px)/1.1 var(--serif); }
.price-sum b { font-weight: 400; font-size: clamp(56px, 6.4vw, 108px); letter-spacing: -.03em; display: block; }
.price-terms { display: grid; gap: 10px; font-size: var(--fs-lead); line-height: 1.45; }
.price-terms li { padding-left: 22px; position: relative; }
.price-terms li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }

/* Comparison: Edseth's column carries the accent */
.why { padding-block: 12svh; }
.why-table { margin-top: clamp(24px, 4svh, 44px); padding: clamp(16px, 2.4vw, 32px); overflow-x: auto; }
.why table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.why th, .why td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.why thead th { font-weight: 600; }
.why tbody th { font-weight: 500; color: var(--ink-soft); }
.why tr > :last-child { background: rgba(20, 35, 33, .06); font-weight: 600; }
.why thead tr > :last-child { border-radius: 12px 12px 0 0; color: var(--clay); }
.why tbody tr:last-child > * { border-bottom: 0; }

/* Contact form */
.ct-form { margin-top: clamp(28px, 5svh, 48px); width: 100%; max-width: 46em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ct-field { display: grid; gap: 8px; }
.ct-field label { font-weight: 600; font-size: 15px; }
.ct-field label span { font-weight: 400; color: var(--ink-soft); }
.ct-field :is(input, textarea) { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(244, 240, 232, .08); color: var(--ink); font: 400 17px/1.4 var(--sans); }
.ct-field textarea { resize: vertical; }
.ct-field :is(input, textarea):focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }
.ct-wide { grid-column: 1 / -1; }
.ct-consent { font-size: 15px; color: var(--ink-soft); }
.ct-status { font-size: 17px; }
.ct-status.is-error { color: var(--lowsun); }
.ct-form .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-alt { margin-top: 28px; color: var(--ink-soft); }
.ct-small { color: var(--ink); }
@media (max-width: 599px) { .ct-form { grid-template-columns: 1fr; } }
/* Phones: each row becomes a small card, so the Edseth answer is never scrolled out of view */
@media (max-width: 759px) {
  .why table, .why tbody, .why tr, .why th, .why td { display: block; min-width: 0; }
  .why thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .why tr { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .why tbody tr:last-child { border-bottom: 0; }
  .why th, .why td { padding: 4px 0; border: 0; }
  .why tbody th { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
  .why td::before { content: attr(data-label) ": "; color: var(--ink-soft); font-weight: 400; }
  .why tr > :last-child { background: none; color: var(--clay); }
}
.price-stack { font-size: var(--fs-lead); line-height: 1.5; max-width: 34em; }
.price-stack + .price-stack { color: var(--ink-soft); }
