/* LinkPadi site styles: Riso look
   Two-ink print: hot pink and blue on warm paper, overlapping into purple,
   with slightly offset "misprint" shadows. Syne headings, DM Sans text. */

/* Text size set by admin (Admin > Text size). Gives --fs, used by every font size below. */
@import url('/api/theme.css');

:root {
  --bg: #F6F2EA;
  --paper: #FFFFFF;
  --ink: #00284A;
  --muted: #3F5D75;
  --pink: #FF48B0;
  --pink-dark: #C4157A;
  --blue: #0078BF;
  --pale-pink: #FFD9EE;
  --pale-blue: #CDE6F6;
  --line: #9EC4DE;
  /* Older names, mapped to the Riso inks so every page keeps working */
  --peach: #FFD9EE;
  --mint: #CDE6F6;
  --lemon: #FFD9EE;
  --sky: #CDE6F6;
  --danger: #B3261E;
  --danger-soft: #FFE1E6;
  --display: 'Syne', 'Arial Black', 'Helvetica Neue', sans-serif;
  --body: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --shadow: 4px 4px 0 var(--pink);
  --shadow-sm: 3px 3px 0 var(--pink);
  --misprint: 3px 3px 0 rgba(255, 72, 176, 0.85);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background-color: var(--bg); background-image: radial-gradient(rgba(0, 40, 74, 0.07) 1px, transparent 1.3px); background-size: 6px 6px; overflow-x: clip; color: var(--ink); font-family: var(--body); font-size: calc(16px * var(--fs, 1)); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.pk { color: var(--pink-dark); text-shadow: 3px 3px 0 rgba(0, 120, 191, 0.45); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--blue); color: #FFFFFF; border: 2px solid transparent; box-shadow: var(--shadow);
  font-family: var(--display); font-weight: 700; font-size: calc(16px * var(--fs, 1)); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--pink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--pink); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: var(--shadow); }
.btn.white { background: var(--paper); color: var(--ink); border-color: var(--blue); }
.btn.lemon { background: var(--pink); color: var(--ink); box-shadow: 4px 4px 0 var(--blue); }
.btn.lemon:hover { box-shadow: 5px 5px 0 var(--blue); }
.btn.mint { background: var(--pale-blue); color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: calc(14px * var(--fs, 1)); box-shadow: var(--shadow-sm); }
.btn.danger, .btn.danger:hover, .btn.danger:active { background: var(--paper); color: var(--danger); border-color: var(--danger); box-shadow: none; }
.btn.block { width: 100%; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex-shrink: 0;
}
.icon-btn:hover { background: var(--pale-pink); border-color: var(--pink); }
.icon-btn:disabled { opacity: 0.35; cursor: default; background: var(--paper); border-color: var(--line); }

/* ---------- Header + menu ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: 8px; background: var(--bg); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.logo {
  display: inline-flex; align-items: center; gap: 16px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--blue); text-shadow: 2px 2px 0 rgba(255, 72, 176, 0.85);
}
/* The top bar keeps a fixed size so it always fits, whatever the text size setting. */
.bar .btn.small { font-size: 14px; }
@media (max-width: 380px) { .bar .btn.small { padding: 0 12px; } }
.logo i { width: 22px; height: 22px; border-radius: 50%; background: var(--pink); display: inline-block; position: relative; flex-shrink: 0; }
.logo i::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); left: 9px; top: 6px; mix-blend-mode: multiply; }
.nav-desk { display: none; align-items: center; gap: 22px; font-weight: 500; font-size: calc(16px * var(--fs, 1)); }
.nav-desk a { text-decoration: none; }
.nav-desk a:hover { color: var(--blue); }
.nav-desk .btn { min-height: 44px; box-shadow: var(--shadow-sm); font-size: 15px; }
.menu-btn {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--pink); border: 0; box-shadow: 3px 3px 0 var(--blue);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0;
}
.menu-btn span { width: 20px; height: 3px; border-radius: 3px; background: var(--ink); }
.menu-btn span:nth-child(3) { display: none; }
.menu {
  position: fixed; inset: 0; z-index: 50; background: var(--blue); color: #FFFFFF; display: flex; flex-direction: column; overflow-y: auto;
  padding-top: calc(8px + env(safe-area-inset-top, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.menu .logo { color: #FFFFFF; }
.menu .logo i::after { background: var(--bg); mix-blend-mode: normal; opacity: 0.85; }
.menu-close {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 0; box-shadow: 3px 3px 0 var(--pink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); padding: 0;
}
.menu-links { display: flex; flex-direction: column; padding-block: 18px 12px; }
.menu-links a {
  color: #FFFFFF; padding: 14px 0; border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  font-family: var(--display); font-weight: 800; font-size: calc(30px * var(--fs, 1)); letter-spacing: -0.02em; text-decoration: none;
  display: flex; justify-content: space-between; align-items: center;
}
.menu-links a:hover { color: var(--pale-pink); }
.menu-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding-block: 18px 28px; }
.menu-actions .btn.white { border-color: transparent; }

/* ---------- Shared bits ---------- */
.sticker {
  display: inline-block; background: var(--pale-pink); color: var(--ink); border-radius: 999px; padding: 6px 14px;
  font-weight: 700; font-size: calc(13px * var(--fs, 1)); letter-spacing: 0.12em; text-transform: uppercase;
}
.soon {
  font-family: var(--body); font-size: calc(11px * var(--fs, 1)); font-weight: 700; background: var(--pale-blue);
  border-radius: 999px; padding: 2px 8px; vertical-align: middle; margin-left: 4px; white-space: nowrap; letter-spacing: 0;
}
.pill {
  background: var(--paper); color: var(--ink); border: 2px solid var(--blue); border-radius: 999px; font-size: calc(12px * var(--fs, 1)); font-weight: 700;
  padding: 3px 10px; white-space: nowrap; display: inline-block;
}
.section { padding-block: 64px; }
.section h2 { font-size: calc(clamp(36px, 8.4vw, 64px) * var(--fs, 1)); color: var(--blue); text-shadow: var(--misprint); }
.section .lead { font-size: calc(18px * var(--fs, 1)); color: var(--muted); max-width: 580px; margin: 14px 0 0; }
.dots { position: absolute; border-radius: 50%; background-image: radial-gradient(var(--pink) 2px, transparent 2.4px); background-size: 10px 10px; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 28px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 {
  font-size: min(calc(clamp(46px, 12.5vw, 104px) * var(--fs, 1)), 13vw); line-height: 0.95; letter-spacing: -0.03em; margin-top: 18px;
  color: var(--blue); text-shadow: 4px 3px 0 rgba(255, 72, 176, 0.9);
}
.hero h1 .hl { color: var(--pink-dark); text-shadow: 4px 3px 0 rgba(0, 120, 191, 0.45); }
.hero .sub { font-size: calc(18px * var(--fs, 1)); color: var(--ink); max-width: 540px; margin: 20px 0 0; }
.claim { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; max-width: 580px; }
.claim-field { display: flex; align-items: center; background: var(--paper); border: 2px solid var(--blue); border-radius: 999px; min-height: 60px; }
.claim-field:focus-within { box-shadow: var(--shadow); }
.claim-field span { padding-left: 20px; color: var(--muted); font-weight: 500; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.claim-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: inherit; font-weight: 700; font-size: max(16px, calc(17px * var(--fs, 1))); color: var(--ink); padding: 14px 18px 14px 2px; }
.claim .btn { min-height: 60px; font-size: calc(18px * var(--fs, 1)); }
.note { margin: 14px 0 0 4px; font-size: calc(15px * var(--fs, 1)); color: var(--muted); }

.stage { position: relative; display: flex; justify-content: center; padding-block: 30px; }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; pointer-events: none; }
.blob.b1 { width: 250px; height: 250px; background: var(--pink); opacity: 0.9; left: 2%; top: 0; }
.blob.b2 { width: 230px; height: 230px; background: var(--blue); opacity: 0.85; right: 0; bottom: 0; }
.phone {
  position: relative; width: 100%; max-width: 300px; background: var(--bg); border-radius: 24px;
  padding: 24px 18px 20px; box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; gap: 10px;
}
.p-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 6px auto 0; background: var(--pale-pink); border: 3px solid var(--blue);
  box-shadow: -8px -6px 0 var(--pink); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: calc(22px * var(--fs, 1));
}
.p-tag { align-self: center; background: var(--blue); color: #FFFFFF; box-shadow: 2px 2px 0 var(--pink); border-radius: 999px; padding: 3px 12px; font-size: calc(10px * var(--fs, 1)); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.p-name { text-align: center; font-family: var(--display); font-weight: 800; font-size: calc(24px * var(--fs, 1)); color: var(--blue); text-shadow: 2px 2px 0 rgba(255, 72, 176, 0.85); }
.p-handle { text-align: center; font-size: calc(12px * var(--fs, 1)); color: var(--muted); margin-top: -6px; }
.p-cta { background: var(--blue); color: #FFFFFF; border-radius: 999px; text-align: center; font-weight: 700; font-size: calc(14px * var(--fs, 1)); padding: 11px; box-shadow: 3px 3px 0 var(--pink); }
.p-link { background: var(--pale-pink); border-radius: 999px; padding: 10px 14px; font-size: calc(13px * var(--fs, 1)); font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.p-link:nth-child(odd) { background: var(--pale-blue); }
.p-foot { text-align: center; font-size: calc(11px * var(--fs, 1)); color: var(--muted); }

/* ---------- Blue band ---------- */
.band { background: var(--blue); color: #FFFFFF; position: relative; overflow: hidden; padding-block: 56px; }
.band h2 { font-size: calc(clamp(34px, 7.6vw, 60px) * var(--fs, 1)); color: #FFFFFF; text-shadow: 3px 3px 0 var(--pink); position: relative; }
.band .lead { color: #E3EEF6; font-size: calc(18px * var(--fs, 1)); max-width: 580px; margin: 14px 0 0; position: relative; }
.band .chips { position: relative; }
.band .chip { background: var(--paper); }
.band .chip:nth-child(2n) { background: var(--pink); }
.band .dots { width: 160px; height: 160px; right: -50px; top: -70px; }

/* ---------- Feature cards, steps, who-for chips ---------- */
.cards { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.card { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--pale-pink); }
.cards .card:nth-child(2n) { background: var(--pale-blue); }
.card .ico {
  width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: var(--ink); margin-bottom: 4px;
  box-shadow: 7px 5px 0 rgba(0, 120, 191, 0.8); display: flex; align-items: center; justify-content: center;
}
.card .ico.white { background: var(--paper); box-shadow: 7px 5px 0 rgba(255, 72, 176, 0.8); }
.card .ico img { width: 30px; height: 30px; display: block; }
/* Two-ink overprint marks on the "What you get" cards */
.mark { position: relative; width: 56px; height: 48px; display: inline-block; flex-shrink: 0; }
.mark i { position: absolute; width: 40px; height: 40px; mix-blend-mode: multiply; }
.mark i:first-child { left: 0; top: 0; }
.mark i:last-child { left: 16px; top: 8px; }
.mark.flip i:first-child { top: 8px; }
.mark.flip i:last-child { top: 0; }
.mark i.p { background: var(--pink); }
.mark i.b { background: var(--blue); }
.mark i.r { border-radius: 50%; }
.mark.bars { display: flex; align-items: flex-end; gap: 5px; }
.mark.bars i { position: static; width: 8px; background: var(--blue); }
.mark.bars i:nth-child(1) { height: 18px; }
.mark.bars i:nth-child(2) { height: 30px; }
.mark.bars i:nth-child(3) { height: 24px; background: var(--pink); }
.mark.bars i:nth-child(4) { height: 40px; background: var(--pink); }
.mark.bars i:nth-child(5) { height: 48px; }
.mark.ring { width: 48px; border-radius: 50%; border: 3px solid var(--blue); background-image: radial-gradient(var(--pink) 2px, transparent 2.4px); background-size: 8px 8px; }
.mark-img { width: 48px; height: 48px; display: block; }
.lead .more { color: var(--pink-dark); font-weight: 700; white-space: nowrap; }
.card h3 { font-size: calc(23px * var(--fs, 1)); }
.card p { margin: 0; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps .no {
  font-family: var(--display); font-weight: 800; font-size: calc(96px * var(--fs, 1)); line-height: 0.85;
  color: var(--pink); text-shadow: 4px 4px 0 rgba(0, 120, 191, 0.85);
}
.steps h3 { font-size: calc(24px * var(--fs, 1)); margin-top: 8px; }
.steps p { margin: 4px 0 0; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { background: var(--pale-pink); color: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: calc(17px * var(--fs, 1)); }
.chip:nth-child(2n) { background: var(--pale-blue); }

/* ---------- Pricing ---------- */
.plans { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.plan { background: var(--pale-blue); border-radius: 26px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.pop { background: var(--pale-pink); border: 3px solid var(--pink); box-shadow: 6px 6px 0 var(--blue); }
.plan:nth-child(3n):not(.pop) { background: var(--ink); color: var(--bg); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan h3 { font-size: calc(26px * var(--fs, 1)); }
.plan:nth-child(3n):not(.pop) h3 { color: #FF8FCB; }
.price { font-family: var(--display); font-weight: 800; font-size: calc(50px * var(--fs, 1)); line-height: 1; letter-spacing: -0.02em; }
.price small { font-family: var(--body); font-size: calc(16px * var(--fs, 1)); color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan:nth-child(3n):not(.pop) .price small, .plan:nth-child(3n):not(.pop) li em { color: #B9CCE0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.plan.pop li::before { background: var(--blue); }
.plan li em { font-style: normal; color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan:nth-child(3n):not(.pop) .btn { background: var(--pink); color: var(--ink); box-shadow: 4px 4px 0 var(--blue); }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq details { background: var(--paper); border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 12px 18px; font-weight: 700; font-size: calc(17px * var(--fs, 1)); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: var(--ink); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: transform .2s; box-shadow: 3px 2px 0 rgba(0, 120, 191, 0.8); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

/* ---------- CTA + footer ---------- */
.cta { padding-block: 16px 72px; }
.cta-box { background: var(--ink); color: var(--bg); border-radius: 34px; padding: 44px 26px; position: relative; overflow: hidden; }
.cta-box h2 { font-size: calc(clamp(38px, 8.5vw, 72px) * var(--fs, 1)); position: relative; color: var(--bg); text-shadow: 4px 3px 0 var(--pink); max-width: 760px; }
.cta-box p { color: #CFE0EE; font-size: calc(18px * var(--fs, 1)); margin: 16px 0 26px; max-width: 520px; position: relative; }
.cta-box .btn { position: relative; }
.cta-box .claim { position: relative; margin-top: 0; }
.cta-box .claim-field { background: var(--bg); border-color: var(--bg); }
.cta-box .claim-field:focus-within { box-shadow: 4px 4px 0 var(--pink); }
.cta-dot { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-dot.d1 { width: 280px; height: 280px; right: -70px; bottom: -90px; background-image: radial-gradient(var(--pink) 2px, transparent 2.4px); background-size: 10px 10px; }
.cta-dot.d2 { width: 170px; height: 170px; background: var(--blue); opacity: 0.85; right: 90px; top: -60px; }

.footer { padding-block: 8px 40px; }
.footer-box { background: var(--paper); border-radius: 26px; padding: 26px 22px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.footer h4 { margin: 0 0 8px; font-size: calc(13px * var(--fs, 1)); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--pink-dark); }
.copy { margin: 24px 0 0; font-size: calc(14px * var(--fs, 1)); color: var(--muted); }

/* ---------- Simple page header (About, Pricing, legal) ---------- */
.page-hero { padding-block: 28px 8px; }
.page-hero h1 { font-size: min(calc(clamp(42px, 11vw, 88px) * var(--fs, 1)), 13vw); line-height: 0.98; margin-top: 16px; color: var(--blue); text-shadow: 4px 3px 0 rgba(255, 72, 176, 0.9); }
.page-hero .lead { font-size: calc(18px * var(--fs, 1)); color: var(--muted); max-width: 600px; margin: 18px 0 0; }

/* ---------- Legal pages ---------- */
.legal { padding-block: 24px 64px; }
.legal-box { background: var(--paper); border-radius: 26px; padding: 26px 22px; max-width: 780px; }
.legal-box .updated { font-size: calc(14px * var(--fs, 1)); color: var(--muted); margin: 0 0 8px; font-weight: 700; }
.legal-box h2 { font-family: var(--body); font-weight: 700; letter-spacing: 0; font-size: calc(21px * var(--fs, 1)); line-height: 1.25; margin: 28px 0 8px; color: var(--ink); }
.legal-box p, .legal-box li { color: #23435C; }
.legal-box p { margin: 0 0 12px; }
.legal-box ul { margin: 0 0 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-box a { color: var(--pink-dark); font-weight: 700; }

/* ---------- Auth pages ---------- */
.auth-main { padding-block: 24px 64px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 460px; background: var(--paper); border: 2px solid var(--blue); border-radius: 26px; box-shadow: 8px 8px 0 var(--pink); padding: 28px 22px; display: flex; flex-direction: column; gap: 18px; }
.auth-card h1 { font-size: calc(36px * var(--fs, 1)); color: var(--blue); text-shadow: 2px 2px 0 rgba(255, 72, 176, 0.85); }
.auth-card .lead { margin: -8px 0 0; color: var(--muted); }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.switch { text-align: center; font-size: calc(15px * var(--fs, 1)); color: var(--muted); margin: 0; }
.switch a { color: var(--pink-dark); font-weight: 700; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: calc(14px * var(--fs, 1)); }
.hint { font-size: calc(13px * var(--fs, 1)); color: var(--muted); margin: 0; }
.input, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--paper); color: var(--ink); font-family: var(--body); font-size: max(16px, calc(16px * var(--fs, 1)));
}
.textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
select.input {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 40px; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230078BF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--shadow-sm); }
.prefix-input { display: flex; align-items: center; min-height: 50px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); overflow: hidden; }
.prefix-input:focus-within { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.prefix-input span { padding-left: 16px; color: var(--muted); font-weight: 500; white-space: nowrap; font-size: calc(15px * var(--fs, 1)); max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.prefix-input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 16px 12px 2px; font-family: var(--body); font-weight: 700; font-size: max(16px, calc(16px * var(--fs, 1))); color: var(--ink); outline: none; }
.password-row { position: relative; }
.password-row .input { padding-right: 80px; }
.password-row button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--pink-dark); font-weight: 700; font-family: var(--body); cursor: pointer; }
.status { font-size: calc(13px * var(--fs, 1)); min-height: 18px; margin: 0; font-weight: 700; }
.status.ok { color: #0F6B4A; }
.status.bad { color: var(--danger); }
.alert { background: var(--danger-soft); color: var(--danger); border: 2px solid var(--danger); border-radius: 14px; padding: 12px 14px; font-size: calc(14px * var(--fs, 1)); font-weight: 700; margin: 0; }
.counter { font-size: calc(12px * var(--fs, 1)); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Dashboard ---------- */
.dash-main { padding-block: 8px 72px; }
.dash-main .wrap { max-width: 700px; }
.dash-stack { display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--paper); border-radius: 24px; padding: 22px 18px; display: flex; flex-direction: column; gap: 16px; }
.panel.lemon { background: var(--pale-pink); }
.panel.mint { background: var(--pale-blue); }
.panel h2 { color: var(--blue); text-shadow: 2px 2px 0 rgba(255, 72, 176, 0.8); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h2 { font-size: calc(26px * var(--fs, 1)); }
.panel p { margin: 0; }
.page-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 10px 10px 10px 16px; }
.page-url { flex: 1 1 180px; min-width: 0; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.page-link-actions { display: flex; gap: 8px; flex-shrink: 0; }
.form-grid { display: flex; flex-direction: column; gap: 16px; }
.form-actions { display: flex; justify-content: flex-end; }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.link-item { border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.link-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.link-text { flex: 1; min-width: 0; }
.link-title { font-weight: 700; overflow-wrap: anywhere; }
.link-url { font-size: calc(13px * var(--fs, 1)); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-move { display: flex; flex-direction: column; gap: 4px; }
.link-move .icon-btn { width: 36px; height: 36px; }
.link-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.link-edit { display: flex; flex-direction: column; gap: 10px; }
.empty-note { color: var(--muted); margin: 0; text-align: center; padding: 12px 0; }
.add-link { display: flex; flex-direction: column; gap: 12px; border-top: 2px dashed var(--line); padding-top: 18px; }
.add-link h3 { font-size: calc(22px * var(--fs, 1)); }
.loading { text-align: center; color: var(--muted); padding: 48px 0; font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px);
  background: var(--blue); color: #FFFFFF; border-radius: 999px; padding: 12px 20px;
  font-weight: 700; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  z-index: 60; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .toast, .btn, .faq summary .plus { transition: none; }
}

@media (min-width: 700px) {
  .claim { flex-direction: row; }
  .claim-field { flex: 1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-box { padding: 36px 40px; }
  .band .dots { width: 240px; height: 240px; right: -40px; top: -50px; }
}
@media (min-width: 960px) {
  .nav-desk { display: flex; }
  .menu-btn { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
