/* Cartano marketing landing — premium, minimal, high-contrast.
   Deep black + crisp white + the brand orange. Buttons carry a metallic
   inset-highlight gloss; eyebrows use mono for an editorial, precise tone. */

:root {
  --ink: #ffffff;            /* headlines */
  --ink-2: #ecebe8;          /* body on dark */
  --ink-dim: #9b9a96;        /* muted */
  --ink-faint: #66645f;      /* faintest */
  --paper: #070707;          /* page background */
  --panel: #0e0e0f;          /* raised surface */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);

  /* light showcase surface */
  --lite-bg: #f6f5f2;
  --lite-ink: #0a0a0b;
  --lite-dim: #5c5a55;
  --lite-line: rgba(10, 10, 11, 0.10);

  /* brand */
  --accent: #ff7a2e;
  --grad: radial-gradient(79.21% 79.21% at 36.44% 13.97%, #ffc88e 0%, #ff8400 30.77%, #ff3c00 72.12%, #ac002b 100%);
  --grad-btn: linear-gradient(166deg, #ffc88e -9.08%, #ff8400 11.69%, #ff3c00 52.22%, #ac002b 98.46%);
  --glow: rgba(255, 70, 0, 0.5);

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1140px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.24s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn .ico { width: 17px; height: 17px; }

/* primary: brand gradient, white ink, metallic top-highlight + soft glow */
.btn--primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 10px 30px -10px var(--glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 18px 44px -12px var(--glow);
}
.btn--primary:active { transform: translateY(0); }

/* ghost: hairline outline on dark */
.btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.04); }
.btn--lg { height: 54px; padding-inline: 28px; font-size: 16px; }

/* ── nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 26px; height: 66px; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 18px; width: auto; display: block; }
.nav__links { display: flex; gap: 30px; margin-left: 14px; }
.nav__links a { font-size: 14px; color: var(--ink-dim); transition: color 0.18s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__signin { font-size: 14px; color: var(--ink-dim); }
.nav__signin:hover { color: var(--ink); }
.nav .btn { height: 40px; padding-inline: 18px; font-size: 14px; }

/* ── hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 13vw, 156px) 0 clamp(60px, 8vw, 96px); }
.hero__glow {
  position: absolute;
  top: -34%;
  left: 50%;
  width: min(980px, 122vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: var(--grad);
  filter: blur(120px);
  opacity: 0.26;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 840px; margin-inline: auto; }
.hero h1 {
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(42px, 7.2vw, 80px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero__sub {
  margin: 26px auto 0;
  max-width: 600px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink-dim);
}
.hero__cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-faint); }

/* browser-mock showpiece */
.mock {
  position: relative;
  z-index: 1;
  margin: clamp(52px, 7vw, 84px) auto 0;
  max-width: 920px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #121214, #0b0b0d);
  box-shadow: 0 50px 130px -50px #000, inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; gap: 7px; }
.mock__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.mock__url {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  height: 30px; padding-inline: 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-dim);
}
.mock__url .ico { width: 13px; height: 13px; color: #4ade80; }
.mock__url b { color: var(--ink); font-weight: 600; }
.mock__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.mock__card { background: #0c0c0e; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.mock__thumb { width: 52%; aspect-ratio: 1; border-radius: 14px; background: var(--grad); }
.mock__card:nth-child(2) .mock__thumb { opacity: 0.6; }
.mock__card:nth-child(3) .mock__thumb { opacity: 0.32; }

/* ── section scaffolding ─────────────────────────────────────────────── */
.section { padding: clamp(80px, 11vw, 130px) 0; }
.section__head { max-width: 640px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.section__lead { margin: 18px 0 0; font-size: clamp(15px, 1.8vw, 18px); color: var(--ink-dim); }

/* ── features ────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.feature { background: var(--paper); padding: 34px 30px; min-width: 0; transition: background-color 0.25s var(--ease); }
.feature:hover { background: var(--panel); }
.feature__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.025); margin-bottom: 20px; }
.feature__ic .ico { width: 19px; height: 19px; color: var(--accent); }
.feature h3 { margin: 0 0 9px; color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.feature p { margin: 0; font-size: 14.5px; color: var(--ink-dim); line-height: 1.6; }

/* ── light showcase ──────────────────────────────────────────────────── */
.showcase { background: var(--lite-bg); color: var(--lite-ink); }
.showcase .eyebrow { color: #c2480a; }
.showcase__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.showcase h2 { color: var(--lite-ink); }
.showcase__lead { margin: 20px 0 0; font-size: clamp(15px, 1.8vw, 18px); color: var(--lite-dim); line-height: 1.6; }
.steps { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34); }
.step b { display: block; color: var(--lite-ink); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.step span { font-size: 14.5px; color: var(--lite-dim); }
.showcase__card {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--lite-line);
  box-shadow: 0 40px 90px -50px rgba(10, 10, 11, 0.4);
  padding: 34px;
}
.showcase__card img { height: 22px; width: auto; display: block; }
.showcase__card .tag { margin-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #c2480a; }
.checklist { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 11px; align-items: center; font-size: 15px; color: #2b2a27; }
.checklist b { color: var(--lite-ink); font-weight: 650; }
.checklist .ico { width: 18px; height: 18px; color: #ff5a1f; flex: none; }

/* ── final CTA ───────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta__glow { position: absolute; bottom: -55%; left: 50%; width: min(820px, 116vw); aspect-ratio: 1; transform: translateX(-50%); background: var(--grad); filter: blur(130px); opacity: 0.24; border-radius: 50%; pointer-events: none; }
.cta__inner { position: relative; z-index: 1; max-width: 660px; margin-inline: auto; }
.cta h2 { color: var(--ink); font-size: clamp(32px, 5.2vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; margin: 0; }
.cta p { margin: 20px auto 0; max-width: 460px; color: var(--ink-dim); font-size: 17px; }
.cta__row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── footer ──────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 60px 0 50px; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot__brand img { height: 20px; width: auto; display: block; }
.foot__brand p { margin: 18px 0 0; max-width: 270px; font-size: 14px; color: var(--ink-faint); line-height: 1.6; }
.foot__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot__col h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.foot__col a { display: block; font-size: 14.5px; color: var(--ink-dim); padding: 6px 0; transition: color 0.18s var(--ease); }
.foot__col a:hover { color: var(--ink); }
.foot__bar { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-faint); }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .features { grid-template-columns: 1fr 1fr; }
  .showcase__grid { grid-template-columns: 1fr; }
  .mock__body { grid-template-columns: 1fr 1fr; }
  .mock__card:nth-child(3) { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding-inline: 18px; }
  .nav__links { display: none; }
  .features { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta__row .btn { flex: 1 1 auto; }
  .foot__top { flex-direction: column; }
}
@media (max-width: 380px) {
  .nav__signin { display: none; }
}
