/* ============================================================
   DistriCut V2 - Visual Refactor (Clean + Professional)
   ============================================================ */
:root {
  --bg: #f4f6fa;
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --surface-soft: #f8fafd;
  --surface-strong: #eef3fb;

  --ink-900: #121f32;
  --ink-800: #1f3047;
  --ink-700: #2f435d;
  --ink-600: #48617f;
  --ink-500: #6681a1;

  --brand-800: #1a4a8d;
  --brand-700: #1f5cb0;
  --brand-600: #2e6fca;
  --brand-500: #3f81de;
  --brand-100: #d8e6fb;

  --accent-700: #0f767e;
  --accent-100: #d9f0f2;

  --success-700: #166f49;
  --warning-700: #8b5b16;

  --line: rgba(27, 49, 80, 0.15);
  --line-strong: rgba(27, 49, 80, 0.24);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 8px 20px rgba(19, 42, 74, 0.07);
  --shadow-md: 0 18px 38px rgba(19, 42, 74, 0.11);
  --shadow-lg: 0 28px 54px rgba(19, 42, 74, 0.14);

  --max: 1120px;
  --header-h: 78px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body {
  font-family: "Aptos", "Segoe UI Variable Text", "Candara", "Trebuchet MS", sans-serif;
  color: var(--ink-800);
  line-height: 1.64;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 10% -10%, rgba(63, 129, 222, 0.12), transparent 36%),
    radial-gradient(circle at 90% 0%, rgba(15, 118, 126, 0.1), transparent 34%),
    linear-gradient(180deg, #f8f9fc 0%, var(--bg) 54%, #eff3f8 100%);
  min-height: 100vh;
}

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), border-color var(--transition), background-color var(--transition);
}

a:hover {
  color: var(--accent-700);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  color: var(--ink-900);
  letter-spacing: -0.018em;
  font-family: "Aptos Display", "Bahnschrift", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
}

h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.05rem);
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}

h3 {
  font-size: clamp(1.06rem, 1.9vw, 1.26rem);
}

p {
  margin: 0 0 1rem;
}

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

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.45rem;
}

strong {
  color: var(--ink-900);
}

/* ---- Layout ---- */
.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.site-wrap {
  min-height: 0;
  display: block;
}

main {
  flex: 1;
}

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

.section {
  padding: clamp(3.1rem, 6vw, 5.4rem) 0;
  position: relative;
}

.section > .container > h1,
.section > .container > h2 {
  max-width: 23ch;
  margin-bottom: 0.9rem;
}

.section > .container > p {
  max-width: 72ch;
  color: var(--ink-600);
}

.notice-top {
  background: linear-gradient(90deg, #173e79, #2b66b9 58%, #0f767e);
  color: #ecf4ff;
  font-size: 0.86rem;
}

.notice-top .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  text-align: center;
  padding: 0.4rem 0;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 253, 0.88);
  border-bottom: 1px solid rgba(25, 58, 102, 0.1);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(253, 254, 255, 0.94);
  border-bottom-color: rgba(25, 58, 102, 0.16);
  box-shadow: 0 8px 22px rgba(17, 40, 72, 0.08);
}

.site-header .container {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-900);
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(31, 92, 176, 0.22);
  box-shadow: var(--shadow-sm);
}

.brand strong {
  display: block;
  font-size: 1.17rem;
  line-height: 1;
  font-weight: 800;
}

.brand span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-700);
  padding: 0.5rem 0.86rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.site-nav a {
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  border: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--brand-700);
  background: rgba(47, 112, 202, 0.08);
  border-color: rgba(47, 112, 202, 0.18);
}

.site-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  border-color: rgba(26, 74, 141, 0.22);
  box-shadow: 0 12px 24px rgba(31, 92, 176, 0.24);
}

/* ---- Type Helpers ---- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--brand-700);
  margin-bottom: 0.8rem;
}

.kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-700));
}

.note {
  color: var(--ink-600);
  font-size: 0.93rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border-radius: 11px;
  font-weight: 750;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  padding: 0.82rem 1.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  border-color: rgba(20, 69, 139, 0.36);
  box-shadow: 0 12px 22px rgba(32, 93, 177, 0.24);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #1a529f, #2d6dca);
}

.btn-secondary {
  color: var(--brand-700);
  background: #fff;
  border-color: rgba(31, 92, 176, 0.32);
}

.btn-secondary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  border-color: transparent;
}

.btn-outline-light {
  color: #e7efff;
  border-color: rgba(230, 239, 255, 0.55);
  background: transparent;
}

.btn-outline-light:hover {
  color: #10243f;
  background: #fff;
  border-color: #fff;
}

/* ---- Hero ---- */
.hero {
  padding: clamp(4.7rem, 8vw, 6.2rem) 0 clamp(3.1rem, 6vw, 4.8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.4rem, 3.2vw, 3.3rem);
}

.hero .container:not(.hero-grid) {
  max-width: min(100% - 3rem, 820px);
}

.hero .container:not(.hero-grid) h1,
.hero .container:not(.hero-grid) p {
  max-width: 100%;
}

.hero p {
  color: var(--ink-600);
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  max-width: 62ch;
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3.2vw, 2.3rem);
}

.hero-card h1 {
  margin-bottom: 0.95rem;
}

.hero-card p {
  margin-bottom: 1.15rem;
}

.hero-grid img {
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid rgba(31, 92, 176, 0.17);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-grid > div:last-child img,
.hero-grid > .reveal img {
  animation: heroFloat 11s ease-in-out infinite;
}

.hero-metrics {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.metric {
  border: 1px solid rgba(31, 92, 176, 0.2);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.72rem 0.78rem;
}

.metric strong {
  display: block;
  font-size: 0.94rem;
  color: var(--ink-900);
  margin-bottom: 0.18rem;
}

.metric span {
  display: block;
  color: var(--ink-600);
  font-size: 0.79rem;
  line-height: 1.35;
}

/* ---- Shared Blocks ---- */
.cards-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 1.8vw, 1.32rem);
}

.card > h3 {
  font-size: 1.1rem;
  margin-bottom: 0.58rem;
}

.card > h3:not(:first-child) {
  margin-top: 1.5rem;
}

.card p,
.card li {
  color: var(--ink-700);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}

.split > div > img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.callout {
  border: 1px solid rgba(20, 76, 148, 0.2);
  border-left: 4px solid var(--brand-600);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  color: var(--ink-700);
}

/* ---- Methods ---- */
.method-grid {
  margin-top: 1.55rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.method-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.05rem;
}

.method-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.04rem;
}

.method-card p {
  color: var(--ink-700);
}

.method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.method-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(31, 92, 176, 0.25);
  background: #f2f7ff;
  color: var(--brand-700);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---- Lists ---- */
.feature-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.68rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--ink-700);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-700));
}

.feature-list > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  padding: 0.92rem 0.95rem;
}

.feature-list > div h3 {
  margin-bottom: 0.38rem;
}

.feature-list > div p {
  margin: 0;
  color: var(--ink-700);
}

/* ---- Tables ---- */
.table-wrap {
  margin-top: 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.94rem;
}

.compare-table thead th {
  text-align: left;
  color: var(--ink-900);
  font-weight: 800;
  padding: 0.88rem 1rem;
  background: linear-gradient(180deg, #f0f5fd 0%, #ebf1fa 100%);
  border-bottom: 1px solid var(--line-strong);
}

.compare-table tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(30, 58, 98, 0.1);
  color: var(--ink-700);
  vertical-align: top;
}

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

.compare-table tbody td:first-child {
  width: 36%;
  color: var(--ink-900);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid rgba(31, 92, 176, 0.25);
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.58rem;
}

/* ---- Stats ---- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
}

section.stat-strip {
  padding: 0;
  margin-top: 0.3rem;
}

section.stat-strip .container {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.stat-pill {
  border: 1px solid rgba(31, 92, 176, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.9rem;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.stat-pill strong {
  display: block;
  color: var(--ink-900);
  margin-bottom: 0.24rem;
  font-size: 0.99rem;
}

/* ---- Plans ---- */
.plan-grid {
  margin-top: 1.55rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.plan-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 2.2vw, 1.42rem);
  display: flex;
  flex-direction: column;
}

.plan-card .btn {
  margin-top: auto;
}

.plan-card.highlight {
  border-color: rgba(31, 92, 176, 0.44);
  box-shadow: 0 18px 34px rgba(31, 92, 176, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.33rem 0.64rem;
  margin-bottom: 0.85rem;
}

.badge-light {
  color: var(--brand-700);
  background: #e9f1ff;
  border: 1px solid rgba(31, 92, 176, 0.24);
}

.badge-gold {
  color: #68440b;
  background: #fff2d9;
  border: 1px solid rgba(171, 118, 36, 0.3);
}

.plan-price {
  margin: 0.22rem 0 0.65rem;
  font-size: clamp(1.55rem, 3.1vw, 2.14rem);
  line-height: 1;
  color: var(--ink-900);
  font-weight: 820;
}

.plan-price small {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.82rem;
  color: var(--ink-600);
  font-weight: 700;
}

.pricing-note {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--ink-600);
  font-size: 0.92rem;
}

/* ---- Visual Sections ---- */
.video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.video-wrap img {
  width: 100%;
  height: auto;
}

.video-placeholder {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
  color: #f5f8ff;
  background: linear-gradient(180deg, rgba(8, 21, 39, 0) 0%, rgba(8, 21, 39, 0.74) 68%, rgba(8, 21, 39, 0.86) 100%);
  text-align: center;
}

.video-placeholder p {
  margin: 0;
  font-size: 0.95rem;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  box-shadow: 0 10px 20px rgba(31, 92, 176, 0.35);
  position: relative;
}

.play-btn::before {
  content: "";
  margin-left: 2px;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}

.screenshot-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot-slot {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.has-img {
  background: #fff;
}

.screenshot-slot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.screenshot-slot span {
  display: block;
  padding: 0.72rem 0.82rem;
  font-size: 0.88rem;
  color: var(--ink-700);
}

.testimonials .quote p {
  font-style: italic;
  color: var(--ink-700);
}

.quote footer {
  margin-top: 1rem;
  display: grid;
  gap: 0.2rem;
}

.quote footer strong {
  font-size: 0.94rem;
}

.quote footer span {
  color: var(--ink-600);
  font-size: 0.84rem;
}

/* ---- FAQ ---- */
.faq {
  margin-top: 1.45rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0.95rem;
}

.faq details + details {
  margin-top: 0.72rem;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.66rem;
  color: var(--ink-900);
  font-weight: 760;
}

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

.faq summary::before {
  content: "+";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(31, 92, 176, 0.3);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  flex: none;
}

.faq details[open] summary::before {
  content: "-";
}

.faq details p {
  margin-top: 0.72rem;
  color: var(--ink-700);
}

/* ---- Forms ---- */
.form-box {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-800);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(43, 68, 105, 0.26);
  background: #fff;
  color: var(--ink-900);
  border-radius: 10px;
  font: inherit;
  line-height: 1.4;
  padding: 0.74rem 0.82rem;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

textarea {
  resize: vertical;
  min-height: 124px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(31, 92, 176, 0.54);
  box-shadow: 0 0 0 3px rgba(63, 129, 222, 0.18);
  background: #fff;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.58rem;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 0.18rem;
}

.checkbox-line label {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- CTA ---- */
.cta-band {
  padding: clamp(3rem, 5vw, 4rem) 0;
}

.cta-band .container {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 216, 246, 0.28);
  background: linear-gradient(135deg, #173f7f, #1f5cb0 56%, #0f767e);
  color: #edf4ff;
  box-shadow: var(--shadow-lg);
  text-align: center;
  padding: clamp(2rem, 4vw, 2.9rem) clamp(1.2rem, 3vw, 2.6rem);
}

.cta-band h2 {
  color: #fff;
  max-width: none;
  margin-bottom: 0.72rem;
}

.cta-band p {
  color: rgba(235, 245, 255, 0.9);
  max-width: 64ch;
  margin-inline: auto;
}

.cta-band .btn {
  margin: 0.55rem 0.3rem 0;
}

/* ---- Footer ---- */
.site-footer {
  margin-top: auto;
  padding: 2.2rem 0 1.35rem;
  border-top: 1px solid rgba(22, 45, 76, 0.15);
  background: linear-gradient(180deg, #edf3fb 0%, #e5ecf8 100%);
}

.site-footer .container {
  border: 1px solid rgba(27, 49, 80, 0.14);
  border-radius: var(--radius-lg);
  background: #f9fbff;
  box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 2.2vw, 1.7rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid h4 {
  font-size: 0.95rem;
  margin-bottom: 0.58rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.36rem;
}

.site-footer a {
  color: var(--ink-700);
}

.site-footer a:hover {
  color: var(--brand-700);
}

.footer-note {
  margin-top: 1rem;
  padding-top: 0.82rem;
  border-top: 1px solid rgba(27, 49, 80, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-note p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-600);
}

/* ---- Utility from JS ---- */
.top-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 130;
  pointer-events: none;
  background: rgba(31, 92, 176, 0.12);
}

.top-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500), var(--accent-700));
  transition: width 0.11s linear;
}

.back-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 120;
  border: 1px solid rgba(31, 92, 176, 0.32);
  background: #fff;
  color: var(--brand-700);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background-color var(--transition), color var(--transition);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--brand-700);
  color: #fff;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.54s ease, transform 0.54s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .plan-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid > div:last-child {
    order: -1;
  }

  .hero-grid img,
  .split > div > img {
    max-width: 700px;
    margin-inline: auto;
  }

  .section > .container > h1,
  .section > .container > h2 {
    max-width: none;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.68rem);
    left: 1rem;
    right: 1rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 0.82rem;
    padding: 0.72rem 0.8rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 15.5px;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .section {
    padding: 2.7rem 0;
  }

  .cards-grid,
  .method-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .compare-table {
    min-width: 560px;
  }

  .cta-band .container {
    padding: 1.95rem 1.2rem;
  }

  .footer-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
