/* Cosmea. The bloom is the player: an eight-petal cosmos whose petals follow the voice
   and whose pollen disc is the play button. Maroon fields, paper, pollen for action. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --paper: #F6F1E7; --paper-2: #EDE5D6; --ink: #1B1A17; --bloom: #6E1423; --bloom-dark: #4F0E19; --pollen: #F2B705;
  --stem: #4F6350; --muted: #5E5A52; --line: #D8CFBD; --alert: #A23B1E;
  --rose: #EDB9C2; --rose-2: #F6D8DC; --rose-vein: #B8647A;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gap: clamp(72px, 10vw, 136px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--display); font-weight: 500; font-variation-settings: "SOFT" 80; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3, .h3 { font: 600 1.375rem/1.2 var(--text); letter-spacing: -.01em; }
p { max-width: 62ch; text-wrap: pretty; }
a { color: var(--bloom); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--bloom); outline-offset: 3px; border-radius: 6px; }
.home .hero :focus-visible, .never :focus-visible, .end :focus-visible, .footer :focus-visible, .bar--dark :focus-visible { outline-color: var(--pollen); }
[tabindex="-1"]:focus { outline: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.lede { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.35; }
.muted { color: var(--muted); font-size: 1rem; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.skip { position: absolute; left: 16px; top: -80px; background: var(--pollen); color: var(--ink); padding: 12px 18px; border-radius: 6px; z-index: 20; }
.skip:focus { top: 12px; }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border: 2px solid var(--bloom); border-radius: 6px; background: var(--bloom); color: #fff; font: 600 1.0625rem/1.2 var(--text); text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; overflow-wrap: anywhere; }
.btn:hover { background: var(--bloom-dark); border-color: var(--bloom-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { background: #DDD3C2; border-color: #DDD3C2; color: #5E5A52; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--bloom); }
.btn--ghost:hover { background: var(--bloom); border-color: var(--bloom); color: #fff; }
.btn--ghost[disabled] { background: transparent; border-color: #C9BEA9; color: #6A655B; }
.btn--pollen { background: var(--pollen); border-color: var(--pollen); color: var(--ink); }
.btn--pollen:hover { background: #FFCB2E; border-color: #FFCB2E; }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.btn--wide { width: 100%; }
.link { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; color: var(--bloom); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.field { display: block; }
.field > span, .inline--code > label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
input, select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #8C8371; border-radius: 6px; background: #FFFDF8; color: var(--ink); font: 400 1.0625rem/1.2 var(--text); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231B1A17' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--alert); border-width: 2px; }
input[type="checkbox"] { width: 24px; height: 24px; min-height: 0; accent-color: var(--bloom); flex: none; }
.err { color: var(--alert); font-size: 1rem; font-weight: 600; }
.err:empty { display: none; }
.err--info { color: var(--ink); font-weight: 400; flex-basis: 100%; }
.form { display: grid; gap: 14px; }
.form .err { margin-top: -8px; }
.form .err[data-err="form"] { margin-top: 0; }
.consent { font-size: 1rem; color: var(--muted); }
.disclosure { font-size: 1.0625rem; line-height: 1.5; }
.inline { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.inline > input:not(.hp) { flex: 1 1 220px; width: auto; min-width: 0; }
.inline > .err { flex-basis: 100%; }
.inline--code > label { flex-basis: 100%; margin: 0; }
.done { font-weight: 600; font-size: 1.25rem; }

/* Header and footer */
.bar { display: flex; align-items: center; gap: 28px; width: min(1240px, 100% - 40px); margin-inline: auto; min-height: 84px; }
.logo { flex: none; padding: 8px 0; }
.logo img { width: 126px; height: auto; }
.nav { display: none; margin-left: auto; gap: 28px; }
.nav a { color: inherit; text-decoration: none; padding: 10px 0; font-size: 1.0625rem; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.bar > .btn { margin-left: auto; }
.menu { position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; align-content: center; gap: 8px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { height: 2px; background: currentColor; border-radius: 2px; }
.menu__panel { position: absolute; right: 0; top: 52px; width: min(280px, 80vw); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 10px 20px; z-index: 10; box-shadow: 0 12px 40px rgb(40 8 14 / .28); display: grid; }
.menu__panel a { color: var(--ink); text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--line); }
.menu__panel a:last-child { border: 0; }
@media (max-width: 959px) { .bar { gap: 12px; min-height: 72px; } }
@media (min-width: 960px) { .nav { display: flex; } .bar > .btn { margin-left: 0; } .menu { display: none; } }
.home { background: var(--paper); }
.home > .bar--dark { position: absolute; left: 0; right: 0; color: var(--paper); z-index: 5; }
.home .bar--dark .btn--small { background: transparent; border-color: var(--rose); color: var(--paper); }
.home .bar--dark .btn--small:hover { background: var(--paper); border-color: var(--paper); color: var(--bloom); }
.footer { background: var(--bloom-dark); color: var(--rose-2); padding: 72px 0 56px; }
.foot { display: grid; gap: 20px; }
.foot__mark { width: 168px; margin-bottom: 12px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.foot__links a { color: var(--paper); padding: 10px 0; }
.foot__line { font-size: 1rem; max-width: none; }
.previewbar select { width: auto; max-width: 100%; min-height: 44px; margin-top: 6px; }
.previewbar { background: var(--pollen); color: var(--ink); font: 500 1rem/1.3 var(--mono); padding: 10px 20px; text-align: center; position: sticky; top: 0; z-index: 30; }

/* Bloom */
.bloom { display: block; width: 100%; height: auto; overflow: visible; }
.bloom__shape { fill: var(--petal, var(--bloom)); }
.bloom__petal--alt .bloom__shape { fill: var(--petal-alt, #84203A); }
.bloom__veins { fill: none; stroke: var(--vein, #4F0E19); stroke-width: 1.1; stroke-linecap: round; opacity: .45; }
.bloom__disc { fill: var(--pollen); }
.bloom__florets { fill: #B8860B; }
.bloom__play, .bloom__pause { fill: var(--ink); }
.bloom__pause { display: none; }
.is-playing .bloom__pause { display: block; }
.is-playing .bloom__play { display: none; }
.bloom__track { fill: none; stroke: var(--track, #D8CFBD); stroke-width: 2; }
.bloom__arc { fill: none; stroke: var(--arc, var(--bloom)); stroke-width: 4.5; stroke-linecap: round; }
.player { display: grid; justify-items: center; gap: 8px; }
.bloombtn { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; display: block; color: inherit; transition: transform .3s var(--ease); }
.bloombtn:hover { transform: rotate(6deg); }
.bloombtn:active { transform: scale(.985); }
.bloombtn:focus-visible { border-radius: 50%; outline-width: 4px; }
.bloombtn .bloom__play, .bloombtn .bloom__pause { transform: scale(1.05); }
.bloombtn .bloom__florets { opacity: .55; }
.bloombtn .bloom__disc { r: 25; }
.bloomtime:empty { display: none; }
.bloomtime { font: 500 1rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.bloommsg { font-size: 1rem; text-align: center; }
.bloommsg:empty { display: none; }

/* Home */
.hero { background: var(--bloom); color: var(--paper); overflow: hidden; --petal: #EDB9C2; --petal-alt: #F6D3D8; --vein: #B8647A; --track: rgb(246 216 220 / .22); --arc: var(--pollen); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 112px 0 64px; }
.hero h1 { font-size: clamp(2.75rem, 5.6vw, 5rem); }
.hero__text { display: grid; gap: 24px; align-content: center; }
.hero .lede { color: #fff; }
.hero__kicker { font-size: 1.125rem; color: var(--rose); }
.hero .disclosure, .end .disclosure { color: var(--rose-2); }
.hero a:not(.btn), .end a:not(.btn) { color: var(--paper); }
.hero .btn[type="submit"], .end .btn[type="submit"] { background: var(--pollen); border-color: var(--pollen); color: var(--ink); }
.hero .btn[type="submit"]:hover, .end .btn[type="submit"]:hover { background: #FFCB2E; border-color: #FFCB2E; }
.hero .err, .end .err { color: #FFD9A8; }
.hero .done, .end .done { color: #fff; }
.hero__flower { text-align: center; display: grid; justify-items: center; gap: 6px; }
.player--hero { width: min(400px, 100%); }
.player--hero .bloom__track { stroke-width: 1; }
.player--hero .bloom__arc { stroke-width: 2.5; }
.hero__label { font: 500 1rem/1.4 var(--mono); color: var(--pollen); }
.player--hero .bloomtime { display: none; }
.hero__caption { min-height: 4.4em; max-width: 34ch; font-size: 1.0625rem; line-height: 1.4; color: var(--rose-2); }
.hero__caption.is-live { color: #fff; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; padding: 128px 0 72px; min-height: min(860px, 100svh); }
  .hero__flower { position: relative; align-content: center; justify-items: start; }
  .player--hero { width: min(700px, 54vw); margin: -40px -140px -20px -10px; }
  .hero__label, .hero__caption { justify-self: center; }
  .hero__caption { min-height: 3em; max-width: 46ch; }
}
.what { padding: var(--gap) 0 0; }
.what__grid, .hear__grid, .never__grid, .price__grid, .qs__grid, .about__grid { display: grid; gap: 32px; }
.what__grid > div { display: grid; gap: 16px; font-size: 1.25rem; line-height: 1.5; }
.hear { padding: var(--gap) 0; }
.hear__intro { display: grid; gap: 24px; justify-items: start; align-content: start; }
.log { display: grid; background: #FFFDF8; border-radius: 20px; padding: 10px 24px; border: 1px solid var(--line); }
.log__row { display: grid; grid-template-columns: 3.2em 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.log__row:last-child { border: 0; }
.log__t { font: 500 1rem/1.6 var(--mono); color: var(--muted); grid-row: span 2; }
.log__who { font-weight: 600; font-size: 1rem; color: var(--stem); }
.log__row--receptionist .log__who { color: var(--bloom); }
.log__row.is-on { background: linear-gradient(90deg, rgb(242 183 5 / .22), rgb(242 183 5 / .22)); margin-inline: -24px; padding-inline: 24px; }
@media (min-width: 960px) {
  .what__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .hear__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 72px; }
  .hear__intro { position: sticky; top: 48px; align-self: start; }
}
.does { background: var(--paper-2); padding: var(--gap) 0; }
.head2 { display: grid; gap: 18px; margin-bottom: 40px; }
@media (min-width: 960px) { .head2 { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: end; } }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 4px 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; min-height: 48px; padding: 10px 20px; border: 0; background: none; font: 600 1.0625rem/1.2 var(--text); color: var(--muted); cursor: pointer; border-radius: 12px 12px 0 0; }
.tabs [role="tab"]:hover { color: var(--bloom); }
.tabs [role="tab"][aria-selected="true"] { background: #FFFDF8; color: var(--bloom); }
.panels { display: grid; background: #FFFDF8; border-radius: 0 20px 20px 20px; overflow: hidden; }
.panels__one { padding: clamp(24px, 4vw, 48px); }
.panels__one h3 { margin-bottom: 18px; }
.panels__one li { padding: 12px 0; border-top: 1px solid var(--line); }
.panels__one--team { background: var(--rose-2); }
.panels__one--team li { border-color: #DDAAB4; }
.panels + .muted, .panels ~ .muted { margin-top: 20px; }
@media (min-width: 760px) { .panels { grid-template-columns: 1fr 1fr; } }
.never { background: var(--ink); color: var(--paper); padding: var(--gap) 0; }
.never__grid > div { display: grid; gap: 24px; align-content: start; }
.never p { color: #DCD5C8; }
.never__list li { font-family: var(--display); font-weight: 400; font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.2; padding: 18px 0; border-top: 1px solid #45423C; display: flex; gap: 18px; align-items: baseline; }
.never__list li::before { content: ""; flex: none; width: .5em; height: .5em; background: var(--pollen); clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%); }
@media (min-width: 960px) { .never__grid { grid-template-columns: 5fr 6fr; gap: 88px; } }
.desk { padding: var(--gap) 0; }
.desk h2 { max-width: 18ch; }
.desk__grid { display: grid; gap: 32px; margin: 48px 0; }
.desk__grid > div { border-top: 3px solid var(--bloom); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.desk__end { font-family: var(--display); font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.25; max-width: 34ch; color: var(--bloom); }
@media (min-width: 760px) { .desk__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.how { background: var(--rose-2); padding: var(--gap) 0; }
.steps { display: grid; gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font: 500 clamp(3rem, 6vw, 5rem)/1 var(--display); color: var(--bloom); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.price { padding: var(--gap) 0; }
.price__grid > div:first-child { display: grid; gap: 24px; align-content: start; }
@media (min-width: 960px) { .price__grid { grid-template-columns: 4fr 6fr; gap: 72px; } }
.arrow { font-weight: 600; }
.tablewrap { overflow-x: auto; min-width: 0; }
.receipt { width: 100%; border-collapse: collapse; background: #FFFDF8; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); border-spacing: 0; border-collapse: separate; }
.receipt th, .receipt td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); font-weight: 400; vertical-align: baseline; }
.receipt tr:first-child > * { border-top: 0; }
.receipt thead th { font-weight: 600; text-align: right; }
.receipt td { font: 500 1.0625rem/1.4 var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.receipt__credit td:last-child { color: var(--stem); }
.receipt__total > * { background: var(--pollen); border-color: var(--pollen) !important; font-weight: 600 !important; }
.receipt__total th { font-weight: 600; }
@media (max-width: 560px) { .receipt th, .receipt td { padding: 14px 12px; font-size: 1rem; } .receipt thead th { font-size: 1rem; line-height: 1.2; } }
.terms { margin-top: 18px; font-size: 1.0625rem; }
.qs { padding: 0 0 var(--gap); }
@media (min-width: 960px) { .qs__grid { grid-template-columns: 4fr 6fr; gap: 72px; } }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 600; font-size: 1.1875rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--bloom); border-bottom: 2px solid var(--bloom); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq > div { padding: 0 44px 22px 0; }
.about { padding: 0 0 var(--gap); }
.about__grid { align-items: center; }
.about__grid > div:last-child { display: grid; gap: 22px; }
.about__flower { width: min(300px, 70vw); --petal: #EDB9C2; --petal-alt: #F6D3D8; --vein: #B8647A; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 4fr 6fr; gap: 72px; } .about__flower { width: 360px; } }
.end { background: var(--bloom); color: var(--paper); padding: var(--gap) 0; }
.end__grid { display: grid; gap: 26px; justify-items: start; }
.end h2 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
.end__grid > div { display: grid; gap: 14px; width: 100%; }
.end .btn { justify-self: start; }

/* Inner pages and steps */
.inner, .challenge { display: flex; flex-direction: column; min-height: 100svh; }
.inner main, .challenge main { flex: 1; }
.step { width: min(1040px, 100% - 40px); margin: 0 auto; padding: 40px 0 var(--gap); display: grid; gap: 24px; justify-items: start; align-content: start; }
.step h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); max-width: 16ch; }
.kicker { font: 500 1rem/1.2 var(--mono); color: var(--bloom); }
.details { width: min(1140px, 100% - 40px); }
.details__grid { display: grid; gap: 40px; width: 100%; }
.details__grid > div { display: grid; gap: 20px; align-content: start; }
.details__grid h1 { font-size: clamp(2.375rem, 4.6vw, 3.75rem); }
.details .form { background: #FFFDF8; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); }
.details .disclosure { border-left: 4px solid var(--pollen); padding-left: 16px; }
.mini { counter-reset: m; display: grid; gap: 10px; }
.mini li { counter-increment: m; display: flex; gap: 14px; }
.mini li::before { content: counter(m); font: 500 1rem/1.6 var(--mono); color: var(--bloom); }
@media (min-width: 900px) { .details__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.panel { background: var(--paper-2); border-radius: 12px; padding: 20px 24px; display: grid; gap: 14px; justify-items: start; width: 100%; }
.pricing { padding: 40px 0 var(--gap); display: grid; gap: 28px; }
.pricing__grid { display: grid; gap: 32px; }
.pricing__side { display: grid; gap: 16px; align-content: start; }
.pricing__lists { display: grid; gap: 40px; padding: 56px 0; }
.pricing__lists h2, .pricing__q h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 20px; }
.pricing__lists .muted { margin-top: 16px; }
@media (min-width: 960px) { .pricing__grid { grid-template-columns: 1.7fr 1fr; gap: 56px; } .pricing__lists { grid-template-columns: 1.7fr 1fr; gap: 56px; } }
.ticks li, .plain li { padding: 12px 0 12px 34px; border-top: 1px solid var(--line); position: relative; }
.plain li { padding-left: 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.25em; width: 14px; height: 7px; border-left: 2.5px solid var(--stem); border-bottom: 2.5px solid var(--stem); transform: rotate(-45deg); }
.doc { padding: 40px 0 var(--gap); max-width: 68ch; margin-left: max(20px, (100% - 1240px) / 2); }
.doc h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.doc h2 { font: 600 1.375rem/1.25 var(--text); letter-spacing: -.01em; margin: 40px 0 8px; }
.doc p + p { margin-top: 12px; }
.legal { display: grid; padding: 40px 0 var(--gap); }
.legal .doc { padding: 0; margin: 0; }
.legal h2 .mono { color: var(--bloom); margin-right: 14px; font-size: 1rem; }
.legal__toc { display: none; }
@media (min-width: 960px) { .legal { grid-template-columns: 4fr 8fr; } .legal__toc { display: block; position: sticky; top: 32px; align-self: start; } .legal__toc a { display: block; padding: 9px 0; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 1rem; } .legal__toc a:hover { color: var(--bloom); text-decoration: underline; } }

/* Round: two fields, one flower each */
.duel { display: grid; grid-template-rows: auto 1fr auto; min-height: calc(100svh - 84px); }
body[data-step="duel"] .footer, body[data-step="duel"] .nav { display: none; }
body[data-step="duel"] .bar > .btn, body[data-step="duel"] .menu { visibility: hidden; }
.duel__top { text-align: center; padding: 4px 20px 26px; display: grid; gap: 8px; justify-items: center; }
.duel__top h1 { font-size: clamp(1.875rem, 4.4vw, 3.25rem); }
.duel__halves { display: grid; grid-template-columns: 1fr 1fr; }
.half { position: relative; display: grid; justify-items: center; align-content: center; gap: 20px; padding: clamp(20px, 3.4vw, 48px) clamp(10px, 3vw, 40px); }
.half--a { background: var(--bloom); color: #fff; --petal: #EDB9C2; --petal-alt: #F6D3D8; --vein: #B8647A; --track: rgb(246 216 220 / .25); --arc: var(--pollen); }
.half--b { background: var(--rose); color: var(--ink); --petal: #6E1423; --petal-alt: #84203A; --vein: #3A0A12; --track: rgb(110 20 35 / .22); --arc: var(--bloom); }
.half--a :focus-visible { outline-color: var(--pollen); }
.half__l { position: absolute; left: clamp(12px, 2.4vw, 36px); top: clamp(6px, 1.4vw, 20px); font: 500 clamp(2.5rem, 7vw, 6.5rem)/1 var(--display); opacity: .9; }
.half .player { width: min(400px, 100%, 44svh); margin-top: 28px; }
.half .bloomtime { margin-top: 4px; }
.pickbtn { width: min(300px, 100%); padding-inline: 8px; }
.half--a .pickbtn:not([disabled]) { background: var(--paper); border-color: var(--paper); color: var(--bloom); }
.half--a .pickbtn:not([disabled]):hover { background: var(--pollen); border-color: var(--pollen); color: var(--ink); }
.half--a .pickbtn[disabled] { background: #8A3443; border-color: #8A3443; color: #FBEDEF; }
.half--b .pickbtn[disabled] { background: #DDA0AC; border-color: #DDA0AC; color: #3B2329; }
.duel__foot { display: grid; gap: 10px; justify-items: center; padding: 22px 20px 48px; text-align: center; width: min(760px, 100%); margin: 0 auto; }
.duel__hint { font-weight: 600; }
.row--links { gap: 4px 28px; justify-content: center; }
.duel__foot .panel { text-align: left; }
.script { display: grid; gap: 10px; }
.script strong { display: block; font-size: 1rem; color: var(--bloom); }
@media (max-width: 640px) { .duel { min-height: 0; } .duel__sub { font-size: 1rem; } .half__l { position: static; justify-self: start; } .half { gap: 12px; } .half .player { margin-top: -8px; } .pickbtn { font-size: 1rem; } }

/* Result */
.replay { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; border-radius: 20px; overflow: hidden; }
.replay__one { display: grid; grid-template-columns: minmax(84px, 150px) 1fr; gap: 20px; align-items: center; padding: clamp(14px, 2.4vw, 28px); }
.replay__one:nth-child(1) { background: var(--bloom); color: #fff; --petal: #EDB9C2; --petal-alt: #F6D3D8; --vein: #B8647A; --track: rgb(246 216 220 / .25); --arc: var(--pollen); }
.replay__one:nth-child(2) { background: var(--rose); --track: rgb(110 20 35 / .22); }
.replay__one:nth-child(1) .muted { color: var(--rose-2); }
.replay__one:nth-child(2) .muted { color: #3B2329; }
.replay__one:nth-child(1) :focus-visible { outline-color: var(--pollen); }
.replay__label { display: grid; gap: 2px; min-width: 0; }
.replay__label strong { font: 500 clamp(1.75rem, 3.6vw, 2.75rem)/1 var(--display); letter-spacing: -.02em; }
.replay__label span { overflow-wrap: anywhere; line-height: 1.3; font-size: 1rem; }
.player--small .bloomtime, .player--small .bloommsg { font-size: 1rem; }
.flip { display: inline-block; animation: flip .4s var(--ease) both; transform-origin: left; }
@keyframes flip { from { transform: rotateX(90deg); } to { transform: none; } }
@media (max-width: 640px) { .replay__one { grid-template-columns: 1fr; justify-items: start; gap: 12px; align-content: start; } .player--small { width: 100%; max-width: 140px; justify-self: center; } }
.result { width: min(1140px, 100% - 40px); margin: 0 auto; padding: 32px 0 var(--gap); display: grid; gap: 40px; }
.result__grid { display: grid; gap: 36px; align-items: start; }
.result__main { display: grid; gap: 20px; justify-items: start; }
.result__main h1 { max-width: 14ch; }
.scoreline { font: 500 1.0625rem/1 var(--mono); display: flex; align-items: center; gap: 10px; color: var(--muted); }
.scoreline b { background: var(--bloom); color: #fff; border-radius: 6px; padding: 8px 12px; font-weight: 500; margin-right: 12px; }
.creditline { font-weight: 600; }
.banner { background: var(--rose-2); border-radius: 12px; padding: 14px 20px; max-width: none; }
.slip { background: var(--pollen); color: var(--ink); padding: 30px 30px 26px; border-radius: 4px 4px 20px 20px; display: grid; gap: 10px; position: relative; width: 100%; max-width: 440px; }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: radial-gradient(circle at 10px -1px, transparent 7px, var(--pollen) 7.6px) 0 0 / 20px 10px repeat-x; }
.slip__top { font-weight: 600; }
.slip__sum { font: 500 clamp(2rem, 4vw, 2.75rem)/1 var(--display); letter-spacing: -.02em; }
.slip__code { font: 500 1.5rem/1 var(--mono); padding: 14px 0; border-block: 2px dashed rgb(27 26 23 / .45); letter-spacing: .04em; user-select: all; }
.slip__fine { font-size: 1rem; line-height: 1.4; }
@media (min-width: 900px) { .result__grid { grid-template-columns: 1fr 400px; gap: 72px; } .slip { margin-top: 18px; } }
.rounds { display: grid; gap: 28px; }
.rounds__one { display: grid; gap: 12px; }
.rounds__h { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; max-width: none; }
.tag { font-size: 1rem; font-weight: 600; color: var(--bloom); }
.tag--ok { color: var(--stem); }
.prefer > * { clear: both; }
.prefer { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 28px; }
body.challenge .bar > .btn { visibility: hidden; }
.prefer legend { float: left; width: 100%; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.15 var(--display); padding: 0; }
.honest { border-top: 1px solid var(--line); padding-top: 24px; }
.offer { width: min(1140px, 100% - 40px); }
.offer__grid { display: grid; gap: 40px; width: 100%; }
@media (min-width: 900px) { .offer__grid { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.sticky { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.sticky__sum b { font-family: var(--mono); font-weight: 500; font-size: 1.25rem; margin-left: 6px; }
@media (max-width: 899px) { .sticky { position: sticky; bottom: 0; background: var(--paper); width: calc(100% + 40px); margin-inline: -20px; padding: 14px 20px; border-top: 1px solid var(--line); justify-content: space-between; gap: 12px; } }
.claim .form { width: min(460px, 100%); }
.paybox { background: #FFFDF8; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 18px; justify-items: start; }
.check { display: flex; gap: 14px; align-items: flex-start; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bloombtn:hover, .bloombtn:active, .btn:active { transform: none; }
}
