/* TidyBee site — warm honey palette matching the app (src/theme.ts). */
:root {
  --cream: #FFF9EC;
  --cream-2: #FFF3CF;
  --honey: #F5B700;
  --honey-dark: #DDA400;
  --brown: #2A1A05;
  --brown-2: #6B5322;
  --muted: #8C7747;
  --border: #F1E2B8;
  --border-2: #E6CC84;
  --accent: #B56F00;
  --white: #FFFFFF;
  --shadow: 0 12px 32px rgba(120, 80, 10, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: Nunito, Inter, system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 249, 236, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); font: 900 24px Nunito, sans-serif; letter-spacing: -0.02em; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--brown-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--brown); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--honey); color: var(--brown) !important;
  font: 800 16px Nunito, sans-serif; padding: 11px 20px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 4px 12px rgba(199, 123, 0, 0.25);
}
.btn:hover { background: var(--honey-dark); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero {
  overflow: hidden; padding: 64px 0 56px;
  background: radial-gradient(110% 90% at 88% 8%, #FFE7A0 0%, rgba(255, 231, 160, 0) 56%), var(--cream);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--cream-2); border: 1.5px solid var(--border-2);
  color: var(--accent); font: 800 13px Nunito, sans-serif; padding: 7px 14px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.hero h1 { font-weight: 900; font-size: clamp(40px, 6vw, 66px); margin: 18px 0; }
mark { color: inherit; padding: 0 0.06em; background: linear-gradient(transparent 62%, var(--honey) 62%, var(--honey) 92%, transparent 92%); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--brown-2); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.appstore { display: inline-block; line-height: 0; }
.appstore img { height: 54px; width: auto; }
.link-quiet { color: var(--brown-2); font-weight: 700; text-decoration: none; }
.link-quiet:hover { color: var(--brown); }
.note { margin: 16px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }

.hero-art { position: relative; height: 620px; }
.phone {
  position: absolute; width: 280px; padding: 10px; border-radius: 46px;
  background: linear-gradient(150deg, #56565c, #1f1f22 20%, #2b2b2e 65%, #131315);
  box-shadow: 0 30px 60px rgba(90, 60, 10, 0.28), inset 0 0 0 1.5px #77777d;
}
.phone img { border-radius: 37px; width: 100%; height: auto; }
.phone::after {
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 29%; height: 21px; border-radius: 999px; background: #000;
}
.hero-art .front { right: 24px; top: 34px; transform: rotate(5deg); z-index: 2; }
.hero-art .back { left: 8px; top: 0; transform: rotate(-6deg) scale(0.9); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 560px; max-width: 460px; width: 100%; margin: 12px auto 0; }
}
@media (max-width: 480px) {
  .hero-art { height: 470px; }
  .phone { width: 220px; border-radius: 38px; padding: 8px; }
  .phone img { border-radius: 31px; }
  .phone::after { top: 15px; height: 17px; }
  .hero-art .front { right: 0; }
  .hero-art .back { left: -6px; }
}

/* Sections */
section { padding: 88px 0; }
.tinted { background: var(--cream-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-weight: 900; font-size: clamp(32px, 4.4vw, 48px); }
.section-head p { color: var(--brown-2); font-size: 18px; margin: 14px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: 28px;
  padding: 28px 24px 0; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--honey); font: 900 20px/40px Nunito, sans-serif; text-align: center; }
.step h3 { font-size: 24px; font-weight: 900; margin: 16px 0 8px; }
.step p { margin: 0 0 24px; color: var(--brown-2); }
.shot {
  margin-top: auto; align-self: center; width: 80%; height: 380px; overflow: hidden;
  border: 9px solid #1f1f22; border-bottom: 0; border-radius: 34px 34px 0 0; background: #1f1f22;
}
.shot img { border-radius: 25px 25px 0 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .shot { width: 70%; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.feature .icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--cream-2);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 14px;
}
.feature svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--brown-2); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.uses li { background: var(--white); border: 1.5px solid var(--border-2); border-radius: 999px; padding: 10px 18px; font-weight: 700; }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 24px; }
.plan { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.plan.pro { border: 2px solid var(--honey); }
.plan .tag {
  position: absolute; top: -14px; left: 32px; background: var(--honey);
  font: 800 12px Nunito, sans-serif; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}
.plan h3 { font-size: 26px; font-weight: 900; }
.price { font: 900 44px Nunito, sans-serif; margin: 10px 0 0; letter-spacing: -0.02em; }
.price small { font: 600 16px Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { padding: 9px 0 9px 32px; position: relative; border-top: 1px solid var(--border); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23B56F00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font: 800 18px Nunito, sans-serif; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--brown-2); }

.final { text-align: center; background: var(--honey); padding: 84px 0; }
.final h2 { font-weight: 900; font-size: clamp(32px, 5vw, 52px); }
.final p { color: #4A3304; font-size: 18px; margin: 14px auto 28px; max-width: 36em; }
.final .appstore img { margin: 0 auto; }

.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--border); color: var(--brown-2); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--brown-2); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--brown); }

/* Policy and support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 46px); font-weight: 900; margin-bottom: 8px; }
.doc h2 { font-size: 24px; font-weight: 800; margin: 36px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc p, .doc li { color: var(--brown-2); }
.doc ul { padding-left: 22px; }
.doc .card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 24px; margin: 24px 0; }
