
:root {
  --orange: #c2491a;          /* text & buttons: AA contrast on white */
  --orange-dark: #a43d14;
  --orange-bright: #ec6830;   /* decorative only */
  --peach: #ffd7cd;
  --mint: #c3e1db;
  --mint-dark: #8dc8ae;
  --cream: #f6f1e4;
  --ink: #161616;
  --text: #2e2a2c;
  --muted: #6c7272;
  --line: #ebebeb;
  --card: #ffffff;
  --radius: 22px;
  --head: "Baloo Chettan 2", "Segoe UI", system-ui, sans-serif;
  --body: "Raleway", "Segoe UI", system-ui, sans-serif;
  --hand: "Amatic SC", cursive;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--body); color: var(--text); background: #fff;
  line-height: 1.55; font-size: 16px;
}
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin-top: 0; line-height: 1.15; font-weight: 800; }
h2 { font-size: 1.6rem; }
a { color: var(--orange); font-weight: 600; }
.hand { font-family: var(--hand); font-size: 1.7rem; color: var(--orange); letter-spacing: 1px; }

/* Header */
header.top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-size: 1.45rem; font-weight: 800; }
.logo .mark { width: 40px; height: 40px; }
.logo small { display: block; font-family: var(--body); font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: -4px; }
header.top nav a { margin-left: 22px; text-decoration: none; color: var(--ink); font-weight: 600; text-transform: uppercase; font-size: .85rem; letter-spacing: .5px; }
header.top nav a:hover { color: var(--orange); }

.container { max-width: 900px; margin: 0 auto; padding: 32px 18px 60px; }
.section { padding: 56px 18px; }
.section.cream { background: var(--cream); }
.section.mint { background: var(--mint); }
.section.peach { background: var(--peach); }
.section .inner { max-width: 1000px; margin: 0 auto; }

/* Wavy paint dividers */
.wave { display: block; width: 100%; height: 40px; }

.card {
  background: var(--card); border-radius: var(--radius); padding: 28px; margin-bottom: 22px;
  border: 2px solid var(--line);
}
.card.soft { border: none; box-shadow: 0 10px 30px rgba(22,22,22,.06); }

/* Hero */
.hero { background: var(--peach); text-align: center; padding: 70px 20px 40px; position: relative; overflow: hidden; }
.hero h1 { font-size: 3.2rem; margin: 6px 0 14px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: 1.15rem; color: var(--text); max-width: 580px; margin: 0 auto 28px; }
.blob { position: absolute; border-radius: 50%; opacity: .55; z-index: 0; }
.hero > *:not(.blob):not(.deco) { position: relative; z-index: 1; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { text-align: center; background: #fff; border-radius: var(--radius); padding: 28px 22px; }
.feature .icon {
  font-size: 2.2rem; width: 78px; height: 78px; line-height: 78px; border-radius: 50%;
  margin: 0 auto 12px; background: var(--cream);
}
.feature:nth-child(2) .icon { background: var(--peach); }
.feature:nth-child(3) .icon { background: var(--mint); }
.feature p { color: var(--muted); margin: 0; }

.faq h3 { font-size: 1.2rem; margin: 22px 0 6px; }
.faq p { color: var(--muted); margin: 0; }

/* Buttons */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  padding: 13px 26px; border-radius: 8px; font-family: var(--body); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .6px;
  background: var(--orange); color: #fff; transition: background .15s, transform .12s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn.secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: 11px 24px; }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: var(--cream); color: var(--ink); }
.btn.ghost:hover { background: var(--peach); }
.btn.small { padding: 8px 14px; font-size: .78rem; }
.btn.secondary.small { padding: 6px 12px; }
.btn.danger { background: #fff; color: #c92a2a; border: 2px solid #f1c0c0; }
.btn.danger:hover { background: #ffe3e3; }
.btn.mint { background: var(--mint-dark); color: var(--ink); }
.btn.mint:hover { background: #74b89a; }
.btn.whatsapp { background: #25d366; }
.btn.messenger { background: #0084ff; }

/* Forms */
label { display: block; font-weight: 700; margin: 16px 0 6px; font-size: .92rem; }
label .opt { font-weight: 500; color: var(--muted); }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 8px;
  font: inherit; background: #fafafa; transition: border-color .15s, background .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); background: #fff; }
textarea { min-height: 84px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pills label {
  margin: 0; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line);
  cursor: pointer; font-weight: 600; background: #fff;
}
.pills input { display: none; }
.pills label:has(input:checked) { border-color: var(--orange); background: var(--peach); }
.gift-row { display: flex; gap: 8px; margin-bottom: 8px; }
.gift-row input { flex: 1; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 18px; }

/* Invitation */
.invite-hero {
  text-align: center; border-radius: var(--radius); padding: 50px 22px 40px; margin-bottom: 22px;
  position: relative; overflow: hidden; color: var(--ink);
}
.invite-hero > * { position: relative; z-index: 1; }
.invite-hero h1 { font-size: 2.5rem; margin: 4px 0 6px; }
.invite-hero .age {
  display: inline-block; font-family: var(--head); font-size: 3.4rem; font-weight: 800;
  background: #fff; color: var(--orange); width: 104px; height: 104px; line-height: 112px;
  border-radius: 50%; margin: 10px 0 0; box-shadow: 0 8px 0 rgba(0,0,0,.08);
}
.invite-hero .emoji { font-size: 2.6rem; }
.theme-balloons { background: var(--peach); }
.theme-dino { background: var(--mint); }
.theme-space { background: #1f2a44; color: #fff; }
.theme-space h1, .theme-space .hand { color: #fff; }
.theme-unicorn { background: #f3dcf2; }
.theme-superhero { background: #ffe08a; }
.theme-ocean { background: #bfe6f2; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.detail { background: var(--cream); border-radius: 14px; padding: 16px; }
.detail .k { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.detail .v { font-weight: 700; margin-top: 4px; }
.callout { background: var(--mint); border-radius: 14px; padding: 16px 18px; margin-top: 16px; }
.callout.peach { background: var(--peach); }

.gift {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); margin-bottom: 10px;
}
.gift.taken { background: #f8f8f8; }
.gift.taken .gname { text-decoration: line-through; color: var(--muted); }
.gift .gname { font-weight: 700; }
.gift .meta { font-size: .85rem; color: var(--muted); }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge.yes { background: var(--mint); color: #1f6b4d; }
.badge.no { background: #ffe3e3; color: #c92a2a; }
.badge.maybe { background: #fff1c2; color: #946200; }
.badge.mine { background: var(--peach); color: var(--orange-dark); }

.share-box { display: flex; gap: 8px; }
.share-box input { flex: 1; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--cream); border-radius: 16px; padding: 18px; text-align: center; font-weight: 600; }
.stat:nth-child(2) { background: var(--peach); }
.stat:nth-child(3) { background: var(--mint); }
.stat .n { font-family: var(--head); font-size: 2.3rem; font-weight: 800; color: var(--orange); line-height: 1.1; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 8px; font-weight: 600;
  opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 100;
}
.toast.show { opacity: 1; }
.party-list .item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 10px; flex-wrap: wrap; }

footer.site { background: var(--ink); color: #ccc; padding: 36px 20px; text-align: center; font-size: .9rem; }
footer.site a { color: #fff; margin: 0 10px; font-weight: 500; }
footer.site .hand { color: var(--peach); }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  header.top { padding: 12px 16px; }
  header.top nav a { margin-left: 0; margin-right: 16px; }
  .gift-row { flex-wrap: wrap; }
  .gift-row input { flex: 1 1 100%; }
  .gift { flex-wrap: wrap; }
}

/* ---------- Doodle graphics ---------- */
.doodle { width: 46px; height: 46px; flex: none; }
.doodle.sm { width: 26px; height: 26px; }
.doodle.md { width: 64px; height: 64px; }
.doodle.lg { width: 96px; height: 96px; }
.doodle.xl { width: 130px; height: 130px; }
.ih { display: flex; align-items: center; gap: 12px; }
.clouds { display: block; width: 100%; height: 46px; margin-top: -1px; }
.bunting { display: block; width: 100%; max-width: 760px; margin: 0 auto; height: auto; }
.nav-cta { background: var(--orange); color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.nav-cta:hover { background: var(--orange-dark); }

/* Hero decorations */
.hero { padding-bottom: 70px; }
.deco { position: absolute; z-index: 0; pointer-events: none; }
.float { animation: float 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; }
.float.d3 { animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

.feature .pic { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 14px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; }
.feature:nth-child(2) .pic { background: var(--peach); }
.feature:nth-child(3) .pic { background: var(--mint); }
.feature .pic .doodle { width: 64px; height: 64px; }

/* FAQ accordion */
.acc { border-bottom: 2px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
/* +/– drawn as two bars (a font glyph never sits exactly in the middle of the circle) */
.acc summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background-color: var(--peach); color: var(--orange);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 12px 2.5px, 2.5px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .2s, background-color .2s;
}
.acc[open] summary::after { background-color: var(--orange); color: #fff; background-size: 12px 2.5px, 0 0; }
.acc summary:hover { color: var(--orange); }
.acc p { margin: 0 0 18px; color: var(--muted); max-width: 680px; }

/* Pills with doodles / swatches */
.pills label { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block; }
.pill-ico .doodle { width: 30px; height: 30px; }

/* Invite hero */
.invite-hero { padding: 0 22px 64px; }
.invite-hero .bunting { margin-bottom: 8px; }
.invite-hero .theme-ico { margin: 0 auto; }
.invite-hero .clouds { position: absolute; left: 0; bottom: 0; height: 40px; }
.invite-hero .deco.l { left: 4%; top: 70px; }
.invite-hero .deco.r { right: 4%; top: 90px; }
.detail { display: flex; gap: 12px; align-items: flex-start; }
.detail .doodle { width: 42px; height: 42px; }
.callout { display: flex; gap: 12px; align-items: center; }
.callout .doodle { width: 40px; height: 40px; }
.empty-pic { margin: 0 auto 8px; display: block; }

@media (max-width: 640px) {
  .deco { opacity: .35; transform: scale(.7); }
  .invite-hero .deco { display: none; }
  .doodle.xl { width: 96px; height: 96px; }
}

/* Envite logo */
.logo .mark { width: 54px; height: 54px; }
.wordmark { font-family: var(--head); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.5px; display: inline-block; }
.wordmark span { display: inline-block; transform: rotate(var(--r)); }
.logo:hover .wordmark span { animation: wiggle .5s ease-in-out; }
@keyframes wiggle { 50% { transform: rotate(calc(var(--r) * -1)) translateY(-3px); } }
.logo small { margin-top: 2px; }
footer.site .mark { width: 70px; height: 70px; }
.details { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
input[name="eircode"]::placeholder { text-transform: none; }

/* Light pastel footer */
footer.site { background: var(--mint); color: var(--text); margin-top: -2px; position: relative; }
footer.site a { color: var(--ink); }
footer.site a:hover { color: var(--orange); }
footer.site .hand { color: var(--orange); }
footer.site p:last-child { color: var(--muted); margin-bottom: 0; }
.clouds { position: relative; z-index: 1; margin-bottom: -1px; }
footer.site .wordmark span:nth-child(2), footer.site .wordmark span:nth-child(5) { color: #fff !important; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 30px 22px 26px;
  margin: 0; font-weight: 500; cursor: default; transition: border-color .15s, transform .15s;
}
.plan.popular { border-color: var(--orange); background: #fffaf7; }
.plan:hover { transform: translateY(-3px); }
.plan h3 { margin: 6px 0 2px; font-size: 1.4rem; }
.plan-kids { font-weight: 700; color: var(--orange); }
.plan-price { font-family: var(--head); font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; margin-top: 12px; }
.plan-price span { font-size: 1.6rem; vertical-align: top; margin-right: 2px; }
.plan-per { font-size: .85rem; margin-bottom: 10px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 20px; text-align: left; flex: 1; }
.plan li { padding: 5px 0 5px 26px; position: relative; font-size: .92rem; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--mint-dark); border-bottom: 2.5px solid var(--mint-dark); transform: rotate(-45deg);
}
.plan-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
/* selectable plans in create form */
label.plan { cursor: pointer; }
label.plan input { display: none; }
label.plan ul { display: none; }
label.plan:has(input:checked) { border-color: var(--orange); background: var(--peach); }
label.plan:has(input:checked)::after {
  content: "Selected"; position: absolute; bottom: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.plan-alert { background: #fff1c2; border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.plan-alert .grow { flex: 1; min-width: 200px; }
label.plan.popular:not(:has(input:checked)) { border-color: var(--line); background: #fff; }


/* ---------- Create: boy/girl, colours, live preview ---------- */
.create-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.container:has(.create-layout) { max-width: 1180px; }
.preview-col { position: sticky; top: 96px; }
.preview-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--muted); margin-bottom: 8px; text-align: center; }
.preview {
  position: relative; overflow: hidden; text-align: center; background: var(--c-base);
  border-radius: 24px; padding: 0 16px 52px; box-shadow: 0 16px 34px -20px var(--c-deep); transition: background .25s;
}
.preview > * { position: relative; z-index: 1; }
.preview .pv-ico { width: 70px; height: 70px; display: block; margin: 0 auto; }
.preview .hand { color: var(--c-deep); font-size: 1.4rem; }
.preview .pv-title { font-family: var(--head); font-weight: 800; font-size: 1.45rem; line-height: 1.15; color: var(--ink); margin: 2px 0 6px; }
.preview .pv-turn { color: var(--c-deep); font-weight: 700; font-size: .9rem; }
.preview .pv-turn b { display: inline-block; background: #fff; color: var(--c-accent); border-radius: 50%; width: 34px; height: 34px; line-height: 36px; font-family: var(--head); font-size: 1.2rem; margin-left: 4px; }
.preview .pv-btn { display: inline-block; margin-top: 12px; background: var(--c-accent); color: #fff; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; padding: 9px 18px; border-radius: 999px; }
.preview .clouds { position: absolute; left: 0; bottom: 0; height: 30px; }

.kid-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kid { position: relative; margin: 0; cursor: pointer; border: 2px solid var(--line); border-radius: 18px; padding: 14px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; background: #fff; transition: all .15s; }
.kid input { position: absolute; opacity: 0; pointer-events: none; }
.kid:hover { border-color: var(--peach); }
.kid:has(input:checked) { border-color: var(--orange); background: var(--peach); }
.kid .doodle { width: 56px; height: 56px; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { margin: 0; cursor: pointer; }
.sw input { display: none; }
.sw span {
  display: block; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--sw) 60%, var(--sw2) 60%); transition: transform .12s;
}
.sw:hover span { transform: scale(1.08); }
.sw:has(input:checked) span { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); }

@media (max-width: 900px) {
  .create-layout { grid-template-columns: 1fr; }
  .preview-col { position: static; order: -1; max-width: 380px; margin: 0 auto; width: 100%; }
}

/* Locked (over-plan) replies */
.blur { filter: blur(5px); user-select: none; }
.locked-row td { background: #fffaf2; }
.lock-ico { display: inline-block; vertical-align: middle; margin-right: 6px; }
.badge .doodle.sm { width: 16px; height: 16px; vertical-align: -3px; }
.unlock-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--peach); }
.unlock-strip .doodle { width: 36px; height: 36px; }
.unlock-strip .grow { flex: 1; min-width: 180px; }

/* Full invite preview popup */
.preview { cursor: pointer; }
.preview:hover { transform: translateY(-2px); transition: transform .15s; }
.preview .pv-btn { box-shadow: 0 0 0 0 var(--c-accent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.pv-modal { position: fixed; inset: 0; z-index: 200; background: rgba(22,22,22,.55); display: none;
  align-items: center; justify-content: center; padding: 20px; }
.pv-modal.open { display: flex; }
.pv-shell { width: 100%; max-width: 820px; height: min(92vh, 1000px); background: #fff; border-radius: 22px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: pvIn .2s ease-out; }
@keyframes pvIn { from { transform: scale(.96); opacity: 0; } }
.pv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.pv-x { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--cream); cursor: pointer; font-size: 1rem; }
.pv-x:hover { background: var(--peach); }
.pv-shell iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 640px) { .pv-modal { padding: 0; } .pv-shell { height: 100vh; border-radius: 0; } .pv-top .muted { display: none; } }

.share-note { display: flex; gap: 14px; align-items: flex-start; background: var(--cream); border-radius: 16px;
  padding: 16px 18px; font-size: .92rem; line-height: 1.55; margin-top: 16px; text-align: left; }
.share-note .doodle { width: 40px; height: 40px; }
#pricingNote .share-note, #planNote .share-note { margin-top: 40px; width: 100%; padding: 20px 24px; }

.guest-sees { margin-top: 16px; background: #fff; border: 2px dashed var(--line); border-radius: 16px; padding: 14px 16px; font-size: .88rem; }
.guest-sees ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.guest-sees li { margin: 3px 0; }

/* Live preview: tabs + mini phone */
.pv-tabs { display: flex; gap: 4px; background: var(--cream); padding: 4px; border-radius: 999px; margin-bottom: 12px; }
.pv-tabs button { flex: 1; border: none; background: transparent; padding: 8px 6px; border-radius: 999px; cursor: pointer;
  font: 700 .74rem var(--body); color: var(--muted); white-space: nowrap; }
.pv-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.pv-phone { width: 312px; height: 560px; margin: 0 auto; border: 8px solid var(--ink); border-radius: 38px; overflow: hidden;
  background: #fff; position: relative; box-shadow: 0 18px 40px -18px rgba(0,0,0,.4); }
.pv-phone::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 70px; height: 6px;
  border-radius: 6px; background: var(--ink); z-index: 2; opacity: .85; }
.pv-phone iframe { width: 390px; height: 717px; border: 0; transform: scale(.759); transform-origin: 0 0; display: block; }
.pv-link { display: block; margin: 6px auto 0; background: none; border: none; color: var(--orange); font: 700 .85rem var(--body); cursor: pointer; text-decoration: underline; }
@media (max-width: 900px) { .preview-col { max-width: 340px; } }

.preview-col.card { padding: 22px 18px; margin-bottom: 0; }
.preview-col.card .pv-link { margin-top: 12px; }

/* Flat pastel swatches (no two-tone / gloss) */
.swatches { gap: 10px; }
.sw span { width: 40px; height: 40px; background: var(--sw); border: 2px solid rgba(22,22,22,.12); box-shadow: none; }
.sw:has(input:checked) span { border-color: #fff; box-shadow: 0 0 0 2px var(--ink); }
/* Preview column wide enough for the phone + card padding */
.create-layout { grid-template-columns: 1fr 360px; }
.preview-col.card { padding: 22px 20px; }
@media (max-width: 900px) { .create-layout { grid-template-columns: 1fr; } .preview-col { max-width: 380px; } }
/* Plan picker in create form: always one row of three */
#planPicker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#planPicker .plan { padding: 26px 12px 22px; }
#planPicker .plan h3 { font-size: 1.2rem; }
#planPicker .plan-price { font-size: 2.4rem; }
#planPicker .plan-kids { font-size: .88rem; }
@media (max-width: 640px) { #planPicker { grid-template-columns: 1fr; } }

.acct { display: flex; justify-content: flex-end; gap: 14px; align-items: center; font-size: .85rem; margin-bottom: 10px; flex-wrap: wrap; }

.notice-bad { background: #ffe3e3; color: #a12626; border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin: 0 0 12px; text-align: left; }
.hostlink { background: var(--cream); border-radius: 16px; padding: 16px 18px; margin-top: 16px; }
.hostlink .share-box { margin-top: 8px; }

/* =====================================================================
   Mobile / iPhone pass
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, svg { max-width: 100%; }
input, textarea, select { font-size: 16px; }              /* stops iOS zooming into fields */
input[type="date"], input[type="time"] {
  -webkit-appearance: none; appearance: none; display: block; min-height: 48px; line-height: 1.2;
}
input[type="date"]::-webkit-date-and-time-value, input[type="time"]::-webkit-date-and-time-value { text-align: left; }
button, .btn, label, summary { -webkit-tap-highlight-color: transparent; }
.btn { touch-action: manipulation; }

.burger { display: none; width: 44px; height: 44px; border: none; background: var(--cream); border-radius: 12px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.share-more { margin-top: 14px; }
.share-more summary { cursor: pointer; font-weight: 700; color: var(--orange); list-style: none; }
.share-more summary::-webkit-details-marker { display: none; }
.share-more summary::before { content: "+ "; }
.share-more[open] summary::before { content: "– "; }
.mylink { margin-top: 16px; background: var(--cream); border-radius: 14px; padding: 12px 14px; font-size: .88rem; }
.gift-row.claimed input.g-name { border-color: var(--mint-dark); }
.claimed-tag { align-self: center; font-size: .72rem; font-weight: 700; background: var(--mint); color: #1f6b4d; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pv-fab { display: none; }

@media (max-width: 760px) {
  header.top { position: sticky; flex-wrap: nowrap; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  .logo .mark { width: 42px; height: 42px; }
  .logo .wordmark { font-size: 1.6rem; }
  .logo small { display: none; }
  .burger { display: flex; }
  header.top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 6px 18px 18px; box-shadow: 0 14px 24px -12px rgba(0,0,0,.18); border-bottom: 1px solid var(--line); }
  header.top nav.open { display: flex; }
  header.top nav a { margin: 0; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  header.top nav a.nav-cta { border: none; text-align: center; margin-top: 12px; padding: 14px; }

  .container { padding: 20px 16px 48px; }
  .section { padding: 36px 16px; }
  .card { padding: 20px 16px; border-radius: 18px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.35rem; }
  .ih .doodle { width: 38px; height: 38px; }
  .hand { font-size: 1.45rem; }

  .hero { padding: 40px 18px 64px; }
  .hero .deco { display: none; }
  .hero h1 { font-size: 2.15rem; }
  .hero p.lead { font-size: 1.02rem; }
  .hero .btn { display: block; width: 100%; max-width: 340px; margin: 0 auto 12px; }

  .features { gap: 12px; }
  .feature { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; text-align: left; padding: 16px; align-items: center; }
  .feature .pic { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .feature .pic .doodle { width: 40px; height: 40px; }
  .feature h3 { margin: 0; font-size: 1.05rem; }
  .feature p { font-size: .9rem; }

  .plans { gap: 22px; }
  .acc summary { font-size: 1.05rem; padding: 16px 42px 16px 0; }

  .gift-row { flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
  .gift-row input { flex: 1 1 100%; }
  .pills label { padding: 9px 13px; }
  .kid-pick { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kid { padding: 10px; font-size: .92rem; gap: 8px; flex-direction: column; text-align: center; }
  .kid .doodle { width: 46px; height: 46px; }
  .swatches { gap: 9px; }
  .sw span { width: 38px; height: 38px; }

  /* create page: the phone preview becomes a floating button that opens the full preview */
  .preview-col { display: none; }
  .pv-fab { display: block; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
    background: var(--ink); color: #fff; border: none; border-radius: 999px; padding: 14px 20px; font: 700 .85rem var(--body);
    text-transform: uppercase; letter-spacing: .5px; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
  .pv-shell { height: 100dvh; max-height: 100dvh; }
  .pv-top { padding-top: max(12px, env(safe-area-inset-top)); }

  /* dashboard: reply table becomes cards */
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px 10px; }
  .stat .n { font-size: 1.9rem; }
  .stat:last-child { grid-column: span 2; }
  .card table, .card tbody, .card tr, .card td { display: block; width: 100%; }
  .card table tr:first-child { display: none; }
  .card table tr { border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; position: relative; }
  .card table td { border: none; padding: 3px 0; }
  .card table td[data-label]:not([data-label="Name"])::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; font-weight: 600; }
  .card table td:empty { display: none; }
  .card table td:last-child { position: absolute; top: 8px; right: 8px; width: auto; }
  .share-box { flex-wrap: wrap; }
  .share-box input { flex: 1 1 100%; }
  .share-box .btn { flex: 1; }
  .plan-alert { flex-direction: column; align-items: flex-start; }
  .gift { flex-direction: column; align-items: flex-start; }
  .acct { justify-content: space-between; }
  footer.site { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 1.85rem; }
  .kid-pick { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat:last-child { grid-column: auto; }
}
/* mobile: share note icon sits above the text */
@media (max-width: 760px) {
  .share-note { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .share-note .doodle { width: 44px; height: 44px; }
}

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.08rem; margin: 18px 0 6px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 20px; }
.legal li { margin: 5px 0; }
.toc { margin: 18px 0 8px; }
.toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2; column-gap: 28px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 10px 0 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.legal-table th { background: var(--cream); text-transform: none; font-size: .85rem; color: var(--ink); letter-spacing: 0; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
@media (max-width: 760px) {
  .toc ol { columns: 1; }
  .legal .legal-table, .legal .legal-table tr, .legal .legal-table td { display: table; }
  .legal-table { display: table !important; }
  .legal-table tr { display: table-row !important; border: none; padding: 0; margin: 0; position: static; }
  .legal-table td, .legal-table th { display: table-cell !important; position: static !important; padding: 8px; font-size: .85rem; }
  .legal-table tr:first-child { display: table-row !important; }
  .legal-table td::before { content: none !important; }
}

/* contrast (WCAG AA) */
:root { --muted: #5a6060; }
.hero .hand, .section .hand, footer.site .hand { color: var(--orange-dark); }
footer.site, footer.site p:last-child { color: #2e3434; }

/* smooth in-page scrolling, sections land below the sticky header */
html { scroll-behavior: smooth; }
#how, #pricing, #faq { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* reveal on scroll (only when JS enabled it; content is visible without JS) */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
.hero .deco { will-change: translate; }
/* FAQ: the +/– turns smoothly */
.acc summary::after { transition: transform .3s ease, background-color .25s, background-size .25s, color .25s; }
.acc[open]:not(.closing) summary::after { transform: translateY(-50%) rotate(180deg); }
#faq > .center.mt { margin-top: 44px; }  /* space between the FAQ and the "Create your invite" button */

/* ---------- hero with invitation illustration ---------- */
.hero-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; text-align: left; }
.hero-copy .lead { margin-left: 0; }
.hero-copy .btn { margin: 0 8px 8px 0; }
.hero-art { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
.hero .deco[style*="right"] { display: none; }      /* the illustration takes the right side */

.mock { position: relative; width: 300px; }
.mock-phone { width: 270px; margin: 0 auto; border: 9px solid var(--ink); border-radius: 40px; background: #fff; overflow: hidden;
  box-shadow: 0 30px 60px -26px rgba(22,22,22,.45); transform: rotate(-3deg); animation: mockIn .9s cubic-bezier(.2,.7,.2,1) both; }
.mock-screen { background: var(--c-soft); padding: 8px 8px 12px; font-size: 11px; }
.mock-hero { position: relative; overflow: hidden; text-align: center; background: var(--c-base); border-radius: 22px; padding: 0 10px 34px; }
.mock-hero .bunting { margin-bottom: 0; }
.mock-hero .mock-ico { width: 44px; height: 44px; display: block; margin: 2px auto 0; }
.mock-hand { font-family: var(--hand); color: var(--c-deep); font-size: 1.15rem; line-height: 1; }
.mock-title { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1.05rem; line-height: 1.15; margin: 3px 0 4px; }
.mock-turn { color: var(--c-deep); font-weight: 700; font-size: .66rem; }
.mock-turn b { display: inline-block; width: 22px; height: 22px; line-height: 23px; border-radius: 50%; background: #fff; color: var(--c-accent); font-family: var(--head); font-size: .85rem; }
.mock-chips { display: flex; gap: 4px; justify-content: center; margin: 6px 0; }
.mock-chips span { background: rgba(255,255,255,.85); border-radius: 999px; padding: 3px 7px; font-weight: 600; font-size: .6rem; display: inline-flex; align-items: center; gap: 3px; color: var(--ink); }
.mock-chips .doodle { width: 12px; height: 12px; }
.mock-btn { display: inline-block; background: var(--c-accent); color: #fff; border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .6rem; letter-spacing: .4px; text-transform: uppercase; }
.mock-hero .clouds { position: absolute; left: 0; bottom: 0; height: 18px; }
.mock-card { background: #fff; border-radius: 14px; padding: 8px 9px; margin-top: 7px; box-shadow: 0 3px 10px -6px rgba(0,0,0,.2); color: var(--ink); }
.mock-k { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: .74rem; margin-bottom: 5px; }
.mock-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mock-choices span { border: 1.5px solid #ebebeb; border-radius: 9px; padding: 4px 2px; text-align: center; font-weight: 700; font-size: .58rem; }
.mock-choices span.on { border-color: var(--c-accent); background: var(--c-soft); }
.mock-choices .doodle { width: 18px; height: 18px; display: block; margin: 0 auto 1px; }
.mock-gift { display: flex; align-items: center; gap: 6px; border: 1.5px solid #ebebeb; border-radius: 9px; padding: 4px 6px; margin-top: 4px; font-weight: 600; font-size: .62rem; }
.mock-gift .doodle { width: 16px; height: 16px; }
.mock-gift span { flex: 1; }
.mock-gift i { font-style: normal; font-size: .54rem; font-weight: 700; background: var(--c-accent); color: #fff; padding: 2px 7px; border-radius: 999px; }
.mock-gift i.taken { background: #eee; color: #5a6060; }

.mock-bubble { position: absolute; display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 14px; padding: 8px 12px 8px 8px;
  box-shadow: 0 14px 30px -14px rgba(22,22,22,.35); font-size: .78rem; line-height: 1.25; white-space: nowrap; color: var(--text); text-align: left;
  animation: bubbleIn .7s cubic-bezier(.2,.7,.2,1) both, bob 6s ease-in-out infinite; }
.mock-bubble .doodle { width: 30px; height: 30px; }
.mock-bubble small { color: var(--muted); }
.mock-bubble.b1 { left: -86px; top: 92px; animation-delay: .5s, .5s; }
.mock-bubble.b2 { right: -92px; top: 250px; animation-delay: .8s, 1.8s; }
.mock-bubble.b3 { left: -64px; bottom: 34px; animation-delay: 1.1s, 3s; }
@keyframes mockIn { from { opacity: 0; transform: translateY(24px) rotate(-3deg); } }
@keyframes bubbleIn { from { opacity: 0; translate: 0 14px; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .mock-phone, .mock-bubble { animation: none; } }

@media (max-width: 1000px) {
  .mock-bubble.b1 { left: -40px; } .mock-bubble.b2 { right: -40px; } .mock-bubble.b3 { left: -24px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero-copy .lead { margin-left: auto; }
  .hero-art { min-height: 0; padding-bottom: 10px; }
  .mock { transform: scale(.92); transform-origin: top center; margin-bottom: -36px; }
  .mock-bubble { font-size: .72rem; }
  .mock-bubble.b1 { left: -18px; top: 70px; } .mock-bubble.b2 { right: -22px; top: 230px; } .mock-bubble.b3 { left: -10px; bottom: 20px; }
}
@media (max-width: 360px) { .mock { transform: scale(.82); } .mock-bubble.b2 { right: -6px; } }

/* "Made with envite" stacked on three lines */
.made { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.made .wordmark { font-size: 1.6rem; }

/* hero: the illustration replaces the floating doodles on wide screens; bubbles sit beside the phone */
@media (min-width: 861px) {
  .hero .deco { display: none; }
  .mock-bubble.b1 { left: -170px; top: 70px; }
  .mock-bubble.b2 { right: -150px; top: 290px; }
  .mock-bubble.b3 { left: -150px; bottom: 60px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .mock-bubble.b1 { left: -120px; } .mock-bubble.b2 { right: -90px; } .mock-bubble.b3 { left: -110px; }
}
@media (max-width: 860px) {
  .mock-bubble.b1 { left: -14px; top: -16px; }
  .mock-bubble.b2 { right: -14px; top: auto; bottom: 46px; }
  .mock-bubble.b3 { display: none; }
}
@media (max-width: 860px) { .mock-bubble.b2 { bottom: -6px; } }

/* ---------- How It Works: steps + host dashboard illustration ---------- */
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; max-width: 1120px; }
.how-copy h2, .how-copy > p { text-align: left !important; }
.how-copy .features { grid-template-columns: 1fr; gap: 12px; }
.how-copy .feature { display: grid; grid-template-columns: 72px 1fr; gap: 4px 16px; text-align: left; padding: 16px 18px; align-items: center; }
.how-copy .feature .pic { width: 72px; height: 72px; margin: 0; grid-row: span 2; }
.how-copy .feature .pic .doodle { width: 44px; height: 44px; }
.how-copy .feature h3 { margin: 0; }
.how-art { position: relative; padding: 20px 10px 30px; }

.hd { position: relative; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -28px rgba(22,22,22,.4);
  border: 1px solid var(--line); font-size: 12px; color: var(--text); transform: rotate(1.5deg); }
.hd-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #faf8f4; border-radius: 18px 18px 0 0; }
.hd-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3dccc; }
.hd-bar i:first-child { background: #f4a38a; } .hd-bar i:nth-child(2) { background: #f6d58a; } .hd-bar i:nth-child(3) { background: #a9d8c6; }
.hd-bar span { margin-left: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 11px; color: var(--muted); }
.hd-body { padding: 16px 18px 18px; }
.hd-eyebrow { font-family: var(--hand); color: var(--orange-dark); font-size: 1.15rem; line-height: 1; }
.hd-title { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1.1rem; margin: 2px 0 10px; }
.hd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 10px; }
.hd-stats div { background: var(--cream); border-radius: 12px; padding: 8px 6px; text-align: center; }
.hd-stats div:nth-child(2) { background: var(--peach); } .hd-stats div:nth-child(3) { background: var(--mint); }
.hd-stats b { display: block; font-family: var(--head); font-weight: 800; color: var(--orange-dark); font-size: 1.35rem; line-height: 1.1; }
.hd-stats span { font-size: 10px; font-weight: 600; }
.hd-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 11px; margin-top: 8px; }
.hd-notes { background: var(--peach); border-color: transparent; }
.hd-notes div:not(.hd-k) { font-size: 11px; margin: 2px 0; }
.hd-k { display: flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 800; color: var(--ink); font-size: .85rem; margin-bottom: 4px; }
.hd-k .doodle { width: 20px; height: 20px; }
.hd-row { display: grid; grid-template-columns: 1.3fr .7fr .4fr 1.2fr; gap: 6px; align-items: center; padding: 5px 0; border-top: 1px solid #f1f1f1; font-size: 11px; }
.hd-row.hd-head { border-top: none; color: var(--muted); font-weight: 700; font-size: 9.5px; text-transform: uppercase; letter-spacing: .4px; }
.hd-name { font-weight: 700; color: var(--ink); }
.hd-badge { font-style: normal; font-weight: 700; font-size: 10px; border-radius: 999px; padding: 2px 8px; justify-self: start; }
.hd-badge.yes { background: var(--mint); color: #1f6b4d; } .hd-badge.maybe { background: #fff1c2; color: #7a5200; } .hd-badge.no { background: #ffe3e3; color: #a12626; }
.hd-kids { text-align: center; }
.hd-gift { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hd-float { position: absolute; display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 14px; padding: 8px 12px 8px 8px;
  box-shadow: 0 14px 30px -14px rgba(22,22,22,.35); font-size: .78rem; line-height: 1.25; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.hd-float .doodle { width: 30px; height: 30px; }
.hd-float small { color: var(--muted); }
.hd-float.f1 { left: -30px; top: -4px; }
.hd-float.f2 { right: -16px; bottom: 6px; animation-delay: -3s; }
@media (prefers-reduced-motion: reduce) { .hd-float { animation: none; } }

@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; gap: 38px; }
  .how-copy h2, .how-copy > p { text-align: center !important; }
  .how-art { padding: 26px 0 30px; }
  .hd { transform: none; font-size: 11px; }
  .hd-stats { grid-template-columns: repeat(2, 1fr); }
  .hd-row { grid-template-columns: 1.4fr .8fr .4fr; }
  .hd-row .hd-gift { display: none; }
  .hd-float.f1 { left: -6px; top: 2px; } .hd-float.f2 { right: -6px; bottom: 8px; }
}
@media (max-width: 860px) { .hd-float.f2 { bottom: -18px; } }

/* mobile: show the live preview (tabs + phone) below the form instead of a floating button */
@media (max-width: 760px) {
  .preview-col { display: block; position: static; max-width: 380px; width: 100%; margin: 6px auto 0; }
  .pv-fab { display: none !important; }
}
@media (max-width: 380px) {
  .preview-col.card { padding: 18px 10px; }
  .pv-phone { transform: scale(.92); transform-origin: top center; margin-bottom: -44px; }
}
@media (max-width: 860px) { .hd-float.f1 { left: auto; right: -6px; top: -22px; } .hd-float.f2 { right: auto; left: -6px; } }

/* RSVP allergies: fixed tick-box chips (no free text) */
.allergy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.achip { position: relative; margin: 0; font-weight: 600; font-size: .92rem; cursor: pointer; }
.achip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.achip span { display: inline-block; padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff;
  transition: background-color .15s, border-color .15s, color .15s; }
.achip input:checked + span { background: var(--c-soft, var(--peach)); border-color: var(--c-accent, var(--orange)); color: var(--c-deep, var(--orange-dark)); }
.achip input:focus-visible + span { outline: 3px solid var(--c-accent, var(--orange)); outline-offset: 2px; }
.achip.wide span { white-space: normal; }

/* admin: re-enter 2FA code before sensitive actions */
.mfa-dialog { border: none; max-width: 380px; width: calc(100% - 32px); text-align: center; }
.mfa-dialog::backdrop { background: rgba(22,22,22,.45); }
