/* =============================================================================
   Namma oor — Core stylesheet
   -----------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Utilities / layout primitives
   4.  Buttons, badges, store buttons
   5.  Header + mobile drawer
   6.  Hero
   7.  Trust bar
   8.  Services
   9.  How it works
   10. App showcase (customer / vendor / delivery) + phone mockups
   11. Why Namma oor
   12. Ecosystem
   13. Community
   14. Final CTA
   15. FAQ
   16. Contact + form
   17. Footer
   18. Legal pages
   19. Motion / reveal
   ============================================================================= */

/* ------------------------------------------------------------- 1. tokens -- */
:root {
  /* Brand palette */
  --navy:        #123C7A;
  --navy-700:    #0E3164;
  --navy-900:    #0A2245;
  --green:       #1F9D55;
  --green-700:   #146B3B;
  --orange:      #F5A623;
  --orange-300:  #F8BE55;  /* orange text on navy: keeps 4.5:1 */
  --orange-600:  #DE9014;
  --water:       #20A9D8;
  --water-700:   #1888AE;
  --water-800:   #0D5673;  /* text-on-tint: keeps 4.5:1 contrast */

  /* Logo mark colours, taken from the official artwork */
  --logo-green:  #2E7D32;
  --logo-sun:    #F7941E;

  --bg:          #F7F9FC;
  --white:       #FFFFFF;
  --text:        #1F2937;
  --muted:       #667085;

  /* Derived surfaces (tints of the brand palette only) */
  --navy-tint:   #EAF0F9;
  --green-tint:  #E7F5ED;
  --orange-tint: #FEF3E0;
  --water-tint:  #E4F5FB;
  --line:        #E4E9F2;

  /* Type scale — fluid, clamps between mobile and desktop */
  --fs-display: clamp(2.125rem, 1.35rem + 3.4vw, 3.75rem);
  --fs-h2:      clamp(1.625rem, 1.15rem + 2.1vw, 2.625rem);
  --fs-h3:      clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-lead:    clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* Spacing / shape */
  --container:  1200px;
  --gutter:     20px;
  --section-y:  clamp(56px, 7vw, 104px);
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill: 999px;

  /* Elevation — soft, low-contrast */
  --sh-sm: 0 1px 2px rgba(18, 60, 122, .06), 0 2px 6px rgba(18, 60, 122, .05);
  --sh-md: 0 2px 6px rgba(18, 60, 122, .06), 0 12px 24px -8px rgba(18, 60, 122, .12);
  --sh-lg: 0 4px 10px rgba(18, 60, 122, .05), 0 24px 48px -12px rgba(18, 60, 122, .18);
  --sh-header: 0 1px 0 var(--line);

  --ring: 0 0 0 3px rgba(32, 169, 216, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 68px;
  /* Width at which the full 7-item nav, logo and CTA fit without crowding.
     Below this the header switches to the drawer. */
  --nav-bp: 1150px;
}

/* ------------------------------------------------------- 2. reset & base -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* The off-canvas mobile drawer sits past the right edge; clip it so it never
     creates a horizontal scrollbar. `clip` (unlike `hidden`) does not turn the
     root into a scroll container, so the sticky header keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system,
               'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }

p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

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

img, svg, picture { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--water-700);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- 3. primitives -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tint  { background: var(--white); }
.section--navy  { background: var(--navy); color: rgba(255,255,255,.85); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 56px);
  text-align: center;
}
.section-head p:not(.eyebrow) {
  font-size: var(--fs-lead);
  color: var(--muted);
  margin: 0;
}
.section--navy .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, .76); }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  color: var(--green-700);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow--orange { background: var(--orange-tint); color: #9A5B00; }
.eyebrow--water  { background: var(--water-tint);  color: var(--water-800); }
.eyebrow--navy   { background: var(--navy-tint);   color: var(--navy); }
.eyebrow--onnavy { background: rgba(255,255,255,.14); color: #fff; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.lead { font-size: var(--fs-lead); color: var(--muted); }

/* Generic card */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: #D6DEEC;
}

/* Icon chip */
.icon-chip {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--navy-tint);
  color: var(--navy);
  flex: none;
}
.icon-chip svg { width: 28px; height: 28px; }
.icon-chip--green  { background: var(--green-tint);  color: var(--green-700); }
.icon-chip--water  { background: var(--water-tint);  color: var(--water-800); }
.icon-chip--orange { background: var(--orange-tint); color: #9A5B00; }
.icon-chip--navy   { background: var(--navy-tint);   color: var(--navy); }

/* Check list */
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
}
.checklist li svg {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-700);
}
.checklist--onnavy li { color: rgba(255,255,255,.88); }
.checklist--onnavy li svg { background: rgba(255,255,255,.16); color: #7EE2AC; }

/* ---------------------------------------------------------- 4. buttons ---- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-busy="true"] {
  opacity: .72;
  cursor: progress;
  transform: none;
  box-shadow: none;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary  { --btn-bg: var(--orange); --btn-fg: #3B2400; }
.btn--primary:hover { --btn-bg: var(--orange-600); }
/* Solid green fills use the darker tone — white on #1F9D55 is only 3.5:1. */
.btn--green    { --btn-bg: var(--green-700); }
.btn--green:hover { --btn-bg: #0F5330; }
.btn--navy     { --btn-bg: var(--navy); }
.btn--navy:hover { --btn-bg: var(--navy-700); }
.btn--ghost    { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: #CBD5E6; }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--navy); }
.btn--onnavy   { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--onnavy:hover { --btn-bg: rgba(255,255,255,.16); }
.btn--white    { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* App store buttons */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 20px 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--sh-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease);
}
.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: var(--sh-md);
  color: var(--navy);
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: block; font-size: 10px; letter-spacing: .08em;
                  text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.store-btn strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.2;
                    letter-spacing: 0; text-transform: none; }
.store-btn--onnavy {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  box-shadow: none;
}
.store-btn--onnavy:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.store-btn--onnavy span { color: rgba(255,255,255,.78); }

/* ----------------------------------------------------------- 5. header ---- */
/* NOTE: deliberately no backdrop-filter here. A filtered element becomes the
   containing block for its position:fixed descendants, which would clip the
   mobile drawer (.nav) to the height of the header instead of the viewport. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -12px rgba(18, 60, 122, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

/* Logo — replace assets/img/logo.svg with the official Namma oor logo file */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 40px; height: 40px; border-radius: 11px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b {
  font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.02em;
  white-space: nowrap;
}
/* "oor" picks up the green of the logo mark. */
.logo-oor { color: var(--logo-green); margin-left: .28em; }
.logo-text small {
  font-size: 10.5px; font-weight: 600; color: var(--green-700);
  letter-spacing: .04em; margin-top: 3px;
}

.nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block;
  padding: 9px 11px;
  white-space: nowrap;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--navy); background: var(--navy-tint); }

.header-cta { flex: none; }

/* Just above the breakpoint the nav still needs a little help. */
@media (min-width: 1150px) and (max-width: 1320px) {
  .nav-list a { padding: 9px 8px; font-size: .875rem; }
  .header-inner { gap: 18px; }
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  /* Sits above the open drawer (both live inside the header's stacking
     context) so the close button stays reachable. */
  position: relative;
  z-index: 100;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }

/* Mobile drawer */
.nav-backdrop {
  position: fixed; inset: 0;
  z-index: 98;
  background: rgba(10, 34, 69, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1149px) {
  .nav-toggle { display: grid; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 99;
    width: min(340px, 86vw);
    margin: 0;
    padding: 84px 22px 32px;
    background: var(--white);
    box-shadow: var(--sh-lg);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s var(--ease);
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 13px 14px; font-size: 1rem; }
  .nav-drawer-cta { margin-top: 22px; display: grid; gap: 12px; }
}

@media (min-width: 1150px) {
  .nav-drawer-cta { display: none; }
}
body.nav-open { overflow: hidden; }

/* ------------------------------------------------------------- 6. hero ---- */
.hero {
  position: relative;
  padding-block: clamp(44px, 5.5vw, 84px) clamp(56px, 6vw, 96px);
  background:
    radial-gradient(900px 420px at 82% 6%, var(--water-tint) 0%, transparent 62%),
    radial-gradient(760px 420px at 6% 92%, var(--green-tint) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: clamp(34px, 4vw, 56px);
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(96deg, var(--green) 0%, var(--water) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { font-size: var(--fs-lead); color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.hero-actions { margin-bottom: 26px; }
.hero-store-label {
  font-size: var(--fs-xs); font-weight: 700; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; }
}

/* -------------------------------------------------------- 7. trust bar ---- */
.trust {
  position: relative;
  margin-top: calc(var(--section-y) * -0.5);
  z-index: 2;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border-radius: var(--r-md);
}
.trust-item svg { width: 22px; height: 22px; }
.trust-item .icon-chip { width: 46px; height: 46px; margin: 0; border-radius: 13px; }
.trust-item b { display: block; font-size: var(--fs-sm); color: var(--navy); font-weight: 700; }
.trust-item > span > span { font-size: var(--fs-xs); color: var(--muted); }
@media (min-width: 768px) { .trust-inner { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------- 8. services ---- */
.services-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 600px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card { position: relative; overflow: hidden; }
.service-card::after {
  content: '';
  position: absolute; inset: auto -30% -60% auto;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--accent-tint, var(--navy-tint));
  opacity: .5;
  transition: transform .35s var(--ease);
  z-index: 0;
}
.service-card:hover::after { transform: scale(1.25); }
.service-card > * { position: relative; z-index: 1; }
.service-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.service-card--milk  { --accent-tint: var(--navy-tint); }
.service-card--water { --accent-tint: var(--water-tint); }
.service-card--elec  { --accent-tint: var(--orange-tint); }
.service-card--plumb { --accent-tint: var(--green-tint); }

.services-cta { margin-top: clamp(30px, 3.5vw, 44px); text-align: center; }

/* ----------------------------------------------------- 9. how it works ---- */
.steps {
  display: grid;
  gap: clamp(22px, 3vw, 32px);
  position: relative;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  /* Subtle connecting line behind the numbered circles */
  .steps::before {
    content: '';
    position: absolute;
    top: 34px; left: 16%; right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #CBD5E6 0 10px, transparent 10px 20px);
    z-index: 0;
  }
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  display: grid; place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: var(--sh-sm);
  color: var(--navy);
  font-size: 1.5rem; font-weight: 800;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.step:hover .step-num { transform: translateY(-3px); border-color: var(--green); }
.step-num span {
  background: linear-gradient(140deg, var(--navy), var(--green));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step p { color: var(--muted); font-size: var(--fs-sm); max-width: 30ch; margin-inline: auto; }

/* ---------------------------------------------------- 10. app showcase ---- */
.split {
  display: grid;
  gap: clamp(34px, 4.5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-visual { order: 2; }
}
.split-body h2 { margin-bottom: 14px; }
.split-body > .lead { margin-bottom: 26px; }
.split-body .checklist { margin-bottom: 30px; }
@media (min-width: 560px) {
  .split-body .checklist { grid-template-columns: 1fr 1fr; column-gap: 22px; }
}

/* Phone mockup — built with CSS so it stays crisp and adds no image weight */
.phone {
  position: relative;
  width: min(290px, 78vw);
  margin-inline: auto;
  aspect-ratio: 290 / 590;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1B4C93 0%, var(--navy-900) 100%);
  box-shadow: var(--sh-lg);
}
.phone::before { /* speaker notch */
  content: '';
  position: absolute; top: 20px; left: 50%;
  width: 84px; height: 6px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: rgba(255,255,255,.22);
  z-index: 3;
}
.phone-screen {
  height: 100%;
  border-radius: 32px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* The page line-height (1.65) is far too airy for 10px mock UI text and
     pushed the tab bar out of the screen. */
  line-height: 1.4;
}
.phone-top {
  padding: 30px 14px 14px;
  background: linear-gradient(150deg, var(--navy) 0%, #1B58A8 100%);
  color: #fff;
}
.phone-top--green { background: linear-gradient(150deg, var(--green-700) 0%, var(--green) 100%); }
.phone-top--orange{ background: linear-gradient(150deg, #C97F0F 0%, var(--orange) 100%); }
.phone-loc { display: flex; align-items: center; gap: 6px; font-size: 10px; opacity: .82; }
.phone-loc svg { width: 12px; height: 12px; }
.phone-title { font-size: 14px; font-weight: 800; margin-top: 4px; }
.phone-search {
  display: flex; align-items: center; gap: 7px;
  margin-top: 10px; padding: 7px 11px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.18);
  font-size: 10.5px; color: rgba(255,255,255,.9);
}
.phone-search svg { width: 13px; height: 13px; }
.phone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  background: var(--bg);
}
.phone-label { font-size: 10px; font-weight: 800; color: var(--muted);
               letter-spacing: .07em; text-transform: uppercase; }
.phone-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.phone-tile {
  display: grid; gap: 5px;
  padding: 9px 9px;
  border-radius: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 10.5px; font-weight: 700; color: var(--navy);
}
.phone-tile svg { width: 20px; height: 20px; }
.phone-tile--milk  { color: var(--navy); }
.phone-tile--water { color: var(--water-800); }
.phone-tile--elec  { color: #9A5B00; }
.phone-tile--plumb { color: var(--green-700); }
.phone-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px;
  border-radius: 13px;
  background: var(--white);
  border: 1px solid var(--line);
}
.phone-row .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.phone-row .dot svg { width: 16px; height: 16px; }
.phone-row b { display: block; font-size: 11px; color: var(--navy); }
.phone-row > span > span { font-size: 9.5px; color: var(--muted); }
.phone-row .pill {
  margin-left: auto; flex: none;
  padding: 3px 8px; border-radius: var(--r-pill);
  font-size: 9px; font-weight: 800;
}
.pill--green { background: var(--green-tint); color: var(--green-700); }
.pill--orange{ background: var(--orange-tint); color: #9A5B00; }
.pill--water { background: var(--water-tint); color: var(--water-800); }
.phone-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto -12px -12px;
  padding: 8px 12px 10px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.phone-nav span { display: grid; place-items: center; color: #CBD5E6; }
.phone-nav span svg { width: 18px; height: 18px; }
.phone-nav .is-on { color: var(--navy); }

.phone-stat {
  padding: 11px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--navy) 0%, #1B58A8 100%);
  color: #fff;
}
.phone-stat span { font-size: 9.5px; opacity: .78; letter-spacing: .05em; text-transform: uppercase; }
.phone-stat b { display: block; font-size: 19px; font-weight: 800; margin-top: 2px; }
.phone-stat--green { background: linear-gradient(140deg, var(--green-700), var(--green)); }
.phone-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.phone-mini {
  padding: 10px; border-radius: 12px; background: var(--white); border: 1px solid var(--line);
}
.phone-mini span { font-size: 9px; color: var(--muted); display: block; }
.phone-mini b { font-size: 15px; color: var(--navy); }

/* Floating badge beside the phone */
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone-wrap::before {
  content: '';
  position: absolute;
  width: min(360px, 90%); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--water-tint) 0%, transparent 70%);
  z-index: 0;
}
.phone-wrap > * { position: relative; z-index: 1; }
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  font-size: var(--fs-xs); font-weight: 700; color: var(--navy);
  z-index: 2;
}
.float-card svg { width: 18px; height: 18px; }
.float-card--tl { top: 9%; left: -2%; }
.float-card--br { bottom: 11%; right: -2%; }
/* Badges are decorative — never let them grow enough to cover screen content. */
.float-card { max-width: 165px; }
@media (max-width: 599px) { .float-card { display: none; } }

/* ------------------------------------------------------ 11. why / cards --- */
.why-grid { grid-template-columns: 1fr; }
@media (min-width: 600px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { display: flex; gap: 16px; align-items: flex-start; }
.why-card .icon-chip { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
.why-card .icon-chip svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.why-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ------------------------------------------------------- 12. ecosystem ---- */
.eco-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) { .eco-grid { grid-template-columns: repeat(3, 1fr); } }
.eco-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease);
}
.eco-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.32);
}
.eco-card .icon-chip { background: rgba(255,255,255,.14); color: #fff; }
.eco-card h3 { margin-bottom: 6px; }
.eco-card > p:not(.eco-tag) { color: rgba(255,255,255,.76); font-size: var(--fs-sm); }
.eco-card .checklist { margin: 18px 0 26px; }
.eco-card .btn { margin-top: auto; }
.eco-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: #7EE2AC;
}
.eco-tag--orange { color: var(--orange-300); }
.eco-tag--water  { color: #7ED8F2; }

/* ------------------------------------------------------- 13. community ---- */
.community { background: var(--white); }
.community-visual svg { width: 100%; height: auto; }

/* -------------------------------------------------------- 14. final CTA --- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--navy-900) 0%, var(--navy) 46%, #175AA8 100%);
  color: rgba(255,255,255,.86);
  text-align: center;
}
.cta-final::before,
.cta-final::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-final::before {
  width: 460px; height: 460px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(32,169,216,.34) 0%, transparent 68%);
}
.cta-final::after {
  width: 420px; height: 420px;
  bottom: -200px; left: -120px;
  background: radial-gradient(circle, rgba(31,157,85,.3) 0%, transparent 68%);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; max-width: 16ch; margin-inline: auto; }
.cta-final p:not(.eyebrow) { max-width: 52ch; margin: 0 auto 30px; font-size: var(--fs-lead); }
.cta-final .btn-row { justify-content: center; }

/* -------------------------------------------------------------- 15. FAQ --- */
.faq-list {
  max-width: 840px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: #C6D4EA;
  box-shadow: var(--sh-sm);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  background: none;
  text-align: left;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq-q:hover { background: var(--navy-tint); }
.faq-q:focus-visible { outline-offset: -2px; }
.faq-icon {
  flex: none;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.faq-icon svg { width: 15px; height: 15px; }
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  background: var(--green-tint);
  color: var(--green-700);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* ---------------------------------------------------------- 16. contact --- */
.contact-grid { display: grid; gap: clamp(28px, 3.5vw, 48px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}
.contact-item .icon-chip { width: 44px; height: 44px; margin: 0; border-radius: 13px; }
.contact-item .icon-chip svg { width: 21px; height: 21px; }
.contact-item > span > span {
  display: block; font-size: var(--fs-xs); font-weight: 700;
  color: var(--muted); letter-spacing: .06em; text-transform: uppercase;
}
.contact-item a, .contact-item p { font-weight: 700; color: var(--navy); margin: 0; word-break: break-word; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--sh-md);
}
.form-grid { display: grid; gap: 18px; }
@media (min-width: 620px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
}
.field .req { color: #C1440E; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-sm);
  transition: border-color .18s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease);
}

/* Native select, restyled: chevron drawn as an inline SVG data URI so the
   control needs no wrapper element and no JavaScript. */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123C7A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}
.field select:invalid { color: var(--muted); }
.field select option { color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--water);
  background: var(--white);
  box-shadow: var(--ring);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #C1440E; background: #FDF1EC;
}
.field-error {
  display: none;
  margin-top: 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #A93A0C;
}
.field-error.is-visible { display: block; }
.form-note { margin-top: 16px; font-size: var(--fs-xs); color: var(--muted); }
.form-note a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: var(--fs-sm);
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--green-tint); color: var(--green-700); }
.form-status.is-error   { background: #FDECE4; color: #A93A0C; }
.form-status.is-info    { background: var(--water-tint); color: var(--water-800); }

/* ----------------------------------------------------------- 17. footer --- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.68);
  padding-top: clamp(48px, 6vw, 76px);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
  grid-template-columns: 1fr;
  padding-bottom: clamp(34px, 4vw, 52px);
}
@media (min-width: 560px)  { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px)  { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.7fr repeat(5, minmax(0, 1fr)); gap: 28px; } }
.footer-brand > p { max-width: 34ch; margin: 16px 0 18px; }

.footer-contact { display: grid; gap: 11px; margin-bottom: 22px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #7EE2AC; }
.footer-contact address { font-style: normal; max-width: 28ch; }
.footer-contact a { color: #fff; font-weight: 700; }
.footer-contact a:hover { color: #7EE2AC; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-oor { color: #7EE2AC; }
.site-footer .logo img {
  background: #fff;
  padding: 3px;
  border-radius: 10px;
}
.footer-brand .logo-text small { color: #7EE2AC; }
.site-footer h2 {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.68); }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.social-row a:hover { background: var(--green); transform: translateY(-2px); color: #fff; }
.social-row svg { width: 19px; height: 19px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: var(--fs-xs);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: rgba(255, 255, 255, .68); }
.footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------ 18. legal pages --- */
.legal-hero {
  padding-block: clamp(34px, 4vw, 56px);
  background: linear-gradient(135deg, var(--navy) 0%, #17549B 100%);
  color: rgba(255,255,255,.82);
}
.legal-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li[aria-current] { color: #fff; font-weight: 700; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.legal-dates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.legal-dates li {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.12);
  font-size: var(--fs-xs);
  color: #fff;
}
.legal-dates b { font-weight: 800; }

.legal-layout { display: grid; gap: clamp(28px, 3vw, 48px); align-items: start; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px 1fr; } }

.legal-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--sh-sm);
}
@media (min-width: 1000px) { .legal-toc { position: sticky; top: calc(var(--header-h) + 20px); } }
.legal-toc h2 {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.legal-toc ol { display: grid; gap: 4px; counter-reset: toc; }
.legal-toc a {
  display: block; padding: 6px 8px; border-radius: 8px;
  font-size: var(--fs-xs); color: var(--text); line-height: 1.45;
}
.legal-toc a:hover { background: var(--navy-tint); color: var(--navy); }

.legal-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 52px);
  box-shadow: var(--sh-sm);
  max-width: 78ch;
}
.legal-body > .legal-intro { font-size: var(--fs-lead); color: var(--muted); }
.legal-body section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.legal-body section:first-of-type { padding-top: 0; margin-top: 26px; border-top: 0; }
.legal-body h2 {
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  margin-bottom: 12px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-body h2 .num { color: var(--green-700); margin-right: 8px; }
.legal-body h3 { font-size: 1.0625rem; margin-top: 20px; }
.legal-body p, .legal-body li { color: #414B5A; }
.legal-body ul, .legal-body ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.legal-body ul li { list-style: disc; margin-bottom: 8px; }
.legal-body ol li { list-style: decimal; margin-bottom: 8px; }
.legal-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--navy); }
.legal-callout {
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--orange-tint);
  font-size: var(--fs-sm);
}
.legal-contact {
  margin-top: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.legal-contact dl { display: grid; gap: 8px; margin: 0; }
.legal-contact dt { font-weight: 800; color: var(--navy); }
.legal-contact dd { margin: 0 0 6px; }
.legal-back { margin-top: 32px; }

/* -------------------------------------------------- 19. motion / reveal --- */
/* Scoped to .js so content is never hidden when scripts do not run. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .store-btn:hover, .eco-card:hover { transform: none; }
}
