/* ============================================================
   RICH SOCIAL STUDIO — Design System
   Palette + type from RSS Brand Board
   ============================================================ */

:root {
  --cream: #EAE6E3;
  --mist: #C7CBC8;
  --taupe: #989187;
  --sage: #8E9B81;
  --brown: #5F5143;
  --green: #738063;
  --ink: #4A4238;
  --white: #FFFFFF;
  --paper: #F6F4F1;
  --ios-blue: #0A84FF;
  --shadow-sm: 0 2px 8px rgba(95, 81, 67, 0.08);
  --shadow-md: 0 8px 30px rgba(95, 81, 67, 0.12);
  --shadow-lg: 0 20px 60px rgba(95, 81, 67, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --font-head: "Royale Couture Sans", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Now", "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(10, 132, 255, 0.25); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--brown);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); text-transform: uppercase; letter-spacing: 0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: 0.03em; }
h3 { font-size: 1.25rem; }

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--green);
}

.container { width: min(1140px, 92%); margin: 0 auto; }

section { padding: 96px 0; position: relative; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  background: rgba(115, 128, 99, 0.10);
  border: 1px solid rgba(115, 128, 99, 0.25);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.lead { font-size: 1.12rem; color: var(--taupe); max-width: 640px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 6px 20px rgba(115, 128, 99, 0.35);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 30px rgba(115, 128, 99, 0.45); background: var(--brown); }
.btn-ghost {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--taupe);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--white); border-color: var(--brown); }

/* ============ Glass Nav (macOS menu bar feel) ============ */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, 94%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 8px 26px;
  border-radius: 100px;
  background: rgba(246, 244, 241, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 54px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; color: var(--ink); transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}
.nav-cta {
  background: var(--green);
  color: var(--cream) !important;
  padding: 11px 24px;
  margin-left: 6px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.25s, transform 0.3s var(--ease-spring);
}
.nav-cta:hover { background: var(--brown); transform: scale(1.05); color: var(--cream) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--brown); border-radius: 2px; transition: 0.3s; }

.mobile-menu {
  position: fixed;
  top: 94px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(1140px, 94%);
  z-index: 999;
  background: rgba(246, 244, 241, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-spring);
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateX(-50%) translateY(0); }
.mobile-menu a {
  padding: 13px 16px;
  border-radius: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(115, 128, 99, 0.1); }

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(142, 155, 129, 0.25), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(199, 203, 200, 0.5), transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- iOS text-selection effect on accent word --- */
.selected {
  position: relative;
  background: rgba(10, 132, 255, 0.18);
  padding: 0 4px;
  border-radius: 2px;
  white-space: nowrap;
}
.selected::before, .selected::after {
  content: "";
  position: absolute;
  width: 2.5px;
  background: var(--ios-blue);
  top: 0; bottom: 0;
}
.selected::before { left: -1px; }
.selected::after { right: -1px; }
.selected .handle-a, .selected .handle-b {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--ios-blue);
  border-radius: 50%;
}
.selected .handle-a { top: -12px; left: -6.5px; }
.selected .handle-b { bottom: -12px; right: -6.5px; }

/* ============ iOS Notification Stack (hero) ============ */
.notif-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  perspective: 800px;
}
.ios-notif {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-26px) scale(0.94);
  transition: transform 0.45s ease, box-shadow 0.3s ease;
}
.ios-notif.dropped { animation: notifDrop 0.7s var(--ease-spring) forwards; }
.ios-notif:hover { transform: scale(1.03) !important; box-shadow: var(--shadow-lg); }
@keyframes notifDrop {
  from { opacity: 0; transform: translateY(-26px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.notif-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.notif-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}
.notif-icon.msg { background: linear-gradient(180deg, #6BD46B, #2FBB4F); }
.notif-icon.rem { background: #fff; border: 1px solid #E5E1DC; }
.notif-icon.cal { background: #fff; border: 1px solid #E5E1DC; color: #E0483E; font-weight: 700; font-size: 10px; }
.notif-app {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(74, 66, 56, 0.55);
  flex: 1;
}
.notif-time { font-size: 0.72rem; color: rgba(74, 66, 56, 0.45); }
.notif-title { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.notif-body { font-size: 0.88rem; color: rgba(74, 66, 56, 0.75); }

/* Reminders row inside notification */
.rem-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.rem-circle {
  width: 18px; height: 18px;
  border: 1.5px solid var(--taupe);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.rem-circle.done { background: var(--green); border-color: var(--green); }
.rem-circle.done::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.rem-text { font-size: 0.88rem; }
.rem-text.done { text-decoration: line-through; color: var(--taupe); }

/* ============ Siri Orb ============ */
.siri-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background: conic-gradient(from 0deg, #8E9B81, #C7CBC8, #738063, #EAE6E3, #989187, #8E9B81);
  animation: orbSpin 6s linear infinite;
  filter: saturate(1.3);
  box-shadow: 0 0 30px rgba(115, 128, 99, 0.5), inset 0 0 18px rgba(255,255,255,0.55);
}
.siri-orb::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.95), rgba(255,255,255,0.15) 55%, transparent 70%);
}
.siri-orb::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(115, 128, 99, 0.35);
  animation: orbPulse 2.4s ease-out infinite;
}
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.siri-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
}
.siri-row p { font-size: 1.02rem; }
.siri-row .siri-q { color: var(--taupe); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 4px; }

/* ============ Ticker / Marquee ============ */
.ticker {
  background: var(--green);
  color: var(--cream);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 44px;
  animation: ticker 30s linear infinite;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 44px; }
.ticker-track em { font-style: normal; opacity: 0.55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ Dynamic-Island Stats ============ */
.stats-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.island {
  background: #1C1B19;
  color: var(--cream);
  border-radius: 100px;
  padding: 18px 34px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease-spring), border-radius 0.4s ease;
}
.island:hover { transform: scale(1.06); border-radius: 26px; }
.island strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: #B4C2A4;
}
.island span { font-size: 0.85rem; color: rgba(234, 230, 227, 0.7); max-width: 170px; line-height: 1.3; }

/* ============ Cards ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(199, 203, 200, 0.4);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-num {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--sage);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--taupe); font-size: 0.98rem; }
.card-meta {
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

/* ============ macOS Window frame ============ */
.mac-window {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(199, 203, 200, 0.5);
}
.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--paper);
  border-bottom: 1px solid rgba(199, 203, 200, 0.5);
}
.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot.r { background: #FF5F57; }
.mac-dot.y { background: #FEBC2E; }
.mac-dot.g { background: #28C840; }
.mac-title {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--taupe);
  margin-right: 44px;
}
.mac-body { padding: 30px; }

/* ============ Notes window (iOS) ============ */
.notes-window {
  background: #FFFDF7;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 22px 26px 30px;
  border: 1px solid rgba(199, 203, 200, 0.4);
}
.notes-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #C7A54A;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.notes-bar .back::before { content: "‹ "; font-size: 1.1rem; }
.notes-date { text-align: center; font-size: 0.75rem; color: var(--taupe); margin-bottom: 12px; }
.notes-window blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--brown);
}
.notes-window cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--taupe);
}

/* ============ iMessage thread ============ */
.imsg {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}
.imsg-label {
  text-align: center;
  font-size: 0.72rem;
  color: var(--taupe);
  margin-bottom: 4px;
}
.bubble {
  padding: 12px 18px;
  border-radius: 22px;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 85%;
  position: relative;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.5s var(--ease-spring);
}
.bubble.show { opacity: 1; transform: translateY(0) scale(1); }
.bubble.them {
  background: var(--white);
  color: var(--ink);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.bubble.me {
  background: var(--green);
  color: var(--cream);
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}
.bubble cite { display: block; font-style: normal; font-size: 0.78rem; opacity: 0.65; margin-top: 6px; }
.typing {
  display: inline-flex;
  gap: 5px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 22px;
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.typing i {
  width: 8px; height: 8px;
  background: var(--mist);
  border-radius: 50%;
  animation: typingBlink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBlink {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ============ FaceTime / Call bar ============ */
.call-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(58, 55, 50, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 26px;
  padding: 18px 22px;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  margin: 0 auto;
}
.call-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sage);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--cream);
  flex-shrink: 0;
  overflow: hidden;
}
.call-avatar img { width: 100%; height: 100%; object-fit: cover; }
.call-info { flex: 1; min-width: 0; }
.call-info strong { display: block; font-size: 1.02rem; }
.call-info span { font-size: 0.82rem; opacity: 0.65; }
.call-btns { display: flex; gap: 12px; }
.call-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  transition: transform 0.3s var(--ease-spring);
}
.call-btn:hover { transform: scale(1.12); }
.call-btn.decline { background: #E0483E; }
.call-btn.accept { background: #2FBB4F; animation: acceptPulse 1.8s ease-out infinite; }
@keyframes acceptPulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 187, 79, 0.55); }
  100% { box-shadow: 0 0 0 16px rgba(47, 187, 79, 0); }
}

/* ============ Reminders checklist card ============ */
.reminders-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(199, 203, 200, 0.4);
}
.reminders-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.reminders-head .app-badge {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--paper);
  border: 1px solid #E5E1DC;
  display: grid;
  place-items: center;
}
.reminders-head .app-badge i {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: conic-gradient(#E0483E 0 25%, #F5A623 0 50%, #2FBB4F 0 75%, #0A84FF 0 100%);
}
.reminders-head strong { font-size: 1.05rem; }
.reminders-head span { font-size: 0.8rem; color: var(--taupe); display: block; }
.reminders-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(199, 203, 200, 0.35);
  font-size: 0.98rem;
}
.reminders-card li:last-child { border-bottom: none; }
.reminders-card .rem-circle { margin-top: 3px; }

/* ============ Do Not Disturb (not-a-fit) card ============ */
.x-circle {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #E0483E;
  flex-shrink: 0;
  position: relative;
  margin-top: 3px;
}
.x-circle::before, .x-circle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 1.8px;
  background: #fff;
  border-radius: 2px;
}
.x-circle::before { transform: translate(-50%, -50%) rotate(45deg); }
.x-circle::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dnd-moon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: #5E5CE6;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.reminders-card li strong { display: block; font-size: 1rem; }
.reminders-card li p { font-size: 0.9rem; color: var(--taupe); margin-top: 2px; }

/* ============ Steps ============ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }

/* ============ Results / stat cards ============ */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(199, 203, 200, 0.4);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); }
.stat-card strong {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}
.stat-card p { font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.stat-card span { font-size: 0.78rem; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ Chips ============ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.chip {
  background: var(--white);
  border: 1px solid rgba(152, 145, 135, 0.35);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease-spring), background 0.25s, color 0.25s;
}
.chip:hover { transform: scale(1.06); background: var(--green); color: var(--cream); border-color: var(--green); }

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 48px; }
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(199, 203, 200, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--green); box-shadow: 0 12px 40px rgba(115, 128, 99, 0.25); }
.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.price-type { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sage); margin-bottom: 16px; }
.price {
  font-family: var(--font-head);
  font-size: 2.3rem;
  color: var(--brown);
  line-height: 1;
}
.price small { font-size: 0.85rem; font-family: var(--font-body); color: var(--taupe); font-weight: 400; }
.price-desc { color: var(--taupe); font-size: 0.95rem; margin: 16px 0 20px; }
.price-card ul { margin-bottom: 24px; flex: 1; }
.price-card ul li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.93rem;
  align-items: flex-start;
}
.price-card ul li::before {
  content: "";
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAE6E3' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.price-note { font-size: 0.8rem; color: var(--taupe); margin-bottom: 18px; }

/* ============ FAQ (iOS Settings style) ============ */
.faq-group { margin-bottom: 44px; }
.faq-group-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
  margin: 0 0 10px 18px;
}
.faq-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(199, 203, 200, 0.4);
  overflow: hidden;
}
.faq-list details { border-bottom: 1px solid rgba(199, 203, 200, 0.35); }
.faq-list details:last-child { border-bottom: none; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: rgba(234, 230, 227, 0.5); }
.faq-list summary::after {
  content: "›";
  font-size: 1.4rem;
  color: var(--mist);
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(270deg); color: var(--green); }
.faq-answer { padding: 0 22px 22px; color: var(--taupe); font-size: 0.97rem; }
.faq-answer a { color: var(--green); font-weight: 600; text-decoration: underline; }

/* ============ Quote banner ============ */
.quote-banner {
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
}
.quote-banner blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto 16px;
}
.quote-banner cite { font-style: normal; font-size: 0.9rem; opacity: 0.75; }

/* ============ CTA section (light brown to green ombre) ============ */
.cta-section {
  text-align: center;
  padding: 110px 0 130px;
  background: linear-gradient(180deg, var(--cream) 0%, #E2D8C8 32%, #B9BEA4 68%, var(--green) 100%);
}
.cta-section h2 { margin: 18px 0; }
.cta-section .lead { margin: 0 auto 40px; color: var(--brown); }
.cta-section .btn-primary {
  background: var(--cream);
  color: var(--brown);
  box-shadow: 0 8px 24px rgba(60, 66, 50, 0.3);
}
.cta-section .btn-primary:hover { background: var(--white); color: var(--brown); }
.cta-section .section-tag { background: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.5); }

/* ============ Footer ============ */
footer {
  background: #24221F;
  color: rgba(234, 230, 227, 0.8);
  padding: 60px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-grid img { height: 58px; width: auto; filter: brightness(0) invert(0.92); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.92rem; }
.footer-links a:hover { color: var(--sage); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(234, 230, 227, 0.25);
  display: grid;
  place-items: center;
  transition: background 0.25s, transform 0.3s var(--ease-spring);
}
.footer-social a:hover { background: var(--green); transform: scale(1.1); }
.footer-social svg { width: 17px; height: 17px; fill: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(234, 230, 227, 0.15);
  padding-top: 26px;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(234, 230, 227, 0.5);
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-spring);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ============ Page hero (inner pages) ============ */
.page-hero {
  padding: 170px 0 70px;
  background:
    radial-gradient(900px 450px at 80% 0%, rgba(142, 155, 129, 0.22), transparent 60%),
    var(--cream);
}
.page-hero h1 { margin: 14px 0 18px; }

/* ============ Two-column ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col .portrait {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

/* ============ Contact card (iOS contact style) ============ */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(199, 203, 200, 0.4);
  overflow: hidden;
  max-width: 420px;
}
.contact-card-top {
  background: linear-gradient(160deg, var(--sage), var(--green));
  padding: 34px;
  text-align: center;
  color: var(--cream);
}
.contact-card-top .call-avatar { width: 74px; height: 74px; margin: 0 auto 12px; font-size: 1.5rem; background: rgba(255,255,255,0.25); }
.contact-card-top strong { font-size: 1.2rem; display: block; }
.contact-card-top span { font-size: 0.85rem; opacity: 0.85; }
.contact-rows { padding: 8px 0; }
.contact-rows a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(199, 203, 200, 0.3);
  font-size: 0.95rem;
  transition: background 0.2s;
}
.contact-rows a:last-child { border-bottom: none; }
.contact-rows a:hover { background: rgba(234, 230, 227, 0.5); }
.contact-rows .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--taupe); display: block; }
.contact-rows .value { color: var(--green); font-weight: 600; }

/* ============ Availability pill ============ */
.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(152, 145, 135, 0.3);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.avail-pill i {
  width: 9px; height: 9px;
  background: #2FBB4F;
  border-radius: 50%;
  animation: availBlink 2s ease-in-out infinite;
}
@keyframes availBlink { 50% { opacity: 0.35; } }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  section { padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 600px) {
  .card-grid, .steps-grid, .results-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .island { width: 100%; justify-content: center; }
  .quote-banner { padding: 40px 26px; }
  .call-bar { flex-wrap: wrap; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
