/* Fieldmark website. "Golden Hour" palette and fonts match the app (src/theme). */
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --forest: #0F2A1F; --deep: #08170F; --sheet: #123224; --moss: #2F5D46;
  --leaf: #8FD19E; --sunrise: #F2A541; --cream: #F7F3EA; --muted: #9DB0A5;
  --border: rgba(247, 243, 234, 0.08); --card: rgba(247, 243, 234, 0.05);
  --dawn: #F7C87A; --ember: #E88A4E; --dusk: #5B3A4A;
  --wrap: 1120px; --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--forest); color: var(--cream);
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sunrise); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.08; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sunrise); }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

/* Pills / buttons */
.store-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border-radius: 999px;
  background: var(--sunrise); color: var(--forest); text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px rgba(242, 165, 65, 0.35);
}
.store-pill svg { width: 22px; height: 22px; flex: none; }
.store-pill small { display: block; font-size: 12px; font-weight: 400; opacity: 0.8; line-height: 1.2; }
.store-pill span { line-height: 1.25; }
.ghost { color: var(--cream); font-weight: 600; text-decoration: none; padding: 12px 6px; }
.ghost:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 140px 0 90px;
  background: linear-gradient(180deg, var(--dawn) 0%, var(--ember) 30%, var(--dusk) 62%, #16392B 85%, var(--forest) 100%);
}
.hero::before { /* the sun */
  content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -60px; top: 120px;
  background: radial-gradient(circle, rgba(255, 224, 160, 0.95) 0%, rgba(247, 200, 122, 0.6) 40%, rgba(247, 200, 122, 0) 70%);
}
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 { color: var(--cream); text-shadow: 0 2px 30px rgba(91, 58, 74, 0.35); }
.hero .lede { margin: 22px 0 32px; font-size: 20px; color: rgba(247, 243, 234, 0.92); max-width: 480px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(247, 243, 234, 0.8); }
.phone {
  width: min(320px, 78vw); margin: 0 auto; border-radius: 46px; padding: 10px; background: #0a0d0c;
  box-shadow: 0 40px 80px rgba(8, 23, 15, 0.55), 0 0 0 1px rgba(247, 243, 234, 0.08) inset;
}
.phone img { border-radius: 38px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }
.hero .phone { transform: rotate(3deg); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--sunrise); color: var(--forest); font-weight: 700;
}
.step p { margin-top: 10px; color: var(--muted); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature.flip .feature-media { order: 2; }
.feature-copy h3 { font-size: 32px; font-family: Fraunces, Georgia, serif; font-weight: 700; margin-top: 10px; }
.feature-copy p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(143, 209, 158, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238FD19E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.feature-media .phone { transform: none; }

/* Bird strip */
.birds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bird { border-radius: 18px; overflow: hidden; background: var(--sheet); border: 1px solid var(--border); }
.bird img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.bird span { display: block; padding: 10px 12px; font-weight: 600; font-size: 14px; }

/* Grid of small features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.tile .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(242, 165, 65, 0.14); margin-bottom: 16px; }
.tile .ic svg { width: 22px; height: 22px; stroke: var(--sunrise); }
.tile p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.pro-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.6 Inter, sans-serif; letter-spacing: 0.06em; background: var(--sunrise); color: var(--forest); vertical-align: middle; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); display: flex; flex-direction: column; }
.plan.best { background: linear-gradient(180deg, rgba(242, 165, 65, 0.16), rgba(242, 165, 65, 0.04)); border-color: rgba(242, 165, 65, 0.55); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--sunrise); color: var(--forest); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.plan .price { font-family: Fraunces, Georgia, serif; font-size: 44px; font-weight: 700; margin-top: 14px; }
.plan .price small { font: 400 17px Inter, sans-serif; color: var(--muted); }
.plan .sub { color: var(--muted); margin-top: 4px; }
.plan ul { margin-top: 20px; }
.fine { margin-top: 26px; font-size: 14px; color: var(--muted); max-width: 760px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 18px; background: var(--card); border: 1px solid var(--border); padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--sunrise); font-size: 24px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { padding: 0 0 20px; color: var(--muted); }

/* Closing band */
.closing { text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(242, 165, 65, 0.35), transparent 60%); }
.closing h2 { max-width: 760px; margin: 0 auto; }
.closing p { margin: 18px auto 32px; color: var(--muted); font-size: 19px; max-width: 560px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 44px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 22px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--cream); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.credits { font-size: 12.5px; line-height: 1.7; opacity: 0.85; }
.credits a { color: var(--muted); }

/* Plain pages (support) */
.page { padding: 130px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.page .lede { margin: 16px 0 36px; font-size: 19px; color: var(--muted); }
.contact { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 26px; border-radius: var(--radius); background: var(--sheet); border: 1px solid var(--border); margin-bottom: 44px; }
.contact a.store-pill { box-shadow: none; }
.page h2 { font-size: 28px; margin: 44px 0 16px; }

@media (max-width: 900px) {
  .hero { padding: 120px 0 70px; }
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-media { order: 0; }
  .hero::before { width: 380px; height: 380px; right: -160px; top: 520px; }
  .steps, .grid, .plans { grid-template-columns: 1fr; }
  .birds { grid-template-columns: repeat(3, 1fr); }
  .nav-links a:not(.keep) { display: none; }
  section { padding: 72px 0; }
  .hero .phone { transform: none; width: min(280px, 72vw); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Store-style screenshot cards (the images already include their own device art) */
.shot { width: min(330px, 80vw); margin: 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px rgba(8, 23, 15, 0.5), 0 0 0 1px rgba(247, 243, 234, 0.08); }
.shot img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }
.hero .shot { transform: rotate(3deg); }
@media (max-width: 900px) { .hero .shot { transform: none; width: min(280px, 72vw); } }
