/* Shortcut landing: shared base styles (white + orange). */
:root {
  --orange: #ff6a00;
  --orange-2: #ff8a2b;
  --amber: #ffb347;
  --orange-50: #fff5ec;
  --orange-100: #ffe6d1;
  --ink: #0d0d12;
  --ink-2: #3b3b45;
  --muted: #7a7a86;
  --line: #ececf0;
  --bg: #ffffff;
  --bot: #b4b4bd;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13, 13, 18, .04), 0 12px 40px -12px rgba(255, 106, 0, .18);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { position: relative; padding: 120px 0; }

/* ---------- Type ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-100); }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin-top: 14px; max-width: 760px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 640px; margin: 18px 0 0; }
.grad { background: linear-gradient(90deg, var(--orange), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 106, 0, .6); }
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(255, 106, 0, .75); }
.btn-ghost { background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .container { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo-mark { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); margin-left: 24px; }
.nav-links a:hover { color: var(--orange); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang a { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); }
.lang a.active { background: var(--orange); color: #fff; }
.lang button, .seg button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.lang button.active, .seg button.active { background: var(--orange); color: #fff; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.seg button { font-size: 13px; padding: 7px 16px; }
@media (max-width: 900px) { .nav-links, .nav-login { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Shorten widget ---------- */
.shorten { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow); max-width: 520px; }
.shorten input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; min-width: 0; }

/* ---------- Simulator ---------- */
.rules { padding: 26px; }
.rules-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.rules-head h3 { font-size: 16px; }
.rules-head small { color: var(--muted); font-size: 12px; }
.rule { display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: border-color .3s, background .3s, transform .3s; }
.rule-n { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--orange-50); color: var(--orange); }
.rule-c { font-weight: 600; font-size: 14px; }
.rule-u { font-size: 13px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rule.default { border-style: dashed; }
.rule.match { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 3px var(--orange-100); }
.rule.match .rule-n { background: var(--orange); color: #fff; }

.sim { padding: 26px; background: linear-gradient(180deg, #fff, var(--orange-50)); border-color: var(--orange-100); }
.sim h3 { font-size: 16px; margin-bottom: 16px; }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sim label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sim select { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; color: var(--ink); text-transform: none; letter-spacing: 0; cursor: pointer; }
.sim select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.sim-out { margin-top: 18px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.sim-out small { display: block; font-size: 12px; color: var(--muted); }
.sim-out strong { display: block; font-size: 15px; margin: 2px 0 12px; }
.sim-out code { display: block; font-size: 13px; color: var(--orange); word-break: break-all; }
.sim.flash .sim-out { animation: simflash .6s ease; }
@keyframes simflash { from { box-shadow: 0 0 0 0 rgba(255, 106, 0, .45); } to { box-shadow: 0 0 0 14px rgba(255, 106, 0, 0); } }

/* ---------- Clicks table ---------- */
.clicks { width: 100%; border-collapse: collapse; font-size: 13px; }
.clicks th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 10px 10px; border-bottom: 1px solid var(--line); }
.clicks td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; transition: opacity .4s; }
.clicks td:first-child { font-family: ui-monospace, Menlo, monospace; color: var(--muted); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.h { background: var(--orange-50); color: var(--orange); }
.pill.b { background: #f1f1f4; color: #8a8a95; }
tr.bot td { color: #9a9aa5; }
.humans-only tr.bot { display: none; }

/* ---------- Pricing ---------- */
.pricing-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: end; }
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.plan { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 6px; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h3 { font-size: 15px; color: var(--ink-2); }
.plan-price { margin: 8px 0 0; display: flex; align-items: baseline; gap: 4px; }
.plan-price span { font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.plan-price small { color: var(--muted); }
.plan-clicks { margin: 0 0 18px; font-size: 14px; color: var(--ink-2); }
.plan .btn { margin-top: auto; height: 42px; }
.plan.popular { border-color: var(--orange); background: linear-gradient(180deg, var(--orange-50), #fff 60%); box-shadow: var(--shadow); transform: scale(1.03); }
.plan-badge { position: absolute; top: -11px; left: 22px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pricing-note { margin-top: 24px; color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.trust-grid .card { padding: 28px; }
.trust-grid h3 { font-size: 17px; margin: 14px 0 8px; }
.trust-grid p { margin: 0; color: var(--ink-2); font-size: 14px; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; background: none; border: 0; cursor: pointer; font-size: 17px; font-weight: 600; text-align: left; }
.faq-item button::after { content: '+'; font-size: 22px; color: var(--orange); transition: transform .3s; }
.faq-item.open button::after { transform: rotate(45deg); }
.faq-item p { margin: 0; max-height: 0; overflow: hidden; color: var(--ink-2); transition: max-height .4s ease, padding .4s ease; }
.faq-item.open p { max-height: 240px; padding-bottom: 22px; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .container { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--orange); }

/* Yearly offer pill */
.save-pill { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; margin-left: 6px; border-radius: 999px; background: #0aac23; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.seg button.active .save-pill { background: #fff; color: var(--orange); }
