/* Freshfront Sites — base styles (mobile-first) */
:root {
  --green-900: #0a3a35;
  --green-800: #0e4f47;
  --green-700: #136459;
  --green-100: #e3f1ee;
  --green-50: #f2f8f6;
  --accent: #f4a259;
  --accent-dark: #e08a3c;
  --accent-soft: #fdf0e3;
  --ink: #1b2a28;
  --muted: #4a5e5a;
  --line: #d9e6e2;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 58, 53, .06), 0 8px 24px rgba(10, 58, 53, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--green-900); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 4.5rem 0; }
.section-alt { background: var(--green-50); }
.section-head { max-width: 680px; margin: 0 auto 2.75rem; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-700); margin-bottom: .75rem;
}
.lead { font-size: clamp(1.1rem, 2.4vw, 1.25rem); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--green-900); box-shadow: 0 6px 18px rgba(224, 138, 60, .3); }
.btn-primary:hover { background: var(--accent-dark); color: var(--green-900); }
.btn-ghost { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-ghost:hover { background: var(--green-800); color: #fff; }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--accent-soft); color: var(--green-900); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 38px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--green-900); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1.25rem; }
.site-nav li a {
  display: block; padding: .8rem 0; color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav .btn { margin-top: .75rem; width: 100%; color: var(--green-900); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 100% -10%, rgba(244, 162, 89, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(19, 100, 89, .12), transparent 60%),
    var(--green-50);
  padding: 3.5rem 0 4rem;
}
.hero-grid { display: grid; gap: 2.75rem; align-items: center; }
.hero h1 span { color: var(--green-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; color: var(--muted); font-size: .98rem; }
.hero-points li { display: flex; gap: .55rem; align-items: flex-start; }
.check { flex: none; width: 20px; height: 20px; margin-top: .2rem; color: var(--green-700); }

/* Browser + phone mockup */
.mockup { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.browser {
  background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(10, 58, 53, .35), 0 0 0 1px var(--line);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f1f5f4; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dedb; display: block; }
.browser-bar .url { margin-left: 10px; flex: 1; height: 20px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 11px; line-height: 18px; color: var(--muted); padding: 0 8px; overflow: hidden; white-space: nowrap; }
.phone {
  position: absolute; right: -6px; bottom: -28px; width: 30%; min-width: 110px;
  background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 24px 50px -16px rgba(10, 58, 53, .45), 0 0 0 1px var(--line);
}
.phone .screen { border-radius: 14px; overflow: hidden; background: var(--green-50); }

/* Fake site content shared by mockups */
.fs { font-size: 10px; line-height: 1.3; }
.fs-nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.fs-logo { width: 70px; height: 10px; border-radius: 3px; background: var(--c, var(--green-800)); }
.fs-links { display: flex; gap: 8px; }
.fs-links i { display: block; width: 26px; height: 6px; border-radius: 3px; background: #d6e1de; }
.fs-hero { padding: 18px 14px 20px; background: var(--bg, linear-gradient(135deg, var(--green-800), var(--green-700))); color: #fff; }
.fs-hero b { display: block; font-size: 15px; line-height: 1.2; margin-bottom: 6px; max-width: 75%; }
.fs-hero small { display: block; opacity: .85; margin-bottom: 10px; max-width: 70%; }
.fs-btn { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--a, var(--accent)); color: var(--green-900); font-weight: 700; font-size: 9px; }
.fs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px 16px; }
.fs-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.fs-card i { display: block; width: 18px; height: 18px; border-radius: 6px; background: var(--soft, var(--green-100)); margin-bottom: 6px; }
.fs-card u { display: block; height: 5px; border-radius: 3px; background: #dfe8e5; margin-top: 4px; text-decoration: none; }
.fs-card u:last-child { width: 70%; }
.phone .fs-hero { padding: 14px 10px; }
.phone .fs-hero b { font-size: 11px; max-width: 100%; }
.phone .fs-hero small { max-width: 100%; font-size: 8px; }
.phone .fs-nav { padding: 8px 10px; }
.phone .fs-logo { width: 44px; height: 8px; }
.phone .fs-burger { width: 14px; height: 8px; border-top: 2px solid #9fb3ae; border-bottom: 2px solid #9fb3ae; }
.phone .fs-cards { grid-template-columns: 1fr; padding: 10px; gap: 6px; }

/* Problem */
.grid { display: grid; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark);
  margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }
.problem-note { margin: 2.5rem auto 0; max-width: 720px; text-align: center; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.6rem 1.6rem 1.6rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-800); color: #fff;
  font-weight: 800; margin-bottom: 1rem;
}
.step p { margin: 0; color: var(--muted); }
.step-final .step-num { background: var(--accent); color: var(--green-900); }

/* Pricing */
.pricing { display: grid; gap: 1.25rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan .price { font-size: 2.6rem; font-weight: 800; color: var(--green-900); letter-spacing: -0.03em; line-height: 1; margin: .25rem 0 .35rem; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .plan-desc { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; }
.plan .btn { margin-top: auto; }
.plan-featured { border: 2px solid var(--green-800); }
.badge {
  position: absolute; top: -13px; left: 1.6rem;
  background: var(--green-800); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}
.plan-care { background: var(--green-900); border-color: var(--green-900); color: #e8f3f0; }
.plan-care h3, .plan-care .price { color: #fff; }
.plan-care .price small, .plan-care .plan-desc { color: #bcd6d0; }
.plan-care .check { color: var(--accent); }
.pricing-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 1.75rem; }

/* Work */
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-visual { background: var(--green-50); padding: 1.25rem 1.25rem 0; border-bottom: 1px solid var(--line); }
.work-visual .browser { border-radius: 10px 10px 0 0; box-shadow: 0 0 0 1px var(--line); }
.work-body { padding: 1.4rem 1.5rem 1.6rem; }
.work-label {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-soft); color: #8a4a12; padding: .25rem .6rem; border-radius: 6px; margin-bottom: .75rem;
}
.work-body p { color: var(--muted); margin-bottom: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tags li { font-size: .8rem; font-weight: 600; color: var(--green-800); background: var(--green-100); padding: .2rem .6rem; border-radius: 999px; }
.work-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 1.75rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; color: var(--green-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Contact */
.contact {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #e3f1ee; border-radius: var(--radius-lg); padding: 2.75rem 1.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 162, 89, .35), transparent 65%); right: -140px; top: -160px;
}
.contact > * { position: relative; }
.contact h2 { color: #fff; }
.contact p { max-width: 600px; margin-left: auto; margin-right: auto; }
.contact-email { display: inline-block; font-size: clamp(1.15rem, 4vw, 1.6rem); font-weight: 800; color: #fff; margin: .5rem 0 1.5rem; word-break: break-word; }
.contact-email:hover { color: var(--accent); }
.contact-list { list-style: none; padding: 0; margin: 1.75rem auto 0; display: grid; gap: .5rem; max-width: 520px; text-align: left; font-size: .97rem; }
.contact-list li { display: flex; gap: .55rem; }
.contact-list .check { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: .95rem; }
.footer-inner { display: grid; gap: 1.25rem; }
.footer-inner .logo img { height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--muted); }
.footer-meta p { margin: 0; }

/* Privacy / prose page */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.updated { color: var(--muted); font-size: .95rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { padding: 3.5rem 2.5rem; }
}
@media (min-width: 900px) {
  .section { padding: 6rem 0; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; box-shadow: none; border: 0; background: transparent; }
  .site-nav ul { display: flex; align-items: center; gap: 1.75rem; padding: 0; }
  .site-nav li a { border: 0; padding: .4rem 0; font-size: .97rem; }
  .site-nav li a:not(.btn):hover { color: var(--green-700); }
  .site-nav .btn { margin: 0; width: auto; min-height: 42px; padding: .55rem 1.1rem; }
  .hero { padding: 5.5rem 0 6.5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
  .footer-links { justify-content: center; }
  .footer-meta { text-align: right; }
}
.sr-optional { font-size: .85rem; font-weight: 600; color: #bcd6d0; }
.footer-address { font-style: normal; margin-top: .25rem; }

/* Layout polish */
h1, h2, h3, .lead, .section-head p { text-wrap: balance; }
.mockup > .browser .fs-hero b, .mockup > .browser .fs-hero small { max-width: 62%; }
@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
  .phone { right: -4px; width: 34%; }
}
.header-inner > .btn { white-space: nowrap; }
@media (max-width: 479px) {
  .header-inner > .btn { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }
  .logo img { height: 34px; }
}
