/* StaycationPro site — shares the app's colors and type. */
:root {
  --brand: #0f766e;
  --brand-deep: #134e4a;
  --brand-light: #14b8a6;
  --accent: #ff7a59;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --field: #f1f4f7;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --gradient: linear-gradient(135deg, var(--brand-light), var(--brand) 55%, var(--brand-deep));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 247, 249, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 20px; height: 20px; }

.nav { display: flex; align-items: center; gap: 24px; }

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover { color: var(--ink); }

.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }

@media (max-width: 720px) {
  .nav .nav-link { display: none; }
}

/* ---- Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25); }

.btn-light { background: #fff; color: var(--brand); }

.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.35); }

.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }

.btn[aria-disabled="true"] { opacity: 0.85; cursor: default; transform: none; }

/* ---- Landing: hero --------------------------------------------------- */

.hero {
  background: var(--gradient);
  color: #fff;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-note { margin-top: 18px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; }
  .phone { display: none; }
}

/* Phone mockup drawn in CSS so the page has no image dependencies. */
.phone {
  justify-self: center;
  width: 290px;
  border-radius: 40px;
  background: #0b1220;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(3deg);
}

.phone-screen {
  border-radius: 30px;
  background: var(--bg);
  color: var(--ink);
  padding: 22px 16px;
  min-height: 520px;
}

.phone-screen small { color: var(--muted); font-weight: 600; }

.phone-screen h3 { margin: 0 0 14px; font-size: 1.25rem; letter-spacing: -0.02em; }

.phone-search {
  background: #fff;
  border-radius: 14px;
  padding: 11px 14px;
  color: var(--muted);
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.phone-card { margin-bottom: 14px; }

.phone-photo {
  height: 132px;
  border-radius: 18px;
  position: relative;
  background: var(--gradient);
}

.phone-photo.alt { background: linear-gradient(135deg, #fb923c, #ff7a59 50%, #be123c); }

.phone-price {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
}

.phone-price span { color: var(--muted); font-weight: 500; }

.phone-title { font-weight: 700; font-size: 0.85rem; margin-top: 8px; }

.phone-loc { color: var(--muted); font-size: 0.75rem; }

/* ---- Landing: sections ----------------------------------------------- */

section { padding: 88px 0; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

.section-head .kicker {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 12px;
}

.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card h3 { margin: 16px 0 6px; font-size: 1.1rem; }

.card p { margin: 0; color: var(--muted); }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand);
}

.icon-box.accent { background: rgba(255, 122, 89, 0.12); color: var(--accent); }

.icon-box svg { width: 24px; height: 24px; }

.audience-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.audience-tag.guest { background: rgba(15, 118, 110, 0.1); color: var(--brand); }

.audience-tag.host { background: rgba(255, 122, 89, 0.12); color: #c2410c; }

.steps { counter-reset: step; }

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: 56px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; }

.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.7); }

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; }
}

/* ---- Footer ---------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

.site-footer a { color: var(--muted); text-decoration: none; font-weight: 600; }

.site-footer a:hover { color: var(--ink); }

/* ---- Legal pages ----------------------------------------------------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.doc-head h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 8px;
}

.doc-head .meta { color: var(--muted); margin: 0 0 32px; }

.doc-body {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
}

.doc-body h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 36px 0 10px; }

.doc-body h2:first-child { margin-top: 0; }

.doc-body p, .doc-body li { color: #334155; }

.doc-body ul, .doc-body ol { padding-left: 22px; }

.doc-body li { margin-bottom: 6px; }

.doc-body table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 0.95rem; }

.doc-body th, .doc-body td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

.doc-body th { color: var(--muted); font-weight: 700; font-size: 0.85rem; background: var(--field); }

.table-wrap { overflow-x: auto; }

.callout {
  background: rgba(15, 118, 110, 0.07);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 20px 0;
}

.callout p { margin: 0; }

.callout.warn { background: #fff7ed; border-color: #fed7aa; }

@media (max-width: 600px) {
  .doc-body { padding: 24px; border-radius: 20px; }
}

/* ---- Forms (account deletion flow) ----------------------------------- */

.flow-form { display: grid; gap: 16px; max-width: 440px; margin-top: 20px; }

.field { display: grid; gap: 6px; }

.field span { font-weight: 700; font-size: 0.9rem; }

.field input {
  font: inherit;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: var(--field);
  color: var(--ink);
  outline: none;
}

.field input:focus { border-color: var(--brand); background: #fff; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 20px;
  font-weight: 600;
  cursor: pointer;
}

.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: #b91c1c; }

.form-error {
  color: #b91c1c;
  background: #fee2e2;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn-danger { background: #b91c1c; color: #fff; }

.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.flow-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand);
  margin-bottom: 8px;
}

.flow-icon svg { width: 28px; height: 28px; }

.muted { color: var(--muted) !important; }

[hidden] { display: none !important; }
