@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

:root {
  --bg: #f4efe6;
  --bg-2: #ebe4d6;
  --surface: #fffaf1;
  --ink: #1c1917;
  --muted: #4f4942;
  --faint: #6b6358;
  --line: #d0c6b6;
  --madder: #8c1d2c;
  --madder-deep: #6d1522;
  --on-madder: #fffaf1;
  --on-dark: #fffaf1;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --bar: 3.35rem;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --max: 70rem;
  --radius: 1.1rem;
  --shadow: 0 0 0 1px rgba(28, 25, 23, 0.08), 0 8px 24px -12px rgba(28, 25, 23, 0.14);
}

html[data-theme="dark"] {
  --bg: #121416;
  --bg-2: #1a1d22;
  --surface: #23262c;
  --ink: #f3f4f6;
  --muted: #b8bcc4;
  --faint: #8e939c;
  --line: #3a3e46;
  --madder: #ef5d68;
  --madder-deep: #d94854;
  --on-madder: #14080a;
  --on-dark: #f3f4f6;
  --shadow: 0 0 0 1px rgba(243, 244, 246, 0.08), 0 8px 24px -12px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(90% 42% at 50% -8%, rgba(239, 93, 104, 0.12), transparent 58%),
    radial-gradient(70% 36% at 100% 18%, rgba(80, 100, 120, 0.16), transparent 55%),
    var(--bg);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  background:
    radial-gradient(90% 42% at 50% -8%, rgba(140, 29, 44, 0.07), transparent 58%),
    radial-gradient(70% 36% at 100% 18%, rgba(90, 110, 80, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0;
}

p { text-wrap: pretty; margin: 0; }
a { color: inherit; text-decoration: none; }
button, [role="button"] { font-family: inherit; cursor: pointer; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  background: var(--madder);
  color: var(--on-madder);
  padding: 0.45rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 1rem;
}
.skip:focus { top: calc(var(--safe-t) + 0.4rem); }

.topbar, .bottombar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.topbar {
  top: 0;
  height: calc(var(--bar) + var(--safe-t));
  padding: var(--safe-t) 1rem 0;
  border-bottom: 1px solid var(--line);
}
.bottombar {
  bottom: 0;
  height: calc(var(--bar) + var(--safe-b));
  padding: 0 1rem var(--safe-b);
  border-top: 1px solid var(--line);
}
.bar-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--bar);
}
.brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; color: var(--ink); }
.mark { width: 2rem; height: 2rem; flex-shrink: 0; color: var(--madder); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
}
.tld {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.bar-tools { display: flex; align-items: center; gap: 0.25rem; }
.icon-btn, .lang {
  height: 2.6rem;
  min-width: 2.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 9rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
  padding: 0.35rem;
  z-index: 60;
}
.lang-menu a,
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  border-radius: 0.4rem;
  font-size: 1rem;
  text-decoration: none;
}
.lang-menu a[aria-current="true"],
.lang-menu button[aria-current="true"] { background: var(--bg-2); font-weight: 600; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.6rem;
  padding: 0 1.05rem;
  border-radius: 0.5rem;
  border: 0;
  background: var(--madder);
  color: var(--on-madder);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.btn:hover { background: var(--madder-deep); color: var(--on-madder); }
.btn-lg { height: 3rem; padding: 0 1.3rem; font-size: 1.05rem; }
.btn-ghost { background: var(--on-dark); color: #1c1917; border: 0; }
.btn-ghost:hover { background: #ebe4d6; color: #1c1917; }
.trust-line {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trust-line .extra { display: none; color: var(--muted); }
main {
  padding-top: calc(var(--bar) + var(--safe-t));
  padding-bottom: calc(var(--bar) + var(--safe-b));
}
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 40rem; padding-top: 2rem; }
.card-title { margin-top: 0.45rem; }
.hero {
  position: relative;
  min-height: min(32rem, calc(100dvh - var(--bar) * 2));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg);
}
.hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.15) 0%, rgba(244, 239, 230, 0.55) 48%, var(--bg) 100%),
    radial-gradient(90% 80% at 70% 20%, rgba(140, 29, 44, 0.1), transparent 55%),
    linear-gradient(165deg, #d5dcc8 0%, #e2d3b8 48%, #ead9c4 100%);
}
.hero-art svg {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 52%;
  opacity: 0.16;
  color: #6a6158;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 1.75rem 0 2.1rem;
  max-width: 42rem;
  color: var(--ink);
}
.eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  color: var(--ink);
}
.lede {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
}
.lede strong { color: var(--ink); font-weight: 700; }
.hero .btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.hero .btn-ghost:hover {
  background: var(--bg-2);
  color: var(--ink);
}

html[data-theme="dark"] .hero {
  color: var(--on-dark);
  background: #121416;
}
html[data-theme="dark"] .hero-art {
  background:
    linear-gradient(180deg, rgba(18, 20, 22, 0.25) 0%, rgba(18, 20, 22, 0.78) 58%, #121416 100%),
    linear-gradient(180deg, #2a3138 0%, #1a1d22 100%);
}
html[data-theme="dark"] .hero-art svg { color: #8b939c; }
html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .lede,
html[data-theme="dark"] .lede strong {
  color: var(--on-dark);
}
html[data-theme="dark"] .eyebrow {
  color: #c5c9d0;
}
html[data-theme="dark"] .hero .btn-ghost {
  background: #f3f4f6;
  color: #121416;
  border: 0;
}
html[data-theme="dark"] .hero .btn-ghost:hover {
  background: #dfe3e8;
  color: #121416;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
section { padding: 2rem 0; }
.band { padding: 2.15rem 0; }
.band + section,
section + .band { padding-top: 1.85rem; }
.kicker {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); color: var(--ink); }
.deck {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}
.deck a, .legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.work-list {
  margin: 1.1rem 0 0;
  padding-left: 1.25rem;
  color: var(--ink);
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.5;
}
.work-list li { margin: 0.45rem 0; }
.card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow: 0 10px 28px -18px rgba(28, 25, 23, 0.28);
  padding: 1.25rem;
}
.split { margin-top: 1.5rem; }
.bar-track {
  display: flex;
  height: 0.75rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-2);
}
.bar-fee { width: 12%; background: var(--madder); }
.bar-direct { width: 88%; background: #1c1917; }
.split-grid { display: grid; gap: 0.75rem; margin-top: 1rem; }
.split-fee, .split-direct { border-radius: 0.75rem; padding: 1.05rem 1.15rem; }
.split-fee { background: var(--bg-2); color: var(--ink); }
.split-direct { background: #1c1917; color: #fffaf1; }
html[data-theme="dark"] .bar-direct { background: #f3f4f6; }
html[data-theme="dark"] .split-direct {
  background: #0e1013;
  color: #f3f4f6;
}
html[data-theme="dark"] .split-direct .tiny,
html[data-theme="dark"] .split-direct .hint,
html[data-theme="dark"] .split-direct .amount {
  color: #e8eaee;
}
.tiny {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.split-direct .tiny { color: #efe6d8; }
.amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-variant-numeric: tabular-nums;
  margin-top: 0.25rem;
}
.split-fee .amount { color: var(--madder-deep); }
html[data-theme="dark"] .split-fee .amount { color: var(--madder); }
.split-direct .amount { color: #fffaf1; }
.hint { margin-top: 0.4rem; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.split-direct .hint { color: #efe6d8; }
.example { margin-top: 0.9rem; font-size: 0.95rem; color: var(--faint); }
.band { background: var(--bg-2); color: var(--ink); }
.chain { display: grid; gap: 1rem; }
.steps { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.step {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
}
.step.done { background: #d7eadc; color: #1e3d26; }
html[data-theme="dark"] .step.done { background: #2c4a34; color: #d7eadc; }
.legal {
  padding: 1.4rem 0 1.6rem;
  font-size: 1rem;
  color: var(--muted);
  background: transparent;
}
.legal p + p { margin-top: 0.55rem; }

@media (min-width: 640px) {
  .trust-line .extra { display: inline; }
  .split-grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 1.75rem; }
}
@media (min-width: 900px) {
  .chain { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 2.6rem 0 2.8rem; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1.05rem; }
  .lang svg { display: none; }
  .icon-btn, .lang { min-width: 2.4rem; height: 2.4rem; padding: 0 0.45rem; }
  .btn { height: 2.4rem; padding: 0 0.8rem; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
