/* CheckDon landing — SaaS layout inspired by Pancake, Shopee orange */

:root {
  --orange: #ee4d2d;
  --orange-deep: #d73211;
  --orange-soft: #fff4f0;
  --orange-mid: #ffe4dc;
  --ink: #111111;
  --ink-muted: #667085;
  --line: #ece7e4;
  --surface: #ffffff;
  --page: #ffffff;
  --soft: #f7f5f4;
  --ok: #027a48;
  --ok-bg: #ecfdf3;
  --warn: #b54708;
  --warn-bg: #fffaeb;
  --danger: #c01048;
  --danger-bg: #fef3f2;
  --shadow: 0 24px 64px rgba(17, 17, 17, 0.1);
  --shadow-sm: 0 8px 24px rgba(17, 17, 17, 0.06);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1160px;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ——— Header ——— */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo img {
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.link-quiet {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.link-quiet:hover {
  color: var(--orange);
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.28);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--soft);
  border-color: #ddd7d3;
  box-shadow: none;
}

.btn-on-dark {
  background: #fff;
  color: var(--orange);
}

.btn-on-dark:hover {
  background: #fff;
  color: var(--orange-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ——— Shared ——— */

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--orange);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.feature-copy h3,
.why .section-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.section-head p,
.feature-copy > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ——— Hero ——— */

.hero {
  padding: 4rem 1.5rem 0;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 44rem;
  margin: 0 auto 3rem;
  animation: rise-in 0.7s ease both;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: var(--ink);
}

.hero h1 em,
.feature-copy h3 em {
  font-style: normal;
  color: var(--orange);
}

.brand-inline {
  color: var(--orange);
}

.hero-lead {
  margin: 0 auto 1.75rem;
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-stage {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  animation: rise-in 0.85s ease 0.08s both;
}

.hero-glow {
  position: absolute;
  inset: 18% -8% -8%;
  background: radial-gradient(
    ellipse at center,
    rgba(238, 77, 45, 0.14),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.preview-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.preview-frame figcaption {
  margin: 0;
  padding: 0.9rem 1.1rem 1.1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.preview-frame figcaption span {
  color: var(--orange);
  font-weight: 600;
}

.preview-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.preview-card img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ——— Trust strip ——— */

.trust {
  background: var(--soft);
  border-block: 1px solid var(--line);
  padding: 2.25rem 1.5rem;
}

.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.trust-label {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-stats li {
  padding: 0 1rem;
}

.trust-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trust-stats span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ——— Feature blocks ——— */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-copy h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.feature-points {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.feature-points svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 0.1rem;
}

.panel-soft {
  background: var(--orange-soft);
  border: 1px solid var(--orange-mid);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.mini-card:last-of-type {
  margin-bottom: 0;
}

.panel-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.panel-list {
  background: var(--surface);
  border-color: var(--line);
  padding: 0;
  overflow: hidden;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.list-head strong {
  font-size: 0.95rem;
}

.list-head span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.list-row:last-child {
  border-bottom: 0;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warn);
  background: var(--warn-bg);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ——— Features grid ——— */

.features {
  background: var(--soft);
  max-width: none;
  border-block: 1px solid var(--line);
  padding-inline: 0;
}

.features .section-head,
.features .benefit-grid {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.benefit-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit-grid article:hover {
  border-color: var(--orange-mid);
  box-shadow: var(--shadow-sm);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.benefit-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefit-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ——— Why ——— */

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.pain-list {
  display: grid;
  gap: 0;
}

.pain-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.pain-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.pain-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.pain-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.pain-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ——— Steps ——— */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.steps li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.step-num {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ——— CTA band ——— */

.cta-band {
  margin: 0 1.5rem 5rem;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.25rem;
  border-radius: 24px;
  background: var(--orange);
  color: #fff;
}

.cta-copy img {
  margin-bottom: 1.1rem;
  border-radius: 12px;
}

.cta-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-copy > p {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.install-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.cta-metrics {
  display: grid;
  gap: 1rem;
}

.cta-metrics li {
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-metrics strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-metrics span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ——— Footer ——— */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 26rem;
}

.footer-brand img {
  border-radius: 7px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-weight: 500;
}

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

.copy {
  margin: 2rem 0 0;
  font-size: 0.8rem;
}

/* ——— Legal / Privacy ——— */

.legal-page {
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, var(--orange-soft), transparent),
    var(--page);
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.legal-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0.35rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.legal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.legal-body {
  font-size: 1rem;
  color: var(--ink);
}

.legal-body > p,
.legal-body > ul,
.legal-body > ol,
.legal-body > .table-wrap {
  margin: 0 0 1.15rem;
}

.legal-body h2 {
  margin: 2.5rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
  scroll-margin-top: 5rem;
}

.legal-body h3 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  scroll-margin-top: 5rem;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.35rem;
  list-style: disc;
}

.legal-body ol {
  list-style: decimal;
}

.legal-body li {
  margin-bottom: 0.45rem;
  padding-left: 0.2rem;
}

.legal-body li::marker {
  color: var(--orange);
}

.legal-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--orange-deep);
}

.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  word-break: break-word;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-body th,
.legal-body td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-body th {
  background: var(--soft);
  font-weight: 650;
  white-space: nowrap;
}

.legal-body tr:last-child td {
  border-bottom: none;
}

/* ——— Returns list ——— */

.returns-page {
  background:
    radial-gradient(ellipse 70% 36% at 50% -8%, var(--orange-soft), transparent),
    var(--page);
}

.returns-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4.5rem;
}

.returns-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.returns-hero h1 {
  margin: 0.3rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.returns-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

.returns-meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.returns-table-wrap {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface);
  overflow: auto;
  box-shadow: var(--shadow-sm);
}

.returns-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.returns-table th,
.returns-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.returns-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--soft);
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.returns-table tbody tr:last-child td {
  border-bottom: none;
}

.returns-table tbody tr:hover {
  background: var(--orange-soft);
}

.returns-table .col-stt {
  width: 4.5rem;
  white-space: nowrap;
}

.returns-table .col-buyer {
  width: 34%;
  min-width: 12rem;
}

.returns-stt {
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.returns-buyer {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
}

.returns-buyer--static {
  cursor: default;
}

.returns-buyer:hover .returns-buyer-name {
  color: var(--orange);
}

.returns-buyer--static:hover .returns-buyer-name {
  color: inherit;
}

.returns-buyer:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.returns-avatar {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--avatar-bg, var(--orange));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.returns-buyer-name {
  font-weight: 650;
  font-size: 0.98rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.returns-reason {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
  max-width: 40rem;
}

.returns-empty td {
  text-align: center;
  color: var(--ink-muted);
  padding: 3rem 1.25rem;
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
  .nav,
  .link-quiet {
    display: none;
  }

  .feature-block,
  .feature-block.reverse,
  .why-layout,
  .cta-inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .feature-block {
    gap: 2rem;
    margin-bottom: 3.5rem;
  }

  .trust-stats,
  .benefit-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-band {
    margin-inline: 1rem;
  }

  .cta-inner {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .trust,
  .legal,
  .returns-shell {
    padding-inline: 1rem;
  }

  .legal {
    padding-top: 2.5rem;
  }

  .returns-shell {
    padding-top: 2.25rem;
  }

  .returns-table {
    min-width: 0;
  }

  .returns-table .col-stt {
    width: 3.25rem;
    padding-inline: 0.75rem;
  }

  .returns-table th,
  .returns-table td {
    padding: 0.8rem 0.75rem;
  }

  .returns-reason {
    max-width: 16rem;
  }

  .legal-body th,
  .legal-body td {
    padding: 0.7rem 0.75rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding-block: 4rem;
  }
}

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

  .hero-inner,
  .hero-stage {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
