
:root {
  --ce-orange-50: #fdf3ec;
  --ce-orange-100: #fbe3d2;
  --ce-orange-200: #f5c19a;
  --ce-orange-300: #ee9c63;
  --ce-orange-400: #e57e3e;
  --ce-orange-500: #de6528;
  --ce-orange-600: #c4521e;
  --ce-orange-700: #9d4019;
  --ce-orange-800: #6f2d12;
  --ce-orange-900: #3f1a0a;
  --ce-cream-50: #fdfaf5;
  --ce-cream-100: #f8f1e6;
  --ce-cream-200: #efe3cf;
  --ce-cream-300: #d9c8ac;
  --ce-ink-300: #8a7c6c;
  --ce-ink-500: #594b3d;
  --ce-ink-700: #3a2f25;
  --ce-ink-900: #1f180f;
  --ce-leaf-500: #4a7a3a;
  --ce-leaf-100: #e3eed7;
  --ce-berry-500: #b53a48;
  --ce-berry-100: #f6dcdf;
  --ce-mustard-500: #c98a17;
  --ce-mustard-100: #f7e6c0;
  --ce-sky-500: #3a6f8f;
  --ce-sky-100: #d8e6ee;
  --bg: var(--ce-cream-50);
  --bg-raised: #ffffff;
  --bg-sunken: var(--ce-cream-100);
  --bg-tint: var(--ce-orange-50);
  --fg: var(--ce-ink-700);
  --fg-strong: var(--ce-ink-900);
  --fg-muted: var(--ce-ink-500);
  --fg-soft: var(--ce-ink-300);
  --fg-on-accent: #fffaf3;
  --accent: var(--ce-orange-500);
  --accent-hover: var(--ce-orange-600);
  --accent-press: var(--ce-orange-700);
  --accent-soft: var(--ce-orange-100);
  --border: var(--ce-cream-200);
  --border-strong: var(--ce-cream-300);
  --border-accent: var(--ce-orange-300);
  --success: var(--ce-leaf-500);
  --success-bg: var(--ce-leaf-100);
  --warning: var(--ce-mustard-500);
  --warning-bg: var(--ce-mustard-100);
  --danger: var(--ce-berry-500);
  --danger-bg: var(--ce-berry-100);
  --info: var(--ce-sky-500);
  --info-bg: var(--ce-sky-100);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;
  --sh-1: 0 1px 0 rgba(89,75,61,0.06), 0 1px 2px rgba(89,75,61,0.05);
  --sh-2: 0 1px 0 rgba(89,75,61,0.04), 0 4px 14px -4px rgba(89,75,61,0.12);
  --sh-3: 0 2px 0 rgba(89,75,61,0.04), 0 12px 30px -10px rgba(89,75,61,0.18);
  --sh-accent: 0 8px 24px -8px rgba(222,101,40,0.45);
  --sh-inset: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -1px 0 rgba(89,75,61,0.06);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 140ms;
  --dur-med: 240ms;
  --dur-slow: 420ms;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  --section-y: 110px;
  --hero-y: 96px;
}
body.density-compact {
  --section-y: 72px;
  --hero-y: 72px;
}
body.with-kraft .section.kraft::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(89, 75, 61, 0.1) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.6;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 36px;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section.tight {
  padding: calc(var(--section-y) * 0.55) 0;
}
.section.cream {
  background: var(--bg-sunken);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  vertical-align: 2px;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 0;
  font-variation-settings: "opsz" 120, "SOFT" 50;
  text-wrap: balance;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  margin: 0;
  font-variation-settings: "opsz" 80;
  text-wrap: balance;
}
.h-section em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 80, "SOFT" 100;
}

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 18px 0 0;
  max-width: 56ch;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  text-wrap: pretty;
}
.lead.center {
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-head .lead {
  margin-left: auto;
  margin-right: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 245, 0.88);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ce-ink-700);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav a:hover {
  background: var(--bg-sunken);
  color: var(--ce-ink-700);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--dur-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn .ic {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--accent);
  color: var(--fg-on-accent);
  box-shadow: var(--sh-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: var(--fg-on-accent);
}
.btn-primary:active {
  transform: translateY(1px);
  background: var(--accent-press);
}
.btn-secondary {
  background: var(--bg-raised);
  color: var(--ce-ink-700);
  border-color: var(--border-strong);
  box-shadow: var(--sh-1);
}
.btn-secondary:hover {
  background: var(--bg-sunken);
  border-color: var(--ce-ink-300);
  color: var(--ce-ink-700);
}
.btn-ghost {
  background: transparent;
  color: var(--ce-ink-700);
}
.btn-ghost:hover {
  background: var(--bg-sunken);
  color: var(--ce-ink-700);
}
.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-arrow {
  transition: transform var(--dur-med) var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.hero {
  position: relative;
  padding: var(--hero-y) 0 calc(var(--hero-y) * 1.3);
  background: radial-gradient(ellipse 80% 60% at 10% 0%, var(--ce-orange-50) 0%, transparent 60%), radial-gradient(ellipse 70% 50% at 100% 30%, var(--bg-sunken) 0%, transparent 55%), var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.hero-copy {
  position: relative;
}
.hero-copy .hand-note {
  font-family: var(--font-hand);
  color: var(--accent);
  font-size: 28px;
  transform: rotate(-3deg);
  margin-bottom: 8px;
  display: inline-block;
}
.hero-copy h1 strong {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  font-variation-settings: "opsz" 120, "SOFT" 100;
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 strong svg {
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: -10px;
  width: calc(100% + 12px);
  height: 14px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--fg-muted);
  flex-wrap: wrap;
}
.hero-meta .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
  margin: 0 4px;
}
.hero-meta b {
  color: var(--ce-ink-700);
  font-weight: 600;
}

.hero-stage {
  position: relative;
  min-height: 460px;
}

.hero-video {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  transform: rotate(-1.2deg);
  z-index: 2;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-stage .counter {
  display: none;
}

body.hero-counter .hero-stage .hero-video {
  display: none;
}
body.hero-counter .hero-stage .counter {
  display: block;
}

.phone {
  width: 286px;
  margin: 0 auto;
  background: var(--ce-ink-900);
  border-radius: 38px;
  padding: 8px;
  box-shadow: var(--sh-3), 0 0 0 1px var(--ce-cream-300);
  transform: rotate(-2deg);
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  height: 540px;
  display: flex;
  flex-direction: column;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--ce-ink-700);
}
.phone-statusbar .icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.phone-hero-img {
  height: 92px;
  background: linear-gradient(135deg, var(--ce-orange-300) 0%, var(--ce-orange-500) 100%);
  position: relative;
}
.phone-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 40%, rgba(255, 250, 243, 0.18) 0, transparent 45%);
}

.phone-shop {
  margin: -28px 14px 0;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--sh-1);
  position: relative;
  z-index: 2;
}

.phone-shop-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ce-cream-100);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: none;
}

.phone-shop b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ce-ink-700);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.phone-shop .open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #2e4b25;
  margin-top: 4px;
}
.phone-shop .open::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.phone-prods {
  padding: 12px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.phone-prod {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.phone-prod .thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ce-cream-100);
  border: 1px solid var(--border);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.phone-prod .name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ce-ink-700);
  line-height: 1.1;
}
.phone-prod .desc {
  font-size: 10px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.phone-prod .price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ce-ink-700);
  margin-left: auto;
}
.phone-prod .add {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fffaf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: none;
}

.phone-cart {
  margin: 0 14px 14px;
  background: var(--accent);
  color: #fffaf3;
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--sh-accent);
}
.phone-cart .count {
  background: rgba(255, 250, 243, 0.2);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
}
.phone-cart .label {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
}
.phone-cart .total {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.counter-qr {
  position: absolute;
  bottom: 0;
  left: 4%;
  width: 180px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: 14px 14px 16px;
  transform: rotate(-6deg);
  z-index: 1;
  text-align: center;
}
.counter-qr .qr {
  width: 100%;
  height: 130px;
  background: linear-gradient(45deg, var(--ce-ink-700) 25%, transparent 25%) 0 0/8px 8px, linear-gradient(-45deg, var(--ce-ink-700) 25%, transparent 25%) 0 0/8px 8px, linear-gradient(45deg, transparent 75%, var(--ce-ink-700) 75%) 0 0/8px 8px, linear-gradient(-45deg, transparent 75%, var(--ce-ink-700) 75%) 0 0/8px 8px, var(--bg-raised);
  border-radius: 4px;
  position: relative;
  margin-bottom: 8px;
}
.counter-qr .qr::after {
  content: "";
  position: absolute;
  inset: 35% 35%;
  background: var(--bg-raised);
  border-radius: 4px;
}
.counter-qr .label {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}

.trust {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ce-ink-500);
  letter-spacing: -0.01em;
  opacity: 0.78;
}
.trust-logo.cursive {
  font-family: var(--font-hand);
  font-size: 26px;
  line-height: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 880px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  padding: 24px 22px;
  position: relative;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ce-ink-700);
  margin: 0 0 6px;
  line-height: 1.2;
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ce-orange-50);
  border: 1.5px solid var(--accent);
  color: var(--accent-press);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.step-arrow {
  position: absolute;
  right: -28px;
  top: 38px;
  width: 36px;
  height: 28px;
  color: var(--ce-orange-300);
  pointer-events: none;
  display: none;
}
@media (min-width: 881px) {
  .step:not(:last-child) .step-arrow {
    display: block;
  }
}

.shoptypes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}

.shop-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ce-ink-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--dur-fast) var(--ease-out);
}
.shop-tag .ic {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.shop-tag:hover {
  background: var(--ce-orange-50);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--sh-1);
}
.shop-tag.is-other {
  background: transparent;
  border-style: dashed;
  border-color: var(--border-strong);
  color: var(--fg-muted);
  font-style: italic;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 24px 24px;
  box-shadow: var(--sh-1);
  cursor: pointer;
  transition: all var(--dur-med) var(--ease-out);
}
.feature:hover {
  box-shadow: var(--sh-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.feature:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ce-ink-700);
  margin: 0 0 6px;
  line-height: 1.2;
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.feature-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.feature-more .ic {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-med) var(--ease-out);
}

.feature:hover .feature-more .ic,
.feature:focus-visible .feature-more .ic {
  transform: translateX(3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ce-orange-50);
  color: var(--accent);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
}
.feature-icon .ic {
  width: 22px;
  height: 22px;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
dialog.modal {
  border: none;
  padding: 0;
  margin: auto;
  border-radius: var(--r-lg);
  background: transparent;
  max-width: 560px;
  width: calc(100% - 32px);
  box-shadow: var(--sh-3);
}
dialog.modal::backdrop {
  background: rgba(31, 24, 15, 0.55);
  backdrop-filter: blur(2px);
}
dialog.modal[open] {
  animation: modal-in var(--dur-med) var(--ease-out);
}

.modal-content {
  background: var(--bg-raised);
  border-radius: var(--r-lg);
  padding: 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ce-ink-700);
  margin: 0;
}

.modal-close {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-sunken);
  color: var(--fg-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.modal-close:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.modal-body .modal-list {
  margin-top: 0;
}
.modal-body .modal-footnote {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.split-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.split-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.split-list .chk {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ce-orange-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.split-list .chk .ic {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.split-list b {
  display: block;
  color: var(--ce-ink-700);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.split-list span {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.5;
}

.split-mock {
  position: relative;
  min-height: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stripe-pricing-wrapper {
  width: 100%;
}
.stripe-pricing-wrapper stripe-pricing-table {
  display: block;
  width: 100%;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .pricing {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}

.plan {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px 30px;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border: 1.5px solid var(--accent);
  box-shadow: var(--sh-2), 0 0 0 4px var(--ce-orange-50);
  transform: translateY(-6px);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
}
.plan ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--fg);
  line-height: 1.4;
}
.plan ul li .ic {
  flex: none;
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  stroke-width: 2;
  margin-top: 3px;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--accent);
  color: #fffaf3;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--ce-ink-700);
  margin: 0;
}

.plan-tag {
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--fg-muted);
  font-variation-settings: "opsz" 24, "SOFT" 100;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 4px;
}
.plan-price .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 50px;
  letter-spacing: -0.025em;
  color: var(--ce-ink-700);
  line-height: 1;
}
.plan-price .unit {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

.plan-fine {
  font-size: 12px;
  color: var(--fg-muted);
  margin: 0 0 22px;
  min-height: 18px;
}

.plan-cta {
  display: block;
  width: 100%;
  margin-bottom: 22px;
  padding: 12px;
}

.breakeven {
  max-width: 980px;
  margin: 0 auto;
}

.breakeven-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
  max-width: 620px;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px;
}
@media (max-width: 560px) {
  .breakeven-toggle {
    flex-direction: column;
    border-radius: var(--r-lg);
  }
}

.breakeven-toggle-btn {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--fg-muted);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 22px;
  cursor: pointer;
  transition: color var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.breakeven-toggle-btn:hover {
  color: var(--fg-strong);
}
.breakeven-toggle-btn:active {
  transform: scale(0.97);
}
.breakeven-toggle-btn.active {
  color: var(--fg-on-accent);
  background: linear-gradient(135deg, var(--ce-orange-500) 0%, var(--ce-orange-600) 100%);
  box-shadow: var(--sh-accent);
}
.breakeven-toggle-btn.active:hover {
  color: var(--fg-on-accent);
}

.breakeven-toggle-emoji {
  font-size: 20px;
  line-height: 1;
}

.breakeven-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.breakeven-panel[hidden] {
  display: none;
}
@media (max-width: 880px) {
  .breakeven-panel {
    grid-template-columns: 1fr;
  }
}

.breakeven-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.breakeven-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.breakeven-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}
.breakeven-field output {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-press);
  white-space: nowrap;
}
.breakeven-field input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--border-strong);
  outline: none;
}
.breakeven-field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-raised);
  box-shadow: var(--sh-1);
  cursor: pointer;
}
.breakeven-field input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-raised);
  box-shadow: var(--sh-1);
  cursor: pointer;
}

.breakeven-hint {
  font-size: 12px;
  color: var(--fg-muted);
  margin: 0;
}

.breakeven-result {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakeven-threshold {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-strong);
  margin: 0;
}
.breakeven-threshold strong {
  color: var(--accent-press);
  font-size: 1.15em;
}

.breakeven-savings {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.breakeven-savings strong {
  color: var(--success);
}

.testis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 880px) {
  .testis {
    grid-template-columns: 1fr;
  }
}

.testi {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 24px 22px;
  box-shadow: var(--sh-2);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testi:nth-child(1) {
  transform: rotate(-0.8deg);
}
.testi:nth-child(2) {
  transform: rotate(0.5deg);
}
.testi:nth-child(3) {
  transform: rotate(-0.4deg);
}

.testi-quote {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ce-ink-700);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 36;
  text-wrap: pretty;
  flex: 1;
}
.testi-quote::before {
  content: "«";
  font-size: 34px;
  color: var(--accent);
  font-weight: 700;
  margin-right: 4px;
  vertical-align: -8px;
  line-height: 0;
}
.testi-quote::after {
  content: "»";
  font-size: 34px;
  color: var(--accent);
  font-weight: 700;
  margin-left: 4px;
  vertical-align: -8px;
  line-height: 0;
}

.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.testi-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ce-orange-100);
  color: var(--accent-press);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex: none;
}

.testi-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ce-ink-700);
}

.testi-role {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.faq {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--dur-fast) var(--ease-out);
}
.faq-item[open] {
  box-shadow: var(--sh-2);
  border-color: var(--border-strong);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ce-ink-700);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-out);
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  text-wrap: pretty;
}

.cta-band {
  background: radial-gradient(circle at 15% 30%, rgba(255, 250, 243, 0.1) 0, transparent 50%), radial-gradient(circle at 85% 80%, rgba(63, 26, 10, 0.2) 0, transparent 55%), linear-gradient(135deg, var(--ce-orange-500) 0%, var(--ce-orange-700) 100%);
  color: #fffaf3;
  border-radius: var(--r-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 250, 243, 0.1) 1px, transparent 0);
  background-size: 16px 16px;
  opacity: 0.6;
  pointer-events: none;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fffaf3;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.cta-band .hand-note {
  font-family: var(--font-hand);
  font-size: 28px;
  color: rgba(255, 250, 243, 0.92);
  display: inline-block;
  margin-bottom: 12px;
  transform: rotate(-2deg);
}
.cta-band .lead {
  color: rgba(255, 250, 243, 0.85);
  margin-top: 16px;
  max-width: 50ch;
}
.cta-band .btn-primary {
  background: #fffaf3;
  color: var(--accent-press);
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.4);
}
.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--accent-press);
}
.cta-band .btn-ghost {
  background: transparent;
  color: #fffaf3;
  border: 1px solid rgba(255, 250, 243, 0.35);
}
.cta-band .btn-ghost:hover {
  background: rgba(255, 250, 243, 0.1);
}

.cta-band-row {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.cta-band-fine {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 250, 243, 0.75);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band-fine span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta-band-fine span .ic {
  width: 14px;
  height: 14px;
}

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 32ch;
  line-height: 1.5;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 14px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer ul a {
  font-size: 14px;
  color: var(--fg);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom small {
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-bottom .ic {
  width: 16px;
  height: 16px;
}

.legal {
  max-width: 72ch;
  margin: 0 auto;
}
.legal .legal-updated {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 10px 0 40px;
}
.legal h1 {
  margin-bottom: 0;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--fg-strong);
  margin: 44px 0 14px;
}
.legal p {
  margin: 0 0 16px;
  color: var(--fg);
  line-height: 1.6;
}
.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.legal a {
  color: var(--accent);
}
.legal .legal-contact {
  line-height: 1.7;
}

.contact-form {
  margin-top: 40px;
  max-width: 480px;
}
.contact-form .form-outline {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.contact-form .form-label {
  order: -1;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-strong);
  margin-bottom: 6px;
}
.contact-form .form-label abbr {
  color: var(--accent);
  text-decoration: none;
}
.contact-form .form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 11px 14px;
  resize: vertical;
}
.contact-form .form-control:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form .form-control.is-invalid {
  border-color: var(--danger);
}
.contact-form .invalid-feedback {
  display: block;
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
}

.contact-form-notice {
  background: var(--success-bg);
  color: var(--success);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
@media (max-width: 880px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  display: block;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: all var(--dur-med) var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  box-shadow: var(--sh-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.article-card-media {
  aspect-ratio: 16/10;
  background: var(--bg-tint);
  overflow: hidden;
}
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card-media-fallback img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.article-card-body {
  padding: 20px 22px 24px;
}
.article-card-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ce-ink-700);
  margin: 6px 0 8px;
  line-height: 1.25;
}
.article-card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.article-meta {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 10px 0 32px;
}

.article-meta-sep {
  margin: 0 8px;
}

.article-cover {
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 0 0 36px;
}
.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-back {
  margin-top: 48px;
}
.article-back a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.article-body.legal .trix-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--fg-strong);
  margin: 44px 0 14px;
}
.article-body.legal .trix-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--fg-strong);
  margin: 32px 0 12px;
}
.article-body.legal .trix-content p {
  margin: 0 0 16px;
  color: var(--fg);
  line-height: 1.6;
}
.article-body.legal .trix-content ul, .article-body.legal .trix-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.article-body.legal .trix-content ul li, .article-body.legal .trix-content ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.article-body.legal .trix-content a {
  color: var(--accent);
}
.article-body.legal .trix-content blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--fg-muted);
  font-style: italic;
}
.article-body.legal .trix-content figure {
  margin: 24px 0;
}
.article-body.legal .trix-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s var(--ease-out) 0.1s, transform 0.6s var(--ease-out) 0.1s;
    will-change: opacity, transform;
  }
  .js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .js-reveal .stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
    will-change: opacity, transform;
  }
  .js-reveal .stagger.is-visible > * {
    opacity: 1;
    transform: none;
  }
  .js-reveal .stagger-fade > * {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out) 0.1s;
    will-change: opacity;
  }
  .js-reveal .stagger-fade.is-visible > * {
    opacity: 1;
  }
}
@media print {
  .js-reveal .reveal,
  .js-reveal .stagger > *,
  .js-reveal .stagger-fade > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
