:root { color-scheme: light; --accent:#c63f79; --accent-dark:#962d5c; --ink:#17201c; --muted:#61706a; --line:#ead5de; --soft:#fff6fa; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
body { min-height:100vh; margin:0; background:radial-gradient(circle at 82% 18%,#ffe7f1 0,transparent 34%),linear-gradient(180deg,#fff 0,var(--soft) 100%); color:var(--ink); }
a { color:var(--accent-dark); font-weight:700; text-decoration:none; }
a:hover { color:var(--accent); }
button,input { font:inherit; }
button { cursor:pointer; }
.money-header { position:sticky; z-index:10; top:0; display:flex; min-height:76px; align-items:center; justify-content:space-between; gap:20px; padding:12px clamp(18px,5vw,72px); border-bottom:1px solid rgb(226 215 221 / 90%); background:rgb(255 250 253 / 94%); backdrop-filter:blur(16px); }
.brand-lockup { display:flex; align-items:center; gap:12px; color:var(--ink); font-weight:400; line-height:1.5; }
.brand-lockup img { width:52px; height:52px; border-radius:50%; object-fit:contain; }
.brand-lockup span { display:grid; }
.brand-lockup strong { font-size:1.04rem; font-weight:700; }
.brand-lockup small { color:#65706a; font-weight:400; }
.money-header nav,.language-switch,footer nav { display:flex; align-items:center; }
.money-header nav { gap:18px; }
.language-switch { padding:3px; border:1px solid var(--line); border-radius:999px; background:#fff; }
.language-switch button { min-width:42px; min-height:32px; padding:4px 10px; border:0; border-radius:999px; background:transparent; color:var(--muted); font-weight:800; }
.language-switch button[aria-pressed="true"] { background:var(--accent); color:#fff; }
.money-shell { display:grid; width:min(100% - 32px,1120px); min-height:calc(100vh - 158px); margin-inline:auto; padding:clamp(40px,7vw,88px) 0; }
.money-hero { display:grid; align-items:center; gap:clamp(34px,7vw,90px); grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr); }
.eyebrow,.card-heading p { margin:0 0 10px; color:var(--accent); font-size:12px; font-weight:850; letter-spacing:.09em; text-transform:uppercase; }
h1 { max-width:700px; margin:0; font-size:clamp(42px,6vw,68px); letter-spacing:-.045em; line-height:1.01; }
.hero-copy > p:not(.eyebrow) { max-width:650px; margin:24px 0 0; color:var(--muted); font-size:clamp(17px,2vw,20px); line-height:1.65; }
.privacy-note { display:flex; max-width:600px; gap:14px; margin-top:28px; padding:17px 19px; border:1px solid var(--line); border-radius:12px; background:rgb(255 255 255 / 82%); }
.privacy-note > span { font-size:23px; }
.privacy-note p,.delivery-notice p { display:grid; gap:4px; margin:0; line-height:1.5; }
.privacy-note p span,.delivery-notice p span { color:var(--muted); font-size:14px; }
.budget-card { align-self:center; border:1px solid var(--line); border-radius:18px; background:#fff; padding:clamp(22px,4vw,34px); box-shadow:0 28px 70px rgb(103 38 69 / 14%); }
.card-heading { display:flex; align-items:center; gap:14px; margin-bottom:26px; }
.card-heading > span { display:grid; width:54px; height:54px; flex:0 0 auto; place-items:center; border-radius:14px; background:var(--soft); color:var(--accent-dark); font-size:17px; font-weight:900; }
.card-heading p { margin:0 0 4px; }
.card-heading h2 { margin:0; font-size:clamp(22px,3vw,30px); line-height:1.15; }
form > label { display:grid; gap:8px; color:var(--muted); font-size:13px; font-weight:750; }
.money-input { display:grid; align-items:center; grid-template-columns:auto 1fr; overflow:hidden; border:1px solid #cfb9c2; border-radius:10px; background:#fff; }
.money-input:focus-within { outline:3px solid rgb(198 63 121 / 24%); outline-offset:2px; border-color:var(--accent); }
.money-input > span { padding:0 14px; color:var(--accent-dark); font-size:18px; font-weight:900; }
.money-input input { width:100%; min-width:0; min-height:58px; border:0; border-left:1px solid var(--line); padding:10px 15px; color:var(--ink); font-size:22px; font-weight:800; outline:0; }
.field-hint { margin:8px 0 18px; color:var(--muted); font-size:13px; line-height:1.5; }
.delivery-notice { display:flex; gap:11px; margin-bottom:20px; padding:14px; border:1px solid #f0d3a0; border-radius:10px; background:#fff9ec; }
.delivery-notice > span { display:grid; width:22px; height:22px; flex:0 0 auto; place-items:center; border-radius:50%; background:#bd7921; color:#fff; font-weight:900; }
.primary-button { width:100%; min-height:50px; border:0; border-radius:9px; background:var(--accent); color:#fff; font-weight:850; box-shadow:0 10px 24px rgb(150 45 92 / 18%); }
.primary-button:hover { background:var(--accent-dark); }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid rgb(198 63 121 / 28%); outline-offset:2px; }
.result-state { display:flex; gap:13px; margin-top:18px; padding:15px; border-radius:10px; }
.result-state[hidden] { display:none; }
.result-state > span { display:grid; width:28px; height:28px; flex:0 0 auto; place-items:center; border-radius:50%; font-weight:900; }
.result-state p { margin:4px 0 0; color:var(--muted); font-size:14px; line-height:1.45; }
.loading-state { border:1px solid #d9c4ce; background:#fff8fb; }
.spinner { border:3px solid #f0ccdc; border-top-color:var(--accent); animation:spin .8s linear infinite; }
.error-state { border:1px solid #e5b7bc; background:#fff5f5; }
.error-state > span { background:#b63745; color:#fff; }
.error-state button { margin-top:9px; border:1px solid #d2a1a7; border-radius:7px; background:#fff; padding:7px 11px; color:#8f2633; font-weight:800; }
.mix-results { margin-top:clamp(46px,7vw,86px); padding:clamp(22px,4vw,38px); border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 24px 60px rgb(103 38 69 / 10%); }
.mix-results[hidden] { display:none; }
.results-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.results-heading h2 { margin:0; font-size:clamp(27px,4vw,40px); letter-spacing:-.025em; }
.results-heading > div > p:last-child { max-width:720px; margin:10px 0 0; color:var(--muted); line-height:1.55; }
.secondary-button { min-height:42px; flex:0 0 auto; border:1px solid #d9bdc9; border-radius:8px; background:#fff; padding:8px 14px; color:var(--accent-dark); font-weight:800; }
.secondary-button:hover,.mix-card-actions button:hover { border-color:var(--accent); background:var(--soft); }
.budget-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:26px 0; }
.budget-summary > div { display:grid; gap:5px; padding:15px 17px; border:1px solid var(--line); border-radius:10px; background:#fffafd; }
.budget-summary span { color:var(--muted); font-size:12px; font-weight:750; }
.budget-summary strong { font-size:clamp(18px,2.5vw,24px); }
.budget-summary .over-budget { color:#a52839; }
.mix-list { display:grid; gap:12px; }
.mix-card { overflow:hidden; border:1px solid #e3d1d9; border-radius:12px; background:#fff; }
.mix-card.is-locked { border-color:#cf8eaa; box-shadow:inset 4px 0 0 var(--accent); }
.mix-card.is-remainder { border-color:#d99ab6; background:#fff8fb; box-shadow:inset 4px 0 0 var(--accent); }
.mix-card-main { display:grid; align-items:center; grid-template-columns:auto minmax(0,1fr) auto; gap:14px; padding:17px; }
.mix-number { display:grid; width:32px; height:32px; place-items:center; border-radius:9px; background:var(--soft); color:var(--accent-dark); font-weight:900; }
.mix-card h3 { margin:0; font-size:17px; }
.mix-card-main p { margin:4px 0; overflow-wrap:anywhere; color:var(--ink); font-size:13px; line-height:1.45; }
.mix-card-main .mix-purpose { margin:0 0 5px; color:var(--accent-dark); font-size:11px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.mix-card-main div > span { color:var(--muted); font-size:13px; font-weight:700; }
.mix-card-main > strong { color:#111; font-size:18px; white-space:nowrap; }
.mix-price-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:0 17px 14px 63px; }
.mix-price-summary>div { display:grid; min-width:0; gap:3px; padding:10px 12px; border:1px solid #ead7df; border-radius:8px; background:#fffafc; }
.mix-price-summary>div.is-total { border-color:#d67da5; background:#fff0f6; }
.mix-price-summary span,.mix-price-summary small { color:var(--muted); font-size:11px; font-weight:700; }
.mix-price-summary strong { overflow-wrap:anywhere; color:var(--ink); font-size:16px; }
.mix-card-actions { display:flex; flex-wrap:wrap; gap:8px; padding:0 17px 14px 63px; }
.mix-card-actions button,.mix-card-actions a { min-height:36px; border:1px solid #dfc9d2; border-radius:7px; background:#fff; padding:7px 11px; color:var(--accent-dark); font-size:12px; font-weight:800; }
.mix-card-actions a { display:grid; place-items:center; }
.mix-card-actions button[aria-pressed="true"] { border-color:var(--accent); background:var(--accent); color:#fff; }
.mix-editor { display:grid; grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr); gap:12px; padding:15px 17px; border-top:1px solid var(--line); background:#fff8fb; }
.mix-editor[hidden] { display:none; }
.mix-editor label { display:grid; gap:6px; color:var(--muted); font-size:12px; font-weight:800; }
.mix-editor select { width:100%; min-width:0; min-height:42px; border:1px solid #cfb9c2; border-radius:8px; background:#fff; padding:7px 34px 7px 10px; color:var(--ink); }
.mix-status { min-height:22px; margin:15px 0 0; color:var(--muted); font-size:13px; font-weight:700; }
.results-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:12px; }
.results-actions .primary-button { width:auto; min-width:240px; padding-inline:18px; }
.primary-button:disabled { cursor:not-allowed; opacity:.48; }
.pricing-note { margin-top:20px; padding:15px 17px; border-radius:10px; background:#f7f3f5; }
.pricing-note p { margin:5px 0 0; color:var(--muted); font-size:13px; line-height:1.55; }
.empty-mix { padding:24px; border:1px dashed #d8b9c6; border-radius:10px; color:var(--muted); text-align:center; }
footer { display:flex; width:min(100% - 32px,1120px); min-height:82px; align-items:center; justify-content:space-between; gap:24px; margin-inline:auto; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
footer nav { flex-wrap:wrap; justify-content:flex-end; gap:16px; }
@keyframes spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .spinner { animation:none; } }
@media (max-width:760px) {
  .money-header { position:static; padding:10px 14px; }
  .money-header .brand-lockup span { display:none; }
  .brand-lockup img { width:44px; height:44px; }
  .money-header nav { gap:9px; }
  .money-header nav > a { font-size:.84rem; }
  .money-shell { width:min(100% - 24px,1120px); min-height:auto; padding:34px 0 46px; }
  .money-hero { grid-template-columns:1fr; gap:32px; }
  h1 { font-size:40px; }
  .hero-copy > p:not(.eyebrow) { font-size:16px; }
  .budget-card { padding:20px; border-radius:14px; }
  .card-heading > span { width:46px; height:46px; }
  .mix-results { margin-top:40px; padding:18px 14px; border-radius:14px; }
  .results-heading { align-items:stretch; flex-direction:column; gap:14px; }
  .secondary-button { width:100%; }
  .budget-summary { grid-template-columns:1fr; }
  .budget-summary > div { align-items:center; grid-template-columns:1fr auto; }
  .mix-card-main { grid-template-columns:auto minmax(0,1fr); padding:14px; }
  .mix-card-main > strong { grid-column:2; }
  .mix-price-summary { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 14px 13px; }
  .mix-price-summary .is-total { grid-column:1 / -1; }
  .mix-card-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0 14px 13px; }
  .mix-card.is-remainder .mix-card-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mix-card-actions button,.mix-card-actions a { padding-inline:5px; text-align:center; }
  .mix-editor { grid-template-columns:1fr; padding:14px; }
  .results-actions .primary-button { width:100%; min-width:0; }
  .results-actions { flex-direction:column; }
  .results-actions .secondary-button { width:100%; }
  footer { width:min(100% - 24px,1120px); align-items:stretch; flex-direction:column; padding:16px 0; }
  footer nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  footer nav a { display:grid; min-height:42px; place-items:center; padding:6px; border:1px solid var(--line); border-radius:6px; background:#fff; font-size:11px; text-align:center; }
}
@media (max-width:360px) { .mix-price-summary { grid-template-columns:1fr; } .mix-price-summary .is-total { grid-column:1; } }
