/* dropshiper.app — one stylesheet, self-hosted fonts, no external resource,
   no inline style (the CSP forbids it). */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f4ee;
  --bg-2: #efe9df;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --ink: #0f1d1a;
  --muted: #4b5b57;
  --line: rgba(15, 29, 26, 0.1);
  --accent: #0b5e52;
  --accent-2: #12806f;
  --accent-ink: #ffffff;
  --accent-soft: #dcefe9;
  --coral: #e8805f;
  --panel: #0a2f29;
  --panel-ink: #eaf5f2;
  --shadow-sm: 0 1px 2px rgba(15, 29, 26, 0.06), 0 2px 8px rgba(15, 29, 26, 0.05);
  --shadow-lg: 0 2px 6px rgba(15, 29, 26, 0.06), 0 24px 60px -18px rgba(15, 29, 26, 0.28);
  --radius: 18px;
  --radius-lg: 28px;
  --display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1311;
    --bg-2: #0f1a17;
    --surface: #121d1a;
    --glass: rgba(18, 29, 26, 0.6);
    --glass-edge: rgba(255, 255, 255, 0.08);
    --ink: #eef4f2;
    --muted: #a5b6b1;
    --line: rgba(238, 244, 242, 0.1);
    --accent: #5fd0b8;
    --accent-2: #8de3d1;
    --accent-ink: #052520;
    --accent-soft: #143029;
    --panel: #0f2a25;
    --panel-ink: #eaf5f2;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Typography: tracking and leading follow size ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; }
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 60%, var(--coral) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
p { margin: 0 0 1rem; }

/* ---------- Header: a translucent layer, content scrolls under it ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font: 700 1.05rem/1 var(--display); letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; padding: 0.45rem 0.75rem; border-radius: 999px; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.site-nav a:hover { color: var(--ink); background: var(--line); }
.site-nav .nav-cta { color: var(--ink); border: 1px solid var(--line); }

/* ---------- Buttons: feedback on press, not on release ---------- */
.button {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.35rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem/1 var(--sans); text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform 0.12s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.button:hover { background: var(--accent-2); text-decoration: none; }
.button:active { transform: scale(0.97); }
.button.ghost { background: var(--glass); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.button.ghost:hover { background: var(--surface); }
.button.light { background: var(--panel-ink); color: var(--panel); box-shadow: none; }
.button.light:hover { background: #ffffff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 45% at 78% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(30% 35% at 92% 70%, color-mix(in srgb, var(--coral) 18%, transparent), transparent 70%),
    radial-gradient(45% 50% at 10% 10%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1.4rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem; border-radius: 999px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
  font: 600 0.78rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero h1 { margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-visual { position: relative; margin: 0; }
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.chips { list-style: none; margin: 0; padding: 0; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 0.95rem 0.6rem 0.6rem; border-radius: 999px;
  background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow-sm), 0 10px 30px -12px rgba(15, 29, 26, 0.35);
  font: 600 0.88rem/1 var(--sans); color: var(--ink); white-space: nowrap; letter-spacing: 0.005em;
}
.chip-icon { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.chip-a { top: 8%; left: -6%; }
.chip-b { bottom: 18%; left: -10%; }
.chip-c { bottom: -4%; right: 6%; }

/* ---------- Facts strip ---------- */
.facts { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.facts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0;
  border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.fact { padding: 1.6rem 1.8rem; display: flex; flex-direction: column-reverse; gap: 0.35rem; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact dt { color: var(--muted); font-size: 0.93rem; }
.fact dd { margin: 0; font: 700 2.4rem/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.fact dd span { font: 600 1rem/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.fact dd.mono { font: 600 1.55rem/1.3 var(--mono); letter-spacing: -0.01em; color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kicker { margin: 0 0 0.75rem; font: 600 0.8rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.section-head h2 { margin-bottom: 1rem; }
.intro { color: var(--muted); font-size: 1.1rem; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card {
  position: relative; padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.card h3 { margin: 1rem 0 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding: 1.4rem 1.4rem 1.6rem; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.step-n { display: block; font: 700 2.6rem/1 var(--display); letter-spacing: -0.04em; color: color-mix(in srgb, var(--accent) 35%, transparent); margin-bottom: 1rem; }
.step h3 { margin-bottom: 0.45rem; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.35rem; right: -0.85rem; width: 0.6rem; height: 0.6rem;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); opacity: 0.45;
}

/* ---------- Formation panel: the heavier material ---------- */
.panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 3.75rem); border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(95, 208, 184, 0.28), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(232, 128, 95, 0.18), transparent 60%),
    var(--panel);
  color: var(--panel-ink); box-shadow: var(--shadow-lg);
}
.panel h2 { color: var(--panel-ink); margin-bottom: 1rem; }
.panel p { color: color-mix(in srgb, var(--panel-ink) 82%, transparent); }
.badge { display: inline-block; margin: 0 0 1.1rem; padding: 0.38rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); font: 600 0.78rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--panel-ink); }
.note { font-size: 0.93rem; padding-left: 0.9rem; border-left: 2px solid rgba(255, 255, 255, 0.3); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; align-content: center; }
.checklist li {
  display: grid; grid-template-columns: 1.6rem 1fr; column-gap: 0.75rem; padding: 0.95rem 1.1rem; border-radius: 16px;
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.checklist li::before {
  content: "✓"; grid-row: span 2; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: rgba(95, 208, 184, 0.22); color: #8de3d1; font: 700 0.85rem/1 var(--sans);
}
.checklist strong { color: var(--panel-ink); font-weight: 600; }
.checklist span { color: color-mix(in srgb, var(--panel-ink) 72%, transparent); font-size: 0.93rem; }

/* ---------- Contact ---------- */
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin: 0; }
.contact-list > div { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.contact-list dt { color: var(--muted); font-size: 0.93rem; margin-bottom: 0.35rem; }
.contact-list dd { margin: 0; font: 700 1.25rem/1.3 var(--display); letter-spacing: -0.01em; word-break: break-word; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.page { padding: clamp(3rem, 7vw, 5rem) 0; }
.page .wrap { max-width: 46rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 2rem; }
.page h2 { font-size: 1.35rem; letter-spacing: -0.01em; margin: 2.2rem 0 0.8rem; }
.page p, .page li { color: var(--muted); }
.rows { margin: 0 0 1rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.rows > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 0.85rem 1.2rem; }
.rows > div + div { border-top: 1px solid var(--line); }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; }
.updated { font-size: 0.9rem; color: var(--muted); margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Motion: enters once, gently; scroll reveal where supported ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-6px); } }

.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-visual { animation: rise 1s var(--ease) 0.15s both; }
.chip { animation: rise 0.7s var(--ease) both; }
.chip-a { animation-delay: 0.45s; }
.chip-b { animation-delay: 0.55s; }
.chip-c { animation-delay: 0.65s; }

@supports (animation-timeline: view()) {
  .reveal .card, .reveal .step, .reveal .panel, .reveal .contact-list > div {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .card:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .chip, .button.ghost, .checklist li { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { background: var(--bg); }
  .chip, .button.ghost { background: var(--surface); }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(15, 29, 26, 0.45); --muted: var(--ink); }
}

/* ---------- Layout breakpoints ---------- */
@media (max-width: 1020px) {
  .grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 34rem; margin-inline: auto; width: 100%; }
  .chip-a { left: 2%; }
  .chip-b { left: 0; }
  .panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .site-nav a:not(.nav-cta) { display: none; }
  .grid, .steps, .contact-list { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .chip { font-size: 0.8rem; padding: 0.5rem 0.8rem 0.5rem 0.5rem; }
  .chip-icon { width: 1.6rem; height: 1.6rem; }
  .chip-a { top: 4%; left: 3%; }
  .chip-b { display: none; }
  .chip-c { bottom: -5%; right: 4%; }
  .rows > div { grid-template-columns: 1fr; gap: 0.15rem; }
}
