@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2');
}

:root {
  --color-primary: #15803d;
  --color-primary-hover: #137a4f;
  --color-primary-soft: #eaf8f1;
  --color-text: #111827;
  --color-text-secondary: #667085;
  --color-border: #e5e7eb;
  --color-page-bg: #f8fafc;
  --color-card: #ffffff;
  --color-review: #f59e0b;
  --color-review-bg: #fef3c7;
  --color-cut: #ef4444;
  --color-cut-bg: #fee2e2;
  --color-keep-bg: #dcfce7;
  --color-success-text: #15803d;
  --radius-card: 16px;
  --radius-input: 12px;
  --radius-button: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(16, 24, 40, 0.06);
  --shadow-modal: 0 20px 50px rgba(16, 24, 40, 0.18);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-10: 64px;
  --max-width: 1240px;
  --register-url: https://app.cutero.app/register;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-page-bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-nav {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.microcopy {
  margin-top: var(--space-3);
  color: var(--color-text-secondary);
  font-size: 13px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: var(--space-4);
}

.logo img {
  height: 28px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sign-in-link {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.sign-in-link:hover {
  color: var(--color-text);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.25rem, 2.5vw, 2rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}

.ea-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: var(--space-4);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero h1 .accent {
  color: var(--color-primary);
}

.hero-support {
  margin-top: var(--space-3);
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 36ch;
  line-height: 1.5;
}

.hero-support span {
  display: block;
}

.hero-cta {
  margin-top: var(--space-4);
}

.hero-benefits {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.benefit-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-product-visual {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero-copy {
    display: contents;
  }

  .ea-badge {
    order: 1;
    align-self: center;
  }

  .hero h1 {
    order: 2;
    text-align: center;
  }

  .hero-support {
    order: 3;
    text-align: center;
    margin-inline: auto;
  }

  .hero-cta {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-cta .microcopy {
    max-width: 28ch;
  }

  .hero-visual {
    order: 5;
    width: 100%;
  }

  .hero-product-visual {
    width: 100%;
    max-width: none;
  }

  .hero-benefits {
    order: 6;
  }
}

/*
  Hand underlines: keep strokes in a thin band under the phrase.
  Do NOT use height:auto — the source WebPs are tall canvases and will
  spill into the next paragraph (or through the glyphs).
*/
.hand-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.28em;
  isolation: isolate;
}

.hand-underline img {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
  width: 100%;
  height: 0.28em;
  margin: 0;
  object-fit: fill;
  object-position: center;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  transform: none;
}

.hero h1 .hand-underline img {
  height: 0.34em;
  bottom: 0.02em;
}

.problem h2 .hand-underline img {
  height: 0.26em;
  bottom: 0.02em;
}

/* Sections */
.section {
  padding: clamp(1.75rem, 3.5vw, 3rem) 0;
}

.section-alt {
  background: #fff;
  border-block: 1px solid var(--color-border);
}

.section-soft {
  background: var(--color-primary-soft);
  border-block: 1px solid transparent;
}

.section-muted {
  background: #fff;
  border-block: 1px solid var(--color-border);
}

.section-kicker {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.section h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-lead {
  margin-top: var(--space-3);
  color: var(--color-text-secondary);
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Problem */
.problem {
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

.problem-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
  }
}

.problem-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.problem-categories-visual {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* How it works */
#how-it-works {
  padding-block: clamp(1.75rem, 3.5vw, 3.25rem);
}

.steps-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-5);
}

.steps-intro .section-lead {
  margin-inline: auto;
}

.steps {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.how-step-header {
  display: flex;
  flex-direction: column;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--space-2);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  line-height: 1.25;
  min-height: 2.5em;
}

.step p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

.how-step-visual {
  display: flex;
  justify-content: center;
  margin-top: 0;
  min-width: 0;
}

.how-step-visual img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

@media (max-width: 899px) {
  .step h3 {
    min-height: 0;
  }

  .how-step-visual img {
    max-width: min(480px, 100%);
  }
}

/* Savings */
.savings-section {
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

.savings-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .savings-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
  }
}

.savings-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.savings-visual img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .savings-visual img {
    width: 100%;
  }
}

.value-note {
  margin-top: var(--space-3);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.hero-copy,
.hero-visual,
.step {
  animation: fade-up 0.55s ease both;
}

.hero-visual {
  animation-delay: 0.08s;
}

.step:nth-child(2) {
  animation-delay: 0.06s;
}

.step:nth-child(3) {
  animation-delay: 0.12s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ea-banner {
  display: grid;
  gap: var(--space-4);
  background: var(--color-primary-soft);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  align-items: center;
}

@media (min-width: 768px) {
  .ea-banner {
    grid-template-columns: 1fr auto;
  }
}

.ea-banner h2 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.ea-banner p {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
}

.ea-banner-cta {
  text-align: center;
}

/* Footer */
.site-footer {
  padding: var(--space-7) 0 var(--space-5);
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-5);
}

.footer-brand img {
  height: 24px;
  width: auto;
  margin-bottom: var(--space-2);
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 13px;
}

/* Legal pages */
.legal-main {
  padding: var(--space-8) 0 var(--space-10);
}

.legal-content {
  max-width: 720px;
}

.legal-updated {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-3);
}

.legal-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.legal-content p,
.legal-content li {
  color: var(--color-text);
  line-height: 1.65;
  font-size: 15px;
}

.legal-content p {
  margin-bottom: var(--space-3);
}

.legal-content ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: var(--space-2);
}

.legal-content a {
  color: var(--color-primary);
  font-weight: 600;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content code {
  font-size: 0.92em;
  background: var(--color-primary-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
