@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --sunny-orange: #FF4A00;
  --warm-orange: #FF6B00;
  --golden-yellow: #FFC400;
  --soft-peach: #FFE2BE;
  --cream: #FFF9F1;
  --ink-navy: #090B1D;
  --slate-grey: #5A5D66;
  --border-sand: #EFE6DC;
  --white: #FFFFFF;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(9, 11, 29, 0.04), 0 6px 18px rgba(9, 11, 29, 0.06);
  --shadow-soft: 0 4px 30px rgba(9, 11, 29, 0.08);
  --shadow-pop: 0 10px 40px rgba(255, 74, 0, 0.25);
}

* { box-sizing: border-box; }
html { margin: 0; padding: 0; overflow-x: hidden; }
body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--ink-navy);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sunny-orange);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-navy);
  margin: 12px 0 16px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.section-sub {
  font-size: 17px;
  color: var(--slate-grey);
  max-width: 560px;
  text-wrap: pretty;
  margin: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 241, 0);
  backdrop-filter: blur(0);
  transition: background 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 249, 241, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--border-sand);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--sunny-orange);
  letter-spacing: -0.01em;
}
.header-inner { min-width: 0; }
.nav { display: none; gap: 32px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-navy); position: relative; padding: 6px 2px; }
.nav a:hover { color: var(--sunny-orange); }
@media (min-width: 900px) { .nav { display: flex; } }
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
@media (max-width: 899px) {
  .header-cta .btn span,
  .header-cta .btn { font-size: 14px; padding: 0 14px; height: 42px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--sunny-orange);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 6px 16px rgba(255, 74, 0, 0.25);
}
.btn-primary:hover { background: #ff5a14; box-shadow: var(--shadow-pop); }
.btn-ghost { background: transparent; color: var(--ink-navy); }
.btn-ghost:hover { background: var(--border-sand); }
.btn-outline { background: var(--white); color: var(--ink-navy); border: 1px solid var(--border-sand); }
.btn-outline:hover { border-color: var(--ink-navy); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; padding-top: 24px; padding-bottom: 32px; overflow: hidden; max-width: 100vw; }
@media (min-width: 768px) { .hero { padding-top: 64px; padding-bottom: 80px; } }

.hero-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

@media (min-width: 960px) {
  [data-hero="image-left"] .hero-grid { grid-template-columns: 1fr 1.05fr; }
  [data-hero="image-left"] .hero-text { order: 2; }
  [data-hero="image-left"] .phone-stage { order: 1; }
  [data-hero="centered"] .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  [data-hero="centered"] .hero-text { max-width: 680px; }
  [data-hero="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
  [data-hero="centered"] .hero-actions, [data-hero="centered"] .hero-meta { justify-content: center; }
  [data-hero="centered"] .phone-stage { margin-top: 32px; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink-navy);
  margin: 20px 0 20px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hero-title .sun-accent { color: var(--sunny-orange); }
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--slate-grey);
  max-width: 520px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-motif { position: absolute; pointer-events: none; z-index: 0; }
.hero-motif--top-right { top: 80px; right: -120px; width: 360px; opacity: 0.85; }
@media (min-width: 768px) { .hero-motif--top-right { top: 120px; right: -80px; width: 480px; } }
@media (min-width: 960px) { .hero-motif--top-right { display: none; } }
.hero-text { position: relative; z-index: 1; }

/* Phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; padding: 24px 0; }
.phone-stage::before {
  content: "";
  position: absolute;
  inset: auto 10% 5% 10%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 196, 0, 0.32), rgba(255, 196, 0, 0) 70%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  width: 320px;
  border-radius: 44px;
  background: #0a0a0a;
  padding: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -20px rgba(9, 11, 29, 0.4), 0 0 0 1px rgba(0,0,0,0.5);
  z-index: 1;
}
@media (min-width: 1100px) { .phone { width: 360px; } }
.phone-screen { position: relative; border-radius: 32px; overflow: hidden; background: var(--cream); aspect-ratio: 9 / 19.5; }
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 10;
}

/* Phone screen contents */
.app { height: 100%; display: flex; flex-direction: column; padding-top: 44px; position: relative; }
.app-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-navy);
  z-index: 5;
}
.app-statusbar svg { display: block; }
.app-header { padding: 8px 20px 0; display: flex; align-items: center; justify-content: space-between; }
.app-header .brand-mark { width: 28px; height: 28px; }
.app-header .brand-name { font-size: 24px; }
.app-avatar {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--ink-navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-navy);
}
.app-body { flex: 1; overflow: hidden; padding: 14px 16px 0; }
.app-hero-text { padding: 0 4px; position: relative; }
.app-hero-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-navy);
  margin: 6px 0 6px;
}
.app-hero-text p { font-size: 13px; color: var(--slate-grey); margin: 0 0 14px; line-height: 1.4; }
.app-hero-motif { position: absolute; top: -6px; right: -32px; width: 130px; opacity: 0.9; pointer-events: none; }
.app-card-hero { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--border-sand); }
.app-card-hero img { width: 100%; height: 100%; object-fit: cover; }
.app-count-bubble {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  background: var(--white);
  border-radius: 999px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 8px;
  box-shadow: 0 4px 14px rgba(9,11,29,0.12);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-navy);
}
.app-count-bubble .marker { width: 32px; height: 32px; }
.app-cta {
  margin: 14px 0 16px;
  background: var(--sunny-orange);
  color: var(--white);
  border-radius: 14px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}
.app-section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 10px; }
.app-section-head h3 { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--ink-navy); margin: 0; }
.app-section-head a { font-size: 13px; color: var(--sunny-orange); font-weight: 500; }
.app-cards-scroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 16px; scroll-snap-type: x mandatory; }
.app-place-card { flex: 0 0 130px; background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid var(--border-sand); scroll-snap-align: start; }
.app-place-card .img { aspect-ratio: 4/3; position: relative; }
.app-place-card .img::after {
  content: "";
  position: absolute;
  top: 6px; left: 6px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--white) url("assets/sunny_icon.png") center/70% no-repeat;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.app-place-card .meta { padding: 8px 10px 12px; }
.app-place-card .meta strong { font-size: 13px; display: block; margin-bottom: 2px; }
.app-place-card .meta span { font-size: 11px; color: var(--slate-grey); }
.app-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-sand); background: var(--cream); padding: 8px 0 18px; }
.app-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--slate-grey); font-weight: 500; }
.app-nav-item.active { color: var(--sunny-orange); }
.app-nav-item svg { width: 22px; height: 22px; }


/* How it works */
.how-bg { background: var(--white); border-top: 1px solid var(--border-sand); border-bottom: 1px solid var(--border-sand); }
.steps { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--border-sand);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--sunny-orange); margin-bottom: 8px; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; margin: 0; }
.step p { margin: 0; color: var(--slate-grey); font-size: 15px; }
.step-illo { margin-top: auto; align-self: flex-end; }

/* Features */
.features { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 8px 4px; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--soft-peach);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--sunny-orange);
}
.feature h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 8px; }
.feature p { color: var(--slate-grey); margin: 0; font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border-sand); border-radius: 16px; overflow: hidden; transition: border-color 150ms ease; }
.faq-item.is-open { border-color: var(--ink-navy); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-navy);
}
.faq-q .chev {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--border-sand);
  display: flex; align-items: center; justify-content: center;
  transition: transform 200ms ease, background 200ms ease;
  flex-shrink: 0;
}
.faq-item.is-open .faq-q .chev { transform: rotate(45deg); background: var(--sunny-orange); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 280ms ease; }
.faq-item.is-open .faq-a { max-height: 360px; }
.faq-a-inner { padding: 0 22px 22px; color: var(--slate-grey); font-size: 15px; line-height: 1.6; }

/* CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--ink-navy);
  color: var(--white);
  padding: 56px 32px;
  text-align: center;
}
@media (min-width: 768px) { .cta-banner { padding: 88px 64px; border-radius: 40px; } }
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: url("assets/sunny_sun_motif.png") center/contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: auto auto -40% -20%;
  width: 60%;
  aspect-ratio: 1;
  background: url("assets/sunny_icon.png") center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.cta-banner .eyebrow { color: var(--golden-yellow); position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 16px;
  position: relative; z-index: 1;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.cta-banner p { color: rgba(255, 249, 241, 0.75); font-size: 17px; max-width: 520px; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta-banner .actions { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 1; }

/* Footer */
.footer { background: var(--cream); border-top: 1px solid var(--border-sand); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; } }
.footer-brand p { color: var(--slate-grey); margin: 16px 0 0; max-width: 320px; font-size: 14px; }
.footer-col h4 { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-navy); margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--slate-grey); }
.footer-col a:hover { color: var(--sunny-orange); }
.footer-base {
  border-top: 1px solid var(--border-sand);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--slate-grey);
}
@media (min-width: 768px) { .footer-base { flex-direction: row; justify-content: space-between; align-items: center; } }

.image-fallback { background: linear-gradient(135deg, #f4c89a, #ffe2be 60%, #ffc400); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.phone { animation: floatY 6s ease-in-out infinite; }

/* Live feed section */
.live-feed-loading { text-align: center; padding: 40px 20px; color: var(--slate-grey); }
.live-feed-loading .spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border-sand);
  border-top-color: var(--sunny-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.live-feed-prompt {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border-sand);
}
.live-feed-prompt p { color: var(--slate-grey); margin: 0 0 16px; }

/* Legal pages */
.legal-content { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; }
.legal-content h1 { font-family: var(--font-display); font-weight: 700; font-size: 36px; margin: 0 0 24px; color: var(--ink-navy); }
.legal-content h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 32px 0 12px; color: var(--ink-navy); }
.legal-content p, .legal-content li { color: var(--slate-grey); font-size: 15px; line-height: 1.7; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--sunny-orange); text-decoration: underline; }

/* Contact page */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink-navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 15px;
  background: var(--white);
  color: var(--ink-navy);
  transition: border-color 150ms ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--sunny-orange); outline: none; }
.form-group textarea { min-height: 120px; resize: vertical; }

/* Mobile menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--ink-navy);
}
.mobile-menu-btn:hover { background: var(--border-sand); }
@media (min-width: 900px) { .mobile-menu-btn { display: none; } }
