/* RentalVault — marketing + support site
   One stylesheet shared by index / privacy / support.
   Brand: Vault Green #2F5848, Warm Clay #C97B4A, off-white paper.
   Typeface is the Apple system stack on purpose — the site renders in the
   same San Francisco the native app uses, so page and app read as one brand. */

:root {
  --green:        #2F5848;
  --green-deep:   #22413A;
  --green-darker: #1B332C;
  --clay:         #C97B4A;
  --clay-ink:     #B0663A;
  --paper:        #FAF9F6;
  --card:         #FFFFFF;
  --ink:          #1B1B18;
  --muted:        #63635C;
  --line:         #E8E4DB;
  --on-green:     rgba(255,255,255,0.92);
  --on-green-dim: rgba(255,255,255,0.62);
  --green-hair:   rgba(255,255,255,0.15);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- Eyebrow: the app's own all-caps, letter-spaced label ---- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 14px;
}
.eyebrow.on-green { color: rgba(255,255,255,0.6); }

/* ---- Tabular figures for anything money-shaped ---- */
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- Top bar ---------- */
.topbar {
  position: relative;
  z-index: 3;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
}
.brand.ink { color: var(--ink); }
.brand.ink .mark { background: var(--green); border-color: transparent; }

.topnav { display: flex; gap: 26px; align-items: center; }
.topnav a { color: var(--on-green); font-size: 0.95rem; font-weight: 500; }
.topnav a:hover { color: #fff; text-decoration: none; }
.topnav.ink a { color: var(--muted); }
.topnav.ink a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% -10%, #366353 0%, rgba(54,99,83,0) 55%),
    linear-gradient(170deg, var(--green) 0%, var(--green-deep) 62%, var(--green-darker) 100%);
  overflow: hidden;
}
/* faint concentric "vault dial" echo behind the hero, from the app icon motif */
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow:
    0 0 0 40px rgba(255,255,255,0.03),
    0 0 0 90px rgba(255,255,255,0.02);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 92px;
}
/* Let both columns shrink below their content's intrinsic size — without this,
   the full-resolution screenshot forces the grid wider than the viewport. */
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0 0 20px;
}
.hero h1 .accent { color: #E9A578; }
.hero p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--on-green);
  margin: 0 0 30px;
  max-width: 30ch;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn svg { width: 18px; height: 18px; }

.trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 30px;
  color: var(--on-green-dim);
  font-size: 0.9rem;
}
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .dot { width: 6px; height: 6px; border-radius: 50%; background: #E9A578; }

/* Device frame */
.device-col { display: flex; justify-content: center; }
.device {
  width: 100%; max-width: 300px;
  background: #0c0c0c;
  border-radius: 42px;
  padding: 11px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}
.device img { display: block; width: 100%; border-radius: 32px; }

/* ---------- Sections on paper ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 40ch; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 700;
  margin: 0 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .ficon {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(47,88,72,0.10); color: var(--green);
}
.feature .ficon svg { width: 21px; height: 21px; }
.feature h3 { margin: 0 0 7px; font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.plan {
  border-radius: var(--radius); padding: 32px 30px;
  border: 1px solid var(--line); background: var(--card);
  display: flex; flex-direction: column;
}
.plan.unlock { background: var(--green); border-color: var(--green); color: #fff; }
.plan .plan-name { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.plan.unlock .plan-name { color: rgba(255,255,255,0.6); }
.plan .price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 4px; }
.plan .price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan.unlock .price small { color: rgba(255,255,255,0.7); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { padding: 9px 0 9px 28px; position: relative; font-size: 0.98rem; border-top: 1px solid var(--line); }
.plan.unlock li { border-top-color: var(--green-hair); }
.plan li:first-child { border-top: none; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 13px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.plan.unlock li::before { border-color: #E9A578; }

/* Privacy band */
.band {
  background:
    radial-gradient(120% 100% at 10% 0%, #366353 0%, rgba(54,99,83,0) 55%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff; padding: 74px 0;
}
.band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 14px; max-width: 22ch; }
.band p { color: var(--on-green); font-size: 1.1rem; max-width: 56ch; margin: 0 0 8px; }

/* ---------- Doc pages (privacy / support) ---------- */
.doc-hero { background: var(--green); color: #fff; padding: 20px 0 56px; }
.doc-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.02em; margin: 18px 0 8px; }
.doc-hero p { color: var(--on-green-dim); margin: 0; font-size: 0.98rem; }
.doc { padding: 60px 0 90px; }
.doc .col { max-width: 720px; }
.doc h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #33332e; font-size: 1.02rem; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--clay);
  border-radius: 12px; padding: 18px 20px; margin: 8px 0 28px; color: var(--ink);
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; padding: 18px 2px; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--clay); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 2px 20px; color: var(--muted); }

.contact-card {
  background: var(--green); color: #fff; border-radius: var(--radius);
  padding: 30px 32px; margin: 6px 0 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
/* Explicit color: the card sits inside .doc, whose `.doc p` rule would
   otherwise tint this dark and make it unreadable on the green card. */
.contact-card .lead { color: #fff; font-size: 1.12rem; font-weight: 600; margin: 0 0 4px; }
.contact-card .sub { color: var(--on-green-dim); margin: 0; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--green-darker); color: rgba(255,255,255,0.72); padding: 46px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer a { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.footer a:hover { color: #fff; }
.footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer .copy { font-size: 0.9rem; color: rgba(255,255,255,0.5); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.rise-2 { animation-delay: .08s; }
.rise-3 { animation-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding: 8px 0 64px; }
  /* Text first on mobile, phone below the value prop and CTA. */
  .device-col { margin-top: 20px; }
  .device { max-width: 232px; }
  .hero p.lede { max-width: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  /* Nav links would crowd the logo; the hero CTA and footer cover navigation. */
  .topnav { display: none; }
  .hero h1 { font-size: 1.95rem; line-height: 1.1; }
  .contact-card { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  html { scroll-behavior: auto; }
}
