/* Nest869 website. Same colours and fonts as the app. */
:root {
  --ocean: #0A5C6B;
  --coral: #FF6B4A;
  --sun: #FFC94D;
  --ink: #0B1F2A;
  --sand: #FFF8EE;
  --muted: #52616B;
  --verified: #1D6FE0;
  --line: #E6DED1;
  --mint: #BFE3E0;
  --heading: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ocean); }
img, svg { display: block; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { background: var(--ocean); color: #fff; position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { font-family: var(--heading); font-weight: 800; font-size: 26px; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.logo span { background: var(--coral); color: var(--ink); font-size: 15px; padding: 2px 10px; border-radius: 999px; }
.logo-small { color: var(--ink); font-size: 22px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: #DCEBEC; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.active { color: #fff; }

/* Hero */
.hero { background: var(--ocean); color: #fff; padding: 48px 0 72px; border-radius: 0 0 36px 36px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--sun); margin: 0 0 10px; }
.hero h1 { font-family: var(--heading); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 0 0 18px; }
.lead { font-size: 18px; color: #DCEBEC; max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.badge-soon { background: var(--coral); color: var(--ink); font-weight: 700; padding: 13px 22px; border-radius: 14px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; }
.hero .link-arrow { color: #fff; }

/* Phone mock-up (pure CSS, no images) */
.phone { background: var(--sand); border: 10px solid var(--ink); border-radius: 38px; padding: 0 0 16px; max-width: 320px; margin-inline: auto; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); color: var(--ink); }
.phone-top { background: var(--ocean); color: #fff; padding: 22px 18px 20px; }
.phone-logo { font-family: var(--heading); font-weight: 800; font-size: 20px; }
.phone-logo span { background: var(--coral); color: var(--ink); font-size: 12px; padding: 1px 8px; border-radius: 999px; margin-left: 4px; }
.phone-top p { font-family: var(--heading); font-weight: 800; font-size: 19px; line-height: 1.15; margin: 14px 0; }
.phone-search { background: #fff; color: var(--muted); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.phone-card { background: #fff; margin: 14px 14px 0; border-radius: 18px; overflow: hidden; }
.phone-photo { height: 120px; background: linear-gradient(135deg, var(--mint), #8CCBC4 60%, var(--ocean)); position: relative; }
.phone-photo.alt { height: 70px; background: linear-gradient(135deg, #F3D9B1, var(--sun)); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--sun); font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.phone-info { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px 12px; font-size: 14px; }
.phone-info small { display: block; color: var(--muted); font-size: 11px; }
.price { color: var(--ocean); font-weight: 800; text-align: right; }
.price .verified { color: var(--verified); font-weight: 600; }

/* Sections */
.section { padding: 72px 0 8px; }
.section-title { font-family: var(--heading); font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; margin: 0 0 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card h3 { font-family: var(--heading); font-size: 20px; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ocean); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; }
.two-col .section-title { margin-bottom: 12px; }
.two-col p { color: var(--muted); font-size: 17px; margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; font-weight: 600; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: var(--ink); font-size: 13px; display: grid; place-items: center; }
.safety { padding-bottom: 72px; }
.big-note { font-family: var(--heading); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; max-width: 30em; margin: 0 0 18px; }

/* Legal and text pages */
.legal { max-width: 760px; padding: 48px 0 72px; }
.legal h1 { font-family: var(--heading); font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; margin: 0 0 6px; }
.legal h2 { font-family: var(--heading); font-size: 22px; margin: 34px 0 8px; scroll-margin-top: 80px; }
.legal p, .legal li { font-size: 16.5px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.updated { color: var(--muted); margin-top: 0; }
.center { text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D3D8; padding: 44px 0 24px; margin-top: 24px; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .logo-small { color: #fff; }
.site-footer p { margin: 10px 0 0; font-size: 14px; }
.footer-links { display: grid; gap: 8px; font-size: 14px; }
.footer-links a { color: #C9D3D8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid #22394A; font-size: 13px; color: #8FA1AB; }

/* Phones and small tablets */
@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .phone { max-width: 280px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .two-col { padding: 26px; }
  .header-row { padding: 10px 0; }
  .site-header { position: static; }
}
