/* Room to Share landing page styles.
   Brand: Navy #02173C, Teal #008197 (approved homepage mockup, 30 Sep 2026). Type: Raleway.
   Mobile-first; layouts widen at 720px (tablet) and 980px (desktop). */

:root {
  --navy: #02173C;
  --teal: #008197;
  --teal-dark: #00697A;
  --teal-pale: #E6F5F7;   /* the single pale-teal section (room rates) */
  --teal-tint: #F2FAFB;   /* Guided column tint */
  --paper: #FBF9F5;
  --white: #FFFFFF;
  --ink-soft: #3E4F66;
  --line: #DCE5E1;
  --measure: 1120px;
  --gutter: 20px;
  --h1: clamp(2.4rem, 4.6vw, 3.65rem);
  --h2: clamp(1.9rem, 3vw, 2.65rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 56px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  font: inherit; font-size: 16px; font-weight: 700;
  padding: 14px 22px; border-radius: 6px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; min-height: 48px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline { background: var(--white); color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-pale); }
.arrow::after { content: "\2192"; font-weight: 700; }

/* ---------- header ---------- */
header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { max-width: var(--measure); margin: 0 auto; padding: 12px var(--gutter); min-height: 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; width: 248px; flex-shrink: 0; }
.brand img { width: 100%; }
.nav-links { display: none; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--teal); }
.menu-toggle { background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }
.nav-links.open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); padding: 12px var(--gutter) 18px; border-bottom: 1px solid var(--line); }
.nav-links a.nav-cta { color: var(--white); font-weight: 700; width: auto; margin-top: 8px; padding: 10px 16px; min-height: 44px; font-size: 15px; white-space: nowrap; }
.nav-links a.nav-cta:hover { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }
.nav-links.open a.nav-cta { width: 100%; padding: 10px 16px; font-size: 15px; }
.nav-links.open a { padding: 12px 0; font-size: 17px; }

/* ---------- hero ---------- */
.hero { padding: 0; background: var(--paper); }
.hero-art img { width: 100%; height: 230px; object-fit: cover; }
.hero-copy { padding: 40px var(--gutter) 48px; }
.hero h1 { font-size: var(--h1); margin-bottom: 16px; max-width: 10.5em; }
.hero-sub { font-size: 1.125rem; color: var(--ink-soft); margin-bottom: 28px; max-width: 36rem; }
.hero-sub p + p { margin-top: 12px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; }

/* ---------- benefit row ---------- */
.benefits { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--line); }
.benefit-grid { display: flex; flex-direction: column; gap: 28px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit svg { flex-shrink: 0; color: var(--teal); margin-top: 4px; }
.benefit h4 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.benefit p { font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- estimator, directly under the hero ---------- */
.estimate { background: var(--teal-pale); }
.estimate h2 { font-size: var(--h2); margin-bottom: 12px; max-width: 16ch; }
.estimate-lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 22px; max-width: 36rem; }
.estimate-grid { display: flex; flex-direction: column; gap: 28px; }
.estimate .estimator-result { min-height: 180px; }

/* ---------- room-rate lead magnet ---------- */
.rates { background: var(--teal-pale); }
.rates h2 { font-size: var(--h2); margin-bottom: 12px; }
.rates-lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 0; max-width: 36rem; }
.rates-grid { display: flex; flex-direction: column; gap: 26px; }
.rate-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.rate-card h3 { font-size: 17px; margin-bottom: 12px; letter-spacing: 0; }
.rate-card h3 span { font-weight: 500; color: var(--ink-soft); }
.rate-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.rate-table th, .rate-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table th { background: var(--teal-pale); font-weight: 700; }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }
.estimator-panel { display: none; }

/* ---------- positioning + founder ---------- */
.pos { background: var(--white); }
.pos-grid { display: flex; flex-direction: column; gap: 32px; }
.pos h2 { font-size: var(--h2); margin-bottom: 16px; }
.pos h3 { font-size: 1.45rem; margin-bottom: 12px; letter-spacing: -0.015em; }
.pos p { color: var(--ink-soft); margin-bottom: 14px; }
.pos .btn { margin-top: 8px; }
.founder { display: flex; flex-direction: column; gap: 18px; }
.founder-photo { width: 100%; max-width: 300px; border-radius: 6px; overflow: hidden; }
.founder-photo img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.founder h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: 0; }
.founder p { color: var(--ink-soft); margin-bottom: 12px; font-size: 15.5px; }
.founder-name { font-weight: 700; color: var(--navy); margin-bottom: 0; }
.founder-role { font-size: 14.5px; }

/* ---------- how it works ---------- */
.how { background: #F6F8F8; }
.how h2 { font-size: var(--h2); margin-bottom: 8px; }
.how-lead { color: var(--ink-soft); margin-bottom: 32px; font-size: 1.05rem; }
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step svg { flex-shrink: 0; color: var(--teal); width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: var(--white); box-sizing: content-box; }
.step h4 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.step p { font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.step-arrow { display: none; }

/* ---------- motivation strip ---------- */
.motivation { background: var(--teal); color: var(--white); padding: 28px 0; }
.motivation p { font-size: 18px; line-height: 1.5; text-align: center; max-width: 820px; margin: 0 auto; }
.motivation strong { font-weight: 700; }

/* ---------- packages ---------- */
.packages { background: var(--white); }
.packages h2 { font-size: var(--h2); margin-bottom: 28px; }
.pkg-table-wrap { display: none; }
.pkg-cards { display: flex; flex-direction: column; gap: 18px; }
.pkg-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pkg-card-head { padding: 16px 20px; }
.pkg-card-head h3 { font-size: 18px; letter-spacing: 0; }
.pkg-card-head .price { font-size: 26px; font-weight: 700; }
.pkg-card.guided .pkg-card-head { background: var(--teal); color: var(--white); }
.pkg-card.dfy .pkg-card-head { background: var(--paper); color: var(--navy); }
.pkg-card ul { list-style: none; margin: 0; padding: 8px 20px 14px; }
.pkg-card li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pkg-card li:last-child { border-bottom: 0; }
.pkg-card li .tick { color: var(--teal); font-weight: 700; }
.pkg-card li .no { color: #9AA6B2; }
.pkg-card li.off { color: #7F8B98; }
.pkg-card .btn { width: calc(100% - 40px); margin: 4px 20px 20px; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); padding-top: 10px; }
.faq-master { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.faq-master > summary { list-style: none; cursor: pointer; padding: 20px; display: flex; justify-content: space-between; align-items: center;
  font-size: 22px; font-weight: 700; }
.faq-master > summary::-webkit-details-marker { display: none; }
.faq-master > summary::after { content: "+"; font-size: 30px; font-weight: 400; color: var(--navy); line-height: 1; }
.faq-master[open] > summary::after { content: "\2013"; }
.faq-list { padding: 0 20px 8px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 15px 0; display: flex; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 16px; min-height: 48px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal); font-size: 22px; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 0 16px; color: var(--ink-soft); font-size: 15px; }
.faq-item a { color: var(--teal); font-weight: 600; }

/* ---------- final CTA ---------- */
.final { text-align: center; padding: 26px 0 44px; }
.final .btn { max-width: 320px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 22px 0; }
.foot { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--teal); }

/* ========== TABLET ≥ 720px ========== */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  section { padding: 72px 0; }
  .btn { width: auto; }
  .hero-ctas { flex-direction: row; }
  .hero-art img { height: 300px; }
  .benefit-grid { flex-direction: row; gap: 28px; }
  .benefit { flex: 1; }
  .estimate-grid { flex-direction: row; align-items: stretch; gap: 48px; }
  .estimate-grid > * { flex: 1; }
  .rates-grid { flex-direction: row; align-items: flex-start; gap: 48px; }
  .rates-grid > * { flex: 1; }
  .founder { flex-direction: row; align-items: flex-start; }
  .founder-photo { width: 200px; flex-shrink: 0; }
  .steps { flex-direction: row; flex-wrap: wrap; gap: 26px; }
  .step { flex: 1 1 42%; }
  .motivation p { font-size: 19px; }
  .pkg-cards { display: none; }
  .pkg-table-wrap { display: block; overflow-x: auto; }
  .foot { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ========== DESKTOP ≥ 980px ========== */
@media (min-width: 980px) {
  section { padding: 88px 0; }
  .brand { width: 312px; }
  .nav-links { display: flex; align-items: center; gap: 22px; }
  .nav-links .nav-cta { margin-top: 0; }
  .menu-toggle { display: none; }
  .hero { overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .hero-copy { padding: 64px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--measure)) / 2 + var(--gutter))); }
  .hero-art { order: 2; }
  .hero-art img { height: 100%; min-height: 360px; }
  .benefit { padding-right: 24px; border-right: 1px solid var(--line); }
  .benefit:last-child { border-right: 0; padding-right: 0; }
  .pos-grid { display: grid; grid-template-columns: 1.15fr 0.72fr 1fr; gap: 40px; align-items: start; }
  .founder-photo { width: 100%; max-width: none; }
  .founder-story .founder-name { color: var(--navy); }
  .steps { flex-wrap: nowrap; gap: 10px; align-items: flex-start; }
  .step { flex: 1; }
  .step-arrow { display: flex; align-items: center; color: var(--navy); font-size: 22px; padding-top: 6px; flex: 0 0 auto; }
  .foot-links { gap: 6px 26px; }
}

/* ---------- desktop package table ---------- */
.pkg-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pkg-table th, .pkg-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 15px; text-align: left; }
.pkg-table thead th { background: var(--paper); font-weight: 700; }
.pkg-table thead th.col-g { background: var(--teal); color: var(--white); text-align: center; }
.pkg-table thead th.col-d { background: var(--paper); color: var(--navy); text-align: center; }
.pkg-table thead .price { display: block; font-size: 24px; font-weight: 700; }
.pkg-table td.col-g { background: var(--teal-tint); text-align: center; }
.pkg-table td.col-d { text-align: center; }
.pkg-table .tick { color: var(--teal); font-weight: 700; }
.pkg-table .no { color: #9AA6B2; }
.pkg-table tfoot td { border-bottom: 0; padding: 18px; }
.pkg-table tfoot td.col-g { background: var(--teal-tint); }
.pkg-table tfoot .btn { width: 100%; }

/* ---------- estimator, forms, and shared footer extras ---------- */
.estimator { display: flex; flex-direction: column; gap: 16px; }
.field { margin-bottom: 14px; }
.field label,
.choice legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.choice { border: 0; margin: 0 0 4px; padding: 0; }
.choice-option { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 0 0; min-height: 48px; font-weight: 600; }
.estimator-figure { font-size: 28px; font-weight: 700; margin: 4px 0 16px; font-variant-numeric: tabular-nums; }
.estimator-prompt { font-weight: 700; color: var(--navy); margin: 18px 0 12px; }
.estimator-ctas { display: flex; flex-direction: column; gap: 12px; }
.estimator-empty { color: var(--ink-soft); }
.estimator-result h3 { margin-top: 8px; }
.form-alert { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.form-error { color: #8C2F2F; font-size: 14.5px; font-weight: 600; margin-top: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 16px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.csa-control { position: relative; display: block; width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.csa-control input { display: block; margin-top: 0; }
.csa-box-locked { pointer-events: none; }
.csa-box-hit { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.check label,
.csa-label { font-weight: 600; margin: 0; }
.csa-open {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.csa-open:hover { color: var(--teal-dark); }
.form-actions { margin-top: 8px; }
.form-actions .btn[disabled],
.csa-dialog-foot .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
body.csa-locked { overflow: hidden; }
.csa-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
}
.csa-modal[hidden] { display: none; }
.csa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 23, 60, 0.55);
}
.csa-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--white);
}
.csa-dialog-head,
.csa-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
}
.csa-dialog-head { border-bottom: 1px solid var(--line); }
.csa-dialog-head h2 { font-size: 20px; }
.csa-close {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  border-radius: 6px;
  min-height: 44px;
  padding: 8px 14px;
  cursor: pointer;
}
.csa-scroll {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 20px;
  -webkit-overflow-scrolling: touch;
}
.csa-scroll .legal { max-width: none; padding-top: 8px; padding-bottom: 8px; }
.csa-status { color: var(--ink-soft); }
.csa-dialog-foot {
  flex-direction: column;
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.csa-hint { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
@media (min-width: 720px) {
  .csa-modal { align-items: center; justify-content: center; padding: 24px; }
  .csa-dialog {
    width: min(760px, 100%);
    height: min(860px, calc(100% - 48px));
    border-radius: 10px;
    overflow: hidden;
  }
}
.contact-phone { font-weight: 700; color: var(--navy); text-decoration: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pixel { position: absolute; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 720px) {
  .estimator-ctas { flex-direction: row; flex-wrap: wrap; }
  .estimator-ctas .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
