/* Floraly landing page — premium static marketing site. */
:root {
  color-scheme: light;
  --ink: #102016;
  --ink-strong: #07120c;
  --muted: #64746a;
  --soft: #eef6ef;
  --soft-2: #f7faf5;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --line: rgba(33, 78, 47, 0.13);
  --leaf: #1f8f4d;
  --leaf-dark: #146538;
  --mint: #dff6dc;
  --sage: #b9d8bf;
  --clay: #eec9a3;
  --gold: #d49a42;
  --shadow: 0 28px 70px rgba(27, 70, 44, 0.16), 0 10px 24px rgba(27, 70, 44, 0.08);
  --tight: -0.04em;
  --container: 1120px;
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 10%, rgba(223, 246, 220, 0.95), transparent 27rem),
    radial-gradient(circle at 85% 4%, rgba(238, 201, 163, 0.42), transparent 25rem),
    linear-gradient(180deg, #fbfdf8 0%, #f4faf3 44%, #ffffff 100%);
  color: var(--ink);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 253, 248, 0.78);
  border-bottom: 1px solid rgba(33, 78, 47, 0.08);
  backdrop-filter: blur(20px) saturate(1.4);
}
.nav {
  max-width: var(--container);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -0.02em; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  overflow: hidden;
  color: white;
  background: linear-gradient(145deg, #25a85b, #106339);
  border: 1px solid rgba(255, 255, 255, .74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .36),
    0 10px 22px rgba(31, 143, 77, .24);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; font-weight: 620; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink-strong); color: white; box-shadow: 0 14px 24px rgba(7, 18, 12, .17); }
.btn-primary:hover { background: #17351f; }
.btn-secondary { background: white; color: var(--ink); border-color: var(--line); box-shadow: 0 10px 22px rgba(27, 70, 44, .08); }
.btn-soft { background: rgba(31, 143, 77, 0.1); color: var(--leaf-dark); }

main { overflow: hidden; }
.section { padding: 96px 22px; }
.container { max-width: var(--container); margin: 0 auto; }
.hero { padding: 92px 22px 72px; }
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(42px, 7vw, 84px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--leaf-dark);
  background: rgba(31, 143, 77, .1);
  border: 1px solid rgba(31, 143, 77, .14);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 760;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--leaf); box-shadow: 0 0 0 6px rgba(31, 143, 77, .11); }
h1, h2, h3 { color: var(--ink-strong); margin: 0; letter-spacing: var(--tight); line-height: .98; text-wrap: balance; }
h1 { margin-top: 22px; font-size: clamp(52px, 8vw, 88px); max-width: 760px; }
h2 { font-size: clamp(38px, 5vw, 64px); max-width: 780px; }
h3 { font-size: 24px; line-height: 1.08; letter-spacing: -0.03em; }
.lede { margin: 26px 0 0; max-width: 620px; color: var(--muted); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.36; letter-spacing: -0.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.note { margin-top: 16px; color: #758278; font-size: 13px; }

.phone-wrap { position: relative; min-height: 640px; display: grid; place-items: center; }
.aura { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(31,143,77,.18), transparent 68%); filter: blur(6px); }
.phone {
  position: relative;
  width: min(360px, 86vw);
  min-height: 610px;
  border-radius: 46px;
  padding: 14px;
  background: #111915;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.phone-screen {
  min-height: 582px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fff5, #eff8ed);
  border: 1px solid rgba(255,255,255,.6);
}
.phone-top { padding: 22px 20px 10px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #496153; }
.dynamic-island { width: 86px; height: 25px; border-radius: 999px; background: #101812; }
.app-card { margin: 16px; padding: 18px; border-radius: 28px; background: white; box-shadow: 0 18px 38px rgba(44, 92, 55, .12); border: 1px solid rgba(33, 78, 47, .08); }
.scan-orb { height: 230px; border-radius: 28px; background:
  radial-gradient(circle at 44% 35%, #fff 0 8%, transparent 9%),
  radial-gradient(circle at 58% 58%, rgba(255,255,255,.7) 0 6%, transparent 7%),
  linear-gradient(145deg, #dff6dc, #6ec487 55%, #236f43);
  position: relative;
  overflow: hidden;
}
.scan-line { position: absolute; left: 18px; right: 18px; top: 50%; height: 2px; background: white; box-shadow: 0 0 20px rgba(255,255,255,.9); animation: scan 3.5s ease-in-out infinite; }
@keyframes scan { 0%,100%{ transform: translateY(-82px); opacity:.35;} 50%{ transform: translateY(82px); opacity:1;} }
.leaf-shape { position: absolute; width: 98px; height: 142px; border-radius: 85% 0 85% 0; background: linear-gradient(160deg, #0f7039, #9be0a8); transform: rotate(-28deg); left: 116px; top: 42px; box-shadow: 24px 20px 0 rgba(255,255,255,.14); }
.result-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 16px; }
.result-title strong { display: block; font-size: 20px; letter-spacing: -0.03em; }
.result-title span { color: var(--muted); font-size: 13px; }
.confidence { color: var(--leaf-dark); background: rgba(31,143,77,.12); border-radius: 999px; padding: 7px 10px; font-size: 13px; font-weight: 760; }
.care-list { display: grid; gap: 10px; margin-top: 16px; }
.care-item { display: flex; align-items: center; justify-content: space-between; background: #f5faf3; border-radius: 16px; padding: 11px 12px; color: #486052; font-size: 13px; }
.care-item b { color: var(--ink); }
.float-card { position: absolute; right: -12px; bottom: 96px; width: 196px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(27, 70, 44, .18); backdrop-filter: blur(14px); }
.float-card small { display: block; color: var(--muted); }
.float-card b { display: block; margin-top: 4px; letter-spacing: -0.02em; }

.section-heading { display: flex; justify-content: space-between; gap: 26px; align-items: end; margin-bottom: 34px; }
.section-heading p { max-width: 420px; color: var(--muted); margin: 0; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 270px; padding: 24px; border-radius: 30px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(27, 70, 44, .07); }
.feature-card:nth-child(2) { background: #102016; color: white; }
.feature-card:nth-child(2) h3, .feature-card:nth-child(2) p { color: white; }
.feature-card p { color: var(--muted); margin: 14px 0 0; }
.icon { width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; background: rgba(31,143,77,.11); color: var(--leaf-dark); margin-bottom: 64px; }
.feature-card:nth-child(2) .icon { background: rgba(255,255,255,.12); color: #b8f1bf; }

.showcase { background: #0b130e; color: white; }
.showcase h2, .showcase h3 { color: white; }
.showcase .section-heading p { color: rgba(255,255,255,.68); }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 28px; min-height: 300px; border-radius: 32px; background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055)); border: 1px solid rgba(255,255,255,.13); }
.step-number { color: #a7efb5; font-weight: 800; margin-bottom: 62px; }
.step p { color: rgba(255,255,255,.68); margin: 14px 0 0; }

.trust-band { padding: 28px 22px; background: #f7faf5; border-block: 1px solid var(--line); }
.trust-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { display: flex; gap: 12px; align-items: center; color: var(--muted); font-weight: 640; }
.check { width: 28px; height: 28px; border-radius: 50%; display:grid; place-items:center; background: rgba(31,143,77,.11); color: var(--leaf-dark); flex: 0 0 auto; }

.waitlist-card { border-radius: 42px; padding: clamp(34px, 6vw, 66px); background: linear-gradient(135deg, #e9f8e8, #ffffff 58%, #fff5ea); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr minmax(280px, 390px); gap: 34px; align-items: center; }
.status-box { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 20px; }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(33,78,47,.09); color: var(--muted); }
.status-row:last-child { border-bottom: 0; }
.status-row strong { color: var(--ink); }

.partners-hero { padding-bottom: 64px; }
.partner-panel { display: grid; gap: 16px; }
.partner-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.partner-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 38px rgba(44, 92, 55, .1);
}
.partner-card.featured { background: #102016; color: white; }
.partner-card.featured strong { display: block; margin-top: 12px; font-size: 30px; line-height: 1; letter-spacing: -0.04em; }
.partner-card.featured p { color: rgba(255, 255, 255, .7); }
.card-label { color: #a7efb5; font-size: 13px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.partner-card .icon { margin-bottom: 22px; }
.partner-card p { color: var(--muted); margin: 12px 0 0; }
.light-workflow .step { background: white; border-color: var(--line); box-shadow: 0 16px 36px rgba(27, 70, 44, .07); }
.light-workflow .step h3 { color: var(--ink-strong); }
.light-workflow .step p { color: var(--muted); }
.light-workflow .step-number { color: var(--leaf-dark); }

.partner-form { display: grid; gap: 18px; margin-top: 24px; }
.partner-form label { display: grid; gap: 8px; color: var(--ink); font-weight: 760; }
.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font: inherit;
  box-shadow: 0 8px 20px rgba(44, 92, 55, .06);
}
.partner-form textarea { resize: vertical; min-height: 110px; }
.optional-label { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thank-you-main { min-height: 58vh; }

.site-footer { padding: 44px 22px; background: #07120c; color: rgba(255,255,255,.72); }
.footer-grid { max-width: var(--container); margin: 0 auto; display:flex; justify-content:space-between; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.footer-links a:hover { color: white; }

.legal-page { background: #fbfdf8; }
.legal-main { max-width: 820px; margin: 0 auto; padding: 72px 22px 96px; }
.legal-main h1 { font-size: clamp(42px, 7vw, 68px); }
.legal-main h2 { font-size: 28px; margin-top: 38px; line-height: 1.12; }
.legal-main p, .legal-main li { color: var(--muted); font-size: 17px; }
.legal-main ul { padding-left: 22px; }
.legal-main .updated { color: var(--leaf-dark); font-weight: 760; }

@media (max-width: 920px) {
  .hero-grid, .waitlist-card { grid-template-columns: 1fr; }
  .phone-wrap { min-height: 560px; }
  .phone { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .partner-card-grid { grid-template-columns: 1fr; }
  .workflow, .trust-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 16px; }
}
@media (max-width: 680px) {
  .nav-links a:not(.btn) { display: none; }
  .hero, .section { padding-block: 64px; }
  .feature-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phone-wrap { min-height: auto; padding-top: 18px; }
  .phone { min-height: 560px; }
  .phone-screen { min-height: 532px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition: none !important; }
}
