/* ============================================================
   CALWISE — Premium Apple-Inspired Product Experience
   Clean, authentic, understated product design.
   No artificial gradients, orbs, glowing borders, or excess depth.
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Colors */
  --c-orange:       #FF8A00;
  --c-orange-dark:  #E07600;
  --c-orange-light: #FFA23A;
  --c-near-black:   #171717;
  --c-warm-white:   #FFFCF9;
  --c-white:        #FFFFFF;
  --c-soft-bg:      #F7F3EE;
  --c-secondary:    #6E6E73;
  --c-border:       #EBE5DF;
  --c-border-subtle:#F2ECE6;

  /* Dark section */
  --c-dark-bg:      #171717;
  --c-dark-surface: #1F1F1F;
  --c-dark-border:  #2A2A2A;
  --c-dark-text-muted: #A1A1A6;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;

  /* Radii */
  --r-xl:   32px;
  --r-lg:   24px;
  --r-md:   16px;
  --r-sm:   12px;
  --r-pill: 999px;

  /* Spacing scale (8px) */
  --s-1:  8px;
  --s-2:  16px;
  --s-3:  24px;
  --s-4:  32px;
  --s-5:  40px;
  --s-6:  48px;
  --s-8:  64px;
  --s-10: 80px;
  --s-12: 96px;

  /* Container */
  --container: 1160px;

  /* Restrained, neutral shadows — communication of genuine elevation only */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-device: 0 24px 48px -12px rgba(0, 0, 0, 0.28), 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background-color: var(--c-warm-white);
  color: var(--c-near-black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  letter-spacing: -0.025em;
  line-height: 1.14;
  font-weight: 700;
  color: var(--c-near-black);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.3;
}

p {
  color: var(--c-secondary);
  line-height: 1.7;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.section {
  padding: var(--s-12) 0;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 249, 0.75);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 252, 249, 0.94);
  border-color: var(--c-border);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--c-near-black);
  flex-shrink: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-text {
  color: var(--c-near-black);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: var(--s-5);
}

.desktop-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--c-secondary);
  transition: color 150ms ease;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--c-near-black);
}

.desktop-nav a[aria-current="page"] {
  color: var(--c-near-black);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-orange);
  color: var(--c-white) !important;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: background-color 150ms ease, opacity 150ms ease !important;
}

.nav-cta:hover {
  background: var(--c-orange-dark) !important;
  color: var(--c-white) !important;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background-color 150ms ease;
}

.menu-toggle:hover {
  background: var(--c-soft-bg);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--c-near-black);
  transition: transform 240ms ease, opacity 240ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
  background: rgba(255, 252, 249, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-nav.is-open {
  max-height: 320px;
  border-bottom-color: var(--c-border);
}

.mobile-nav a {
  display: block;
  padding: 14px var(--s-3);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-near-black);
  border-bottom: 1px solid var(--c-border);
  transition: color 150ms ease, background-color 150ms ease;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--c-orange);
  background: var(--c-soft-bg);
}

.mobile-nav .nav-cta {
  margin: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  justify-content: center;
}

/* ── Section A — Hero ───────────────────────────────────────── */
.hero {
  padding-top: 5rem;
  padding-bottom: var(--s-12);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
}

.hero-copy {
  max-width: 580px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.16);
  color: var(--c-orange-dark);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-3);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-orange);
  flex-shrink: 0;
}

.hero-copy h1 {
  color: var(--c-near-black);
  margin-bottom: var(--s-3);
}

.hero-copy .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  max-width: 50ch;
  margin-bottom: var(--s-5);
  color: var(--c-secondary);
}

.app-store-badge {
  display: inline-block;
  transition: opacity 150ms ease;
}

.app-store-badge:hover {
  opacity: 0.82;
}

.app-store-badge img {
  height: 52px;
  width: auto;
}

/* ── Phone Stage & Realistic iPhone Mockup ──────────────────── */
.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrap {
  position: relative;
}

.iphone-frame {
  width: min(78vw, 280px);
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  border: 10px solid #111111;
  background: #000000;
  box-shadow:
    inset 0 0 0 1px #2C2C2E,
    0 0 0 1px #000000,
    var(--shadow-device);
  overflow: hidden;
  position: relative;
}

/* Dynamic Island */
.iphone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.screen-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Floating UI Chips — Static, clean Apple product presentation */
.chip {
  position: absolute;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--c-near-black);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 4;
  pointer-events: none;
}

.chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hidden on narrow mobile to avoid horizontal overflow */
.chip-1, .chip-2, .chip-3 {
  display: none;
}

.chip-1 {
  top: 12%;
  left: -20%;
}

.chip-2 {
  top: 48%;
  right: -22%;
}

.chip-3 {
  bottom: 18%;
  left: -24%;
}

/* ── Section B — Indian Food First (Solid Dark Section) ──────── */
.section-dark {
  background: var(--c-dark-bg);
  color: #FFFFFF;
  position: relative;
}

.section-dark h2 {
  color: #FFFFFF;
}

.section-dark p {
  color: var(--c-dark-text-muted);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--c-orange);
  margin-bottom: var(--s-2);
  display: block;
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--s-8);
}

.section-header h2 {
  margin-bottom: var(--s-2);
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Clean, solid step cards with no gradient overlays */
.steps-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  position: relative;
}

.step-card {
  background: var(--c-dark-surface);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--c-orange);
  flex-shrink: 0;
}

.step-content h3 {
  color: #FFFFFF;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--c-dark-text-muted);
}

.step-icon {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.45;
}

/* ── Section C — Features ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* Authentic UI card — no border glow, no hover gradient pseudo-elements */
.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  position: relative;
  cursor: default;
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--c-warm-white);
  border: 1px solid var(--c-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
}

.feature-icon-wrap svg {
  color: var(--c-orange);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-card h3 {
  color: var(--c-near-black);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--c-secondary);
}

/* Feature card micro-visuals — clean iOS interface representations */
.card-visual {
  margin-top: var(--s-3);
  padding: 12px 14px;
  background: var(--c-warm-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.visual-voice {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.voice-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 4px;
}

/* Static, natural audio bars — no continuous cartoon waving */
.voice-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--c-orange);
}

.voice-bar:nth-child(1) { height: 8px; }
.voice-bar:nth-child(2) { height: 16px; }
.voice-bar:nth-child(3) { height: 22px; }
.voice-bar:nth-child(4) { height: 14px; }
.voice-bar:nth-child(5) { height: 9px; }

.visual-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-near-black);
  font-style: italic;
}

.visual-food {
  gap: 6px;
}

.food-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.food-cals {
  color: var(--c-orange);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.macro-bar {
  display: flex;
  height: 8px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--c-border);
  gap: 2px;
}

.macro-bar-fill.protein { background: var(--c-orange); }
.macro-bar-fill.carbs   { background: #FFA23A; }
.macro-bar-fill.fats    { background: #34C759; }

.macro-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--c-secondary);
  font-variant-numeric: tabular-nums;
}

.macro-legend strong {
  margin-right: 3px;
}

.progress-week {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.day-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-border);
}

.day-dot.done {
  background: var(--c-orange);
}

.day-dot.active {
  background: var(--c-white);
  border: 2px solid var(--c-orange);
}

.day-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--c-secondary);
}

.streak-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-near-black);
  text-align: right;
  display: block;
  margin-top: 2px;
}

/* ── Section D — Product Showcase ───────────────────────────── */
.showcase-section {
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.showcase-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: var(--s-8);
  padding-bottom: var(--s-5);
  min-height: 400px;
  overflow: hidden;
}

.showcase-phone-wrap {
  position: relative;
  z-index: 2;
}

.showcase-phone-wrap .iphone-frame {
  width: min(72vw, 260px);
  box-shadow:
    inset 0 0 0 1px #2C2C2E,
    0 0 0 1px #000000,
    var(--shadow-device);
}

.showcase-phone-left,
.showcase-phone-right {
  position: absolute;
  z-index: 1;
  display: none;
}

@media (min-width: 600px) {
  .showcase-phone-left,
  .showcase-phone-right {
    display: block;
  }
}

.showcase-phone-left {
  left: -18%;
  top: 5%;
}

.showcase-phone-right {
  right: -18%;
  top: 5%;
}

.showcase-phone-left .iphone-frame,
.showcase-phone-right .iphone-frame {
  width: min(50vw, 180px);
  opacity: 0.75;
  box-shadow:
    inset 0 0 0 1px #2C2C2E,
    0 0 0 1px #000000,
    0 20px 40px -10px rgba(0, 0, 0, 0.22);
}

.showcase-phone-left .iphone-frame {
  transform: perspective(800px) rotateY(16deg) rotate(-3deg);
}

.showcase-phone-right .iphone-frame {
  transform: perspective(800px) rotateY(-16deg) rotate(3deg);
}

.showcase-features-pillrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-6);
  position: relative;
  z-index: 3;
}

.showcase-pill {
  padding: 8px 16px;
  background: var(--c-warm-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-near-black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.showcase-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-orange);
}

/* ── Section E — Apple Health ───────────────────────────────── */
.health-section {
  position: relative;
}

.health-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-5), 6vw, var(--s-10));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  position: relative;
}

.health-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-warm-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
}

.health-badge span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-near-black);
}

.health-card h2 {
  max-width: 440px;
}

.health-card p {
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.72;
}

/* Calorie Ring */
.calorie-ring-wrap {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-2);
  flex-wrap: wrap;
}

.calorie-ring-svg {
  flex-shrink: 0;
}

.ring-track {
  fill: none;
  stroke: var(--c-border);
  stroke-width: 12;
}

.ring-fill {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 12;
  stroke-linecap: round;
  /* Circumference of r=50 circle: 2 * π * 50 ≈ 314.16 */
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-fill.is-visible {
  stroke-dashoffset: 78.54; /* 75% fill */
}

.ring-labels {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ring-label-main {
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--c-near-black);
  letter-spacing: -0.03em;
}

.ring-label-sub {
  font-size: 0.88rem;
  color: var(--c-secondary);
}

/* ── Section F — CTA ────────────────────────────────────────── */
.cta-section {
  padding: var(--s-12) 0;
}

/* Clean, understated rounded container — no multi-gradient glow */
.cta-wrap {
  background: #FFF7F0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-6), 7vw, var(--s-12));
  text-align: center;
  position: relative;
}

.cta-product-visual {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--s-3);
  position: relative;
}

.cta-app-icon {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-wrap h2 {
  margin-bottom: var(--s-2);
}

.cta-wrap .lead {
  max-width: 50ch;
  margin: 0 auto var(--s-5);
  font-size: 1.05rem;
}

.cta-wrap .app-store-badge {
  position: relative;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
  padding: var(--s-6) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--c-near-black);
}

.footer-brand .brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-secondary);
  transition: color 150ms ease;
}

.footer-nav a:hover {
  color: var(--c-near-black);
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--c-secondary);
  width: 100%;
  text-align: center;
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
  margin-top: var(--s-2);
}

/* ── Content Pages (Privacy, Contact) ───────────────────────── */
.content-page-main {
  padding: var(--s-8) 0 var(--s-12);
}

.content-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-4), 5vw, var(--s-10));
}

.content-card h1 {
  margin-bottom: var(--s-2);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.content-card .page-meta {
  font-size: 0.9rem;
  color: var(--c-secondary);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-border);
}

.content-card h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--c-near-black);
  margin-top: var(--s-5);
  margin-bottom: var(--s-1);
}

.content-card p {
  color: var(--c-secondary);
  line-height: 1.75;
  margin-bottom: var(--s-2);
}

.content-card ul {
  list-style: disc;
  padding-left: var(--s-3);
  margin-bottom: var(--s-2);
}

.content-card li {
  color: var(--c-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.mail-link {
  color: var(--c-orange);
  font-weight: 600;
  transition: color 150ms ease;
}

.mail-link:hover {
  color: var(--c-orange-dark);
}

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

.contact-info-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-4), 5vw, var(--s-8));
}

.contact-info-card h1 {
  margin-bottom: var(--s-2);
}

.contact-info-card p {
  line-height: 1.75;
}

.contact-form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-4), 5vw, var(--s-8));
}

.contact-form {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-near-black);
}

.field {
  width: 100%;
  border: 1.5px solid var(--c-border);
  background: var(--c-warm-white);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--c-near-black);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field::placeholder {
  color: #C0BAB4;
}

/* Accessible keyboard focus indicator preserved */
.field:focus {
  outline: none;
  border-color: var(--c-orange);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.16);
}

textarea.field {
  min-height: 148px;
  resize: vertical;
  line-height: 1.6;
}

.btn-primary {
  appearance: none;
  border: none;
  border-radius: var(--r-pill);
  background: var(--c-orange);
  color: var(--c-white);
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 13px 28px;
  width: fit-content;
  cursor: pointer;
  transition: background-color 150ms ease, opacity 150ms ease;
}

.btn-primary:hover {
  background: var(--c-orange-dark);
}

.btn-primary:active {
  opacity: 0.9;
}

/* ── Reveal / GSAP base states ──────────────────────────────── */
.gsap-reveal {
  opacity: 0;
  transform: translateY(28px);
}

/* Hero elements: GSAP animates from hidden */
.hero-anim {
  /* No CSS pre-hide needed */
}

/* ── Utility ────────────────────────────────────────────────── */
.text-orange { color: var(--c-orange); }
.text-center { text-align: center; }

/* ── Breakpoints ────────────────────────────────────────────── */
@media (min-width: 480px) {
  /* Chips remain hidden on very small screens */
}

@media (min-width: 768px) {
  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--s-6);
  }

  .steps-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-icon {
    margin-left: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-copy {
    text-align: right;
    width: auto;
    padding-top: 0;
    border-top: none;
    margin-top: 0;
  }

  .showcase-phone-left { left: -10%; }
  .showcase-phone-right { right: -10%; }

  /* Show floating chips starting at 768px */
  .chip-1, .chip-2, .chip-3 {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--s-8);
  }

  .iphone-frame {
    width: min(40vw, 300px);
  }

  .chip-1 { left: -34%; }
  .chip-2 { right: -36%; }
  .chip-3 { left: -38%; }

  .showcase-phone-left { left: -6%; }
  .showcase-phone-right { right: -6%; }
}

@media (min-width: 1280px) {
  .hero-grid {
    gap: var(--s-10);
  }
}

/* ── prefers-reduced-motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .gsap-reveal {
    opacity: 1;
    transform: none;
  }

  .ring-fill {
    stroke-dashoffset: 78.54;
    transition: none;
  }
}
