/* EasyReturn — site vitrine. Pure CSS, no web fonts (no third-party requests), no JS. */

:root {
  --ink: #0b0b0b;
  --ink-2: #1c1c1b;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --line: #e4e4e0;
  --muted: #5d5d58;
  --muted-on-dark: #b3b3ad;
  --accent: #d4f36b;
  --accent-ink: #2f4a00;
  --success: #1f7a4d;
  --radius-lg: 28px;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--paper);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu {
  display: none;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu[open] .menu-panel {
  display: grid;
}

.menu-panel {
  display: none;
  position: absolute;
  right: var(--gutter);
  top: 64px;
  min-width: 220px;
  gap: 4px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.menu-panel a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
}

.menu-panel a:hover {
  background: var(--soft);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .menu {
    display: block;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.on-dark .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.on-dark .btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.5);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.on-dark .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(44px, 7.2vw, 96px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 64px);
}

h3 {
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 640px;
  margin: 24px 0 36px;
}

.on-dark {
  background: var(--ink);
  color: var(--paper);
}

.on-dark .lead,
.on-dark .muted {
  color: var(--muted-on-dark);
}

.muted {
  color: var(--muted);
}

.hl {
  background: linear-gradient(transparent 62%, var(--accent) 62%);
  padding: 0 4px;
}

.on-dark .hl {
  background: none;
  color: var(--accent);
  padding: 0;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .lead {
  margin-bottom: 0;
}

/* Hero */

.hero {
  padding: clamp(64px, 9vw, 128px) 0 clamp(72px, 10vw, 140px);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
}

/* Product mock (hero) */

.mock {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  font-size: 15px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mock-title {
  font-weight: 700;
  font-size: 18px;
}

.mock-sub {
  color: var(--muted);
  font-size: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--soft);
  color: var(--ink);
  white-space: nowrap;
}

.badge-success {
  background: #d9f2e3;
  color: #0f5132;
}

.badge-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.timeline {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.timeline li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success);
  color: var(--paper);
}

.dot svg {
  width: 16px;
  height: 16px;
}

.timeline strong {
  display: block;
  font-size: 15px;
}

.timeline div span {
  color: var(--muted);
  font-size: 14px;
}

.mock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

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

.step {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--soft);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.step p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Feature cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.on-dark .card {
  background: var(--ink-2);
  border-color: #2c2c2a;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.on-dark .card p {
  color: var(--muted-on-dark);
}

/* Split (zones) */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
}

.checks svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--success);
}

.panel {
  border-radius: var(--radius-lg);
  background: var(--soft);
  padding: clamp(20px, 3vw, 32px);
}

.zone-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.zone-table th,
.zone-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.zone-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #fafaf8;
}

.zone-table tr:last-child td {
  border-bottom: 0;
}

.zone-table small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  .zone-table .hide-sm {
    display: none;
  }
}

/* Carriers */

.carriers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.carrier {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.carrier.is-live {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.carrier.is-soon {
  color: var(--muted);
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

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

.price-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.price-card.is-main {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.price {
  margin: 20px 0 8px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price small {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-card ul {
  margin: 24px 0 32px;
  padding-left: 20px;
}

.price-card li + li {
  margin-top: 8px;
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  padding: 0 0 24px;
  max-width: 760px;
  color: var(--muted);
}

.faq .answer p {
  margin: 0 0 12px;
}

/* CTA band */

.cta {
  text-align: center;
}

.cta .lead {
  margin-left: auto;
  margin-right: auto;
}

.cta .actions {
  justify-content: center;
}

/* ---------- Document pages (support, legal) ---------- */

.doc-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.doc-hero .lead {
  margin-bottom: 0;
}

.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 10vw, 120px);
}

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

  .toc {
    display: none;
  }
}

.toc {
  position: sticky;
  top: 104px;
  align-self: start;
  font-size: 15px;
}

.toc p {
  margin: 0 0 12px;
  font-weight: 600;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 56px 0 16px;
  scroll-margin-top: 96px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 32px 0 8px;
}

.prose p,
.prose li {
  color: #2b2b28;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.prose th {
  background: var(--soft);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

.callout {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--soft);
}

.callout p:last-child {
  margin-bottom: 0;
}

.updated {
  margin-top: 16px;
  font-size: 14px;
}

/* Placeholders to fill before publishing. */
.todo {
  background: #fff1b8;
  color: #5c4400;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 40px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer .brand img {
  height: 52px;
  filter: invert(1);
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-on-dark);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #2c2c2a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-on-dark);
  font-size: 14px;
}

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

  .btn,
  .faq summary::after {
    transition: none;
  }
}

.footer-tagline {
  margin-top: 16px;
  max-width: 280px;
}

.doc-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
}
