:root {
  --bg: #fbf9f5;
  --surface: #ffffff;
  --alt: #f3efe7;
  --ink: #23251f;
  --muted: #6a6c62;
  --accent: #6b7a4b;
  --accent-dark: #55623a;
  --rose: #b0605a;
  --line: #e5dfd2;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }

.logo { font-family: var(--display); font-weight: 600; font-size: 28px; text-decoration: none; color: var(--accent-dark); letter-spacing: 0.01em; }

.top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top nav { display: flex; gap: 24px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top nav .signin { color: var(--ink); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; background: var(--surface); }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.15s, border-color 0.15s;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border: 1px solid var(--line); background: var(--surface); }
.btn.ghost:hover { border-color: var(--accent); }

/* Hero */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 88px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.kicker { text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; color: var(--accent); font-weight: 600; margin: 0 0 18px; }
.hero h1 { font-size: clamp(46px, 7vw, 78px); }
.hero h1 em { color: var(--rose); font-weight: 500; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 24px 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--muted); margin-top: 20px; }

.hero-art { display: flex; justify-content: center; }
.phone {
  width: 280px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  padding: 12px;
  background: #1f211b;
  box-shadow: 0 40px 80px -30px rgba(50, 55, 35, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: rotate(3deg);
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(107, 122, 75, 0.28), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(176, 96, 90, 0.16), transparent 55%),
    #f1ede1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #2f3327;
}
.p-eyebrow { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; margin: 0 0 14px; }
.p-names { font-family: var(--display); font-size: 48px; line-height: 0.95; margin: 0; display: flex; flex-direction: column; }
.p-names span { font-style: italic; font-size: 26px; opacity: 0.7; margin: 4px 0; }
.p-date { font-size: 13px; margin: 16px 0 0; letter-spacing: 0.05em; }
.p-count { display: flex; gap: 14px; margin-top: 22px; }
.p-count b { font-family: var(--display); font-size: 26px; font-weight: 500; }
.p-btn { margin-top: 28px; background: var(--accent); color: #fff; font-size: 11px; letter-spacing: 0.15em; padding: 10px 28px; border-radius: 999px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; text-align: left; }
  .phone { width: 230px; transform: none; }
}

/* Bands */
.band { padding: 88px 20px; }
.band.alt { background: var(--alt); }
.band h2 { font-size: clamp(36px, 5vw, 52px); text-align: center; max-width: 760px; margin: 0 auto; }
.band .sub { text-align: center; color: var(--muted); margin: 14px auto 0; max-width: 560px; }

.steps, .features, .themes, .faq { max-width: 1040px; margin: 48px auto 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.step .num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--alt);
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3, .feature h3, .theme-meta h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.step p, .feature p, .theme-meta p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.feature { border-top: 2px solid var(--accent); padding-top: 18px; }

@media (max-width: 860px) {
  .steps, .features { grid-template-columns: 1fr; }
}

.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 880px; }
.theme { display: block; text-decoration: none; background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.theme:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(40, 40, 30, 0.4); }
.theme-preview { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.tp-names { font-size: 34px; }
.tp-date { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.theme-garden .theme-preview {
  background: radial-gradient(ellipse at 15% 0%, rgba(107, 122, 75, 0.3), transparent 60%), #e8e4d6;
  color: #2f3327;
}
.theme-garden .tp-names { font-family: "Cormorant Garamond", serif; font-weight: 500; }
.theme-classic .theme-preview { background: #1c1c1c; color: #f6f1ea; }
.theme-classic .tp-names { font-family: Georgia, serif; }
.theme-classic .tp-date { color: #c9a77c; }
.theme-meta { padding: 22px 24px 26px; }
.theme-meta .link { display: inline-block; margin-top: 12px; color: var(--accent-dark); font-weight: 500; font-size: 15px; }

.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.closing { text-align: center; }


.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.foot .logo { font-size: 22px; }

/* Pricing */
.price-card {
  max-width: 440px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
}
.price { font-family: var(--display); font-size: 64px; font-weight: 600; line-height: 1; margin: 0; color: var(--accent-dark); }
.price-note { color: var(--muted); margin: 6px 0 24px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; display: grid; gap: 10px; }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

.foot nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 32px 20px 80px; }
.legal h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 8px; }
.legal h2 { font-family: var(--body); font-size: 20px; font-weight: 600; margin: 36px 0 10px; }
.legal p, .legal li { color: #3b3d35; }
.legal .updated { color: var(--muted); font-size: 14px; }
.foot { flex-wrap: wrap; gap: 12px 20px; }
.foot .company { flex-basis: 100%; margin: 4px 0 0; font-size: 12px; color: var(--muted); }

/* Checkout */
.cta.center { justify-content: center; }

.buy { max-width: 560px; margin: 0 auto; padding: 40px 20px 88px; }
.buy h1 { font-size: clamp(40px, 6vw, 56px); }
.buy .sub { color: var(--muted); margin: 14px 0 28px; }
.buy-form { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.buy-form label { font-weight: 500; }
.slug-field { display: flex; align-items: center; gap: 6px; color: var(--muted); flex-wrap: wrap; }
.slug-field input { flex: 1 1 180px; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.slug-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.buy-form .hint { font-size: 14px; color: var(--muted); }
.buy-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 12px 0 8px; }
.buy-form .check input { margin-top: 5px; }
.buy-form button.btn { border: 0; cursor: pointer; font-family: inherit; }
.buy-form .btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.buy-form .fine { margin: 4px 0 0; }
.buy-error { background: #fbeceb; color: #8a2d26; border: 1px solid #f0c9c5; border-radius: 12px; padding: 12px 16px; }
.buy-form .coupon-label { margin-top: 10px; }
.buy-form .optional { color: var(--muted); font-weight: 400; }
.buy-form input.coupon { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-transform: uppercase; max-width: 260px; }
.buy-form input.coupon:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------------------------------------------------------------------------
   Multi-page site: header, footer, pages
   ------------------------------------------------------------------------- */
body { overflow-x: hidden; }
.top {
  position: sticky; top: 0; z-index: 50;
  max-width: none; padding: 14px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(251, 249, 245, 0.72);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.top.scrolled { background: rgba(251, 249, 245, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(40, 40, 30, 0.35); padding-top: 10px; padding-bottom: 10px; }
.top nav a.active { color: var(--accent-dark); font-weight: 500; }
.top nav .signin { border: 0; background: none; padding: 0; color: var(--ink); }
.btn.small { padding: 10px 18px; font-size: 14px; }
.top .btn.primary { color: #fff; }
.nav-mobile { display: none; align-items: center; gap: 10px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.25s, background 0.25s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; } .burger::after { top: 5px; }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { transform: translateY(5px) rotate(45deg); }
.menu[open] .burger::after { transform: translateY(-5px) rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: 52px; min-width: 210px; display: grid; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(40, 40, 30, 0.4); animation: menu-in 0.2s ease-out; }
.menu nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.menu nav a:hover { background: var(--alt); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 760px) {
  .nav-desktop { display: none !important; }
  .nav-mobile { display: flex; }
}

.page-head { max-width: 820px; margin: 0 auto; padding: 72px 20px 24px; text-align: center; }
.page-head h1 { font-size: clamp(44px, 7vw, 76px); }
.page-head .sub { color: var(--muted); font-size: 19px; margin: 18px auto 0; max-width: 620px; }
.band.tight { padding-top: 32px; }
.more { text-align: center; margin: 36px 0 0; }
.more a { color: var(--accent-dark); font-weight: 500; }
.cta.center { justify-content: center; margin-top: 32px; }

/* Pricing */
.pricing-hero { max-width: 1000px; margin: 32px auto 0; padding: 0 20px 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.price-box {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #f7e9e4, #f3efe7 55%, #e9eedf);
  border-radius: 32px 32px 96px 32px; padding: 56px 40px; text-align: center;
  display: grid; justify-items: center; gap: 6px;
}
.price-box .price { font-size: clamp(76px, 11vw, 120px); line-height: 0.95; }
.price-box .price-note { margin: 4px 0 22px; }
.demo-link { margin-top: 14px; color: var(--accent-dark); font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 36px; font-size: 17px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks.grid { max-width: 880px; margin: 40px auto 0; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.split { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.split h2 { text-align: left; margin: 0 0 18px; }
.split p { color: #3b3d35; font-size: 17px; }
.guarantee { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.guarantee h3 { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.1; margin-bottom: 10px; color: var(--accent-dark); }
.guarantee p { margin: 0; }
.price-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; padding-left: max(20px, calc((100vw - 1000px) / 2)); padding-right: max(20px, calc((100vw - 1000px) / 2)); }
.price-strip h2 { text-align: left; margin: 0; }
.price-strip .sub { text-align: left; margin: 10px 0 0; }
@media (max-width: 860px) {
  .pricing-hero, .split { grid-template-columns: 1fr; gap: 36px; }
}

/* Closing band: dark, like a full stop at the end of every page */
.closing { background: #24261f !important; color: #f6f1ea; padding: 104px 20px; position: relative; overflow: hidden; }
.closing h2 { color: #f6f1ea; }
.closing .btn.primary { background: #f6f1ea; color: var(--ink); }
.closing .btn.primary:hover { background: #fff; }
.closing .btn.ghost { background: transparent; color: #f6f1ea; border-color: rgba(246, 241, 234, 0.35); }
.closing::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(176, 96, 90, 0.35), transparent 65%); pointer-events: none; }

/* Footer */
.foot { display: block; max-width: 1120px; border-top: 0; padding: 64px 20px 40px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot-cols nav { display: grid; gap: 8px; align-content: start; }
.foot-cols nav a { text-decoration: none; color: var(--muted); }
.foot-cols nav a:hover { color: var(--ink); }
.foot-title { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.foot .logo { font-size: 34px; }
.foot .muted { color: var(--muted); }
.foot .company { margin-top: 24px; font-size: 13px; }
@media (max-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------------------
   Motion. Content is fully visible without JavaScript; marketing.js adds the
   `js` class and reveals elements as they scroll into view.
   ------------------------------------------------------------------------- */
.hero { position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::before { width: 420px; height: 420px; background: #efd6cf; top: -60px; right: 4%; }
.hero::after { width: 360px; height: 360px; background: #dfe6cf; bottom: -40px; left: -80px; animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.phone { animation: float 7s ease-in-out infinite; will-change: transform; }
.hero-art { transform: translateY(var(--parallax, 0px)); transition: transform 0.1s linear; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.18s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.28s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.38s; }
.js .hero-art { animation: fade 1.2s 0.2s ease-out both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

.js .reveal { transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }

.theme, .step, .feature, .guarantee, .price-box { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, opacity 0.8s; }
.step:hover, .guarantee:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(40, 40, 30, 0.45); }
.theme:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(40, 40, 30, 0.5); }
.theme-preview { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.theme { overflow: hidden; }
.theme:hover .theme-preview { transform: scale(1.04); }
.btn { transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(85, 98, 58, 0.8); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-copy > * { opacity: 1 !important; transform: none !important; }
  .hero-art { transform: none !important; }
}
.top .menu nav a.signin { padding: 10px 12px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.logo { display: inline-flex; align-items: center; }
.logo-img { display: block; height: auto; }
.top .logo-img { height: 40px; width: auto; }
@media (max-width: 760px) { .top .logo-img { height: 34px; } }
.foot .logo-img { height: 44px; width: auto; margin-bottom: 8px; }
