/* =========================================================
   MY-ME.NU — Brand & Interface Stylesheet v1.0
   A fresh, friendly design system for group menu selection.
   Primary font: Nunito Sans | Body font: DM Sans
   ========================================================= */
/* Fonts are self-hosted (no Google requests: AVG, and the CSP only allows 'self'). Nunito Sans and DM Sans, SIL OFL 1.1. */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/nunito-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/nunito-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 900; font-style: normal; font-display: swap; src: url('/fonts/nunito-sans-latin-900-normal.woff2') format('woff2'); }

:root {
  /* Brand palette — derived from the supplied logo */
  --mm-forest: #205b4f;
  --mm-green: #188c62;
  --mm-green-hover: #126e4c;
  --mm-lime: #4bb51b;
  --mm-mint: #e8f6eb;
  --mm-mint-deep: #cdebd5;
  --mm-white: #ffffff;
  --mm-surface: #f7faf8;
  --mm-surface-soft: #f1f7f3;
  --mm-ink: #232d29;
  --mm-text: #34443d;
  --mm-muted: #6a7b72;
  --mm-border: #dfeae3;
  --mm-error: #b34040;
  --mm-error-bg: #fff0ef;
  --mm-warning: #90660a;
  --mm-warning-bg: #fff7e3;

  /* Type */
  --mm-font-display: 'Nunito Sans', 'Arial Rounded MT Bold', sans-serif;
  --mm-font-body: 'DM Sans', Arial, sans-serif;
  --mm-text-xs: .75rem;
  --mm-text-sm: .875rem;
  --mm-text-md: 1rem;
  --mm-text-lg: 1.125rem;
  --mm-text-xl: 1.35rem;
  --mm-text-2xl: clamp(1.75rem, 3vw, 2.25rem);
  --mm-text-hero: clamp(2.85rem, 5vw, 5.2rem);

  /* Scale */
  --mm-space-1: .25rem;
  --mm-space-2: .5rem;
  --mm-space-3: .75rem;
  --mm-space-4: 1rem;
  --mm-space-5: 1.25rem;
  --mm-space-6: 1.5rem;
  --mm-space-8: 2rem;
  --mm-space-10: 2.5rem;
  --mm-space-12: 3rem;
  --mm-space-16: 4rem;

  /* Shapes and effects */
  --mm-radius-sm: .7rem;
  --mm-radius-md: 1rem;
  --mm-radius-lg: 1.5rem;
  --mm-radius-xl: 2rem;
  --mm-radius-pill: 999px;
  --mm-shadow-soft: 0 12px 35px rgba(25, 71, 51, .07);
  --mm-shadow-card: 0 20px 60px rgba(23, 72, 50, .11);
  --mm-shadow-focus: 0 0 0 4px rgba(24, 140, 98, .18);
  --mm-speed: 180ms;
  --mm-page-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--mm-ink); background: var(--mm-white); font: 400 1rem/1.55 var(--mm-font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--mm-green); outline-offset: 3px; }
::selection { background: var(--mm-mint-deep); color: var(--mm-forest); }

/* Typography */
.mm-heading, h1, h2, h3, h4 { font-family: var(--mm-font-display); line-height: 1.14; letter-spacing: -.035em; margin: 0; }
.mm-heading--hero { font-size: var(--mm-text-hero); font-weight: 900; }
.mm-heading--xl { font-size: clamp(2rem, 3.4vw, 3.3rem); font-weight: 900; }
.mm-heading--lg { font-size: var(--mm-text-2xl); font-weight: 800; }
.mm-heading--md { font-size: var(--mm-text-xl); font-weight: 800; }
.mm-body-lg { font-size: var(--mm-text-lg); line-height: 1.7; }
.mm-muted { color: var(--mm-muted); }
.mm-eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mm-green); }
.mm-link { font-weight: 700; text-underline-offset: .2em; color: var(--mm-green-hover); }
.mm-link:hover { color: var(--mm-forest); }

/* Structure */
.mm-container { width: min(calc(100% - 48px), var(--mm-page-width)); margin-inline: auto; }
.mm-section { padding: clamp(70px, 8vw, 110px) 0; }
.mm-section--soft { background: var(--mm-surface); }
.mm-section--mint { background: var(--mm-mint); }
.mm-stack > * + * { margin-top: var(--mm-space-4); }
.mm-cluster { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.mm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.mm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.mm-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

/* Navigation */
.mm-site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }
.mm-logo { width: 166px; height: auto; object-fit: contain; }
.mm-site-nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.mm-site-nav__links a { font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--mm-text); }
.mm-site-nav__links a:hover { color: var(--mm-green); }

/* Buttons */
.mm-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border: 1px solid transparent; border-radius: var(--mm-radius-pill); padding: .9rem 1.4rem; min-height: 48px; text-decoration: none; font-family: var(--mm-font-display); font-size: .94rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; transition: background var(--mm-speed), box-shadow var(--mm-speed), transform var(--mm-speed), border-color var(--mm-speed), color var(--mm-speed); }
.mm-button:hover { transform: translateY(-1px); }
.mm-button:active { transform: translateY(0); }
.mm-button:focus-visible { outline: none; box-shadow: var(--mm-shadow-focus); }
.mm-button--primary { color: var(--mm-white); background: var(--mm-green-hover); }
.mm-button--primary:hover { background: var(--mm-forest); }
.mm-button--secondary { color: var(--mm-forest); background: var(--mm-mint); border-color: var(--mm-mint-deep); }
.mm-button--secondary:hover { background: var(--mm-mint-deep); }
.mm-button--outline { color: var(--mm-forest); background: var(--mm-white); border-color: #b9d5c5; }
.mm-button--outline:hover { border-color: var(--mm-green); background: var(--mm-surface); }
.mm-button--ghost { color: var(--mm-forest); background: transparent; }
.mm-button--ghost:hover { background: var(--mm-mint); }
.mm-button--sm { min-height: 38px; padding: .58rem 1rem; font-size: .82rem; }
.mm-button--lg { min-height: 56px; padding: 1rem 1.7rem; }
.mm-button:disabled, .mm-button[aria-disabled='true'] { cursor: not-allowed; opacity: .45; transform: none; }
.mm-button--wide { width: 100%; }

/* Pills and badges */
.mm-chip, .mm-badge { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; white-space: nowrap; border-radius: var(--mm-radius-pill); font-size: .75rem; font-weight: 800; line-height: 1; }
.mm-chip { padding: .6rem .9rem; color: var(--mm-forest); background: var(--mm-mint); }
.mm-chip--neutral { background: #eef1ee; color: var(--mm-text); }
.mm-badge { padding: .55rem .7rem; background: var(--mm-mint); color: var(--mm-green-hover); }
.mm-badge--lime { background: #ebf9e1; color: #337f11; }
.mm-badge--warning { background: var(--mm-warning-bg); color: var(--mm-warning); }
.mm-badge--error { background: var(--mm-error-bg); color: var(--mm-error); }
.mm-dot { display: inline-block; width: .5rem; height: .5rem; flex: 0 0 auto; border-radius: 50%; background: var(--mm-lime); }

/* Surfaces and cards */
.mm-card { background: var(--mm-white); border: 1px solid var(--mm-border); border-radius: var(--mm-radius-lg); padding: 1.5rem; box-shadow: var(--mm-shadow-soft); }
.mm-card--flat { box-shadow: none; }
.mm-card--raised { box-shadow: var(--mm-shadow-card); }
.mm-card--dark { color: white; background: var(--mm-forest); border-color: var(--mm-forest); }
.mm-divider { border: 0; border-top: 1px solid var(--mm-border); margin: 1.3rem 0; }

/* Inputs */
.mm-label { display: block; margin-bottom: .4rem; font-size: .82rem; font-weight: 800; color: var(--mm-text); }
.mm-input, .mm-select { width: 100%; min-height: 48px; padding: .78rem .9rem; border: 1.5px solid var(--mm-border); border-radius: var(--mm-radius-sm); color: var(--mm-ink); background: white; outline: none; transition: border-color var(--mm-speed), box-shadow var(--mm-speed); }
.mm-input:hover, .mm-select:hover { border-color: #b8d2c3; }
.mm-input:focus, .mm-select:focus { border-color: var(--mm-green); box-shadow: var(--mm-shadow-focus); }
.mm-input::placeholder { color: #91a298; }
.mm-help { display: block; margin-top: .35rem; color: var(--mm-muted); font-size: var(--mm-text-xs); }

/* Menu selection: use <label> + an actual radio input for accessibility */
.mm-menu-group + .mm-menu-group { margin-top: 1.65rem; }
.mm-menu-group__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.mm-menu-group__heading h3 { font-size: 1rem; font-weight: 900; letter-spacing: -.01em; }
.mm-choice-list { display: grid; gap: .65rem; }
.mm-choice { position: relative; display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--mm-border); border-radius: var(--mm-radius-md); background: var(--mm-white); padding: .9rem .95rem; cursor: pointer; transition: border-color var(--mm-speed), background var(--mm-speed), box-shadow var(--mm-speed), transform var(--mm-speed); }
.mm-choice:hover { border-color: #93caae; transform: translateY(-1px); }
.mm-choice:has(input:checked) { border-color: var(--mm-green); background: #f0faf3; box-shadow: 0 0 0 2px rgba(24, 140, 98, .07); }
.mm-choice:has(input:focus-visible) { outline: 2px solid var(--mm-green); outline-offset: 2px; }
.mm-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mm-choice__bullet { display: grid; place-items: center; width: 20px; height: 20px; border: 1.8px solid #b6cfc0; border-radius: 50%; flex: 0 0 auto; background: white; transition: background var(--mm-speed), border-color var(--mm-speed); }
.mm-choice__bullet::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: white; transform: scale(0); transition: transform var(--mm-speed); }
.mm-choice:has(input:checked) .mm-choice__bullet { border-color: var(--mm-green); background: var(--mm-green); }
.mm-choice:has(input:checked) .mm-choice__bullet::after { transform: scale(1); }
.mm-choice__details { flex: 1; min-width: 0; }
.mm-choice__name { display: block; font-family: var(--mm-font-display); font-size: .9rem; line-height: 1.35; font-weight: 900; }
.mm-choice__description { display: block; margin-top: .12rem; font-size: .74rem; color: var(--mm-muted); line-height: 1.45; }
.mm-choice__price { color: var(--mm-forest); font-size: .77rem; font-weight: 800; }

/* Menu card header, progress and confirmation */
.mm-menu-top { background: var(--mm-forest); color: white; border-radius: 1.35rem 1.35rem 0 0; padding: 1.4rem 1.5rem 1.3rem; }
.mm-menu-top__meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; color: #cae7d7; font-size: .76rem; font-weight: 700; }
.mm-menu-top__title { font: 900 1.35rem/1.25 var(--mm-font-display); letter-spacing: -.02em; }
.mm-menu-top__subtitle { color: #d6e9df; font-size: .82rem; margin-top: .22rem; }
.mm-menu-content { padding: 1.4rem 1.5rem 1.5rem; }
.mm-progress-head { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 800; gap: 1rem; margin-bottom: .6rem; }
.mm-progress-track { height: 7px; border-radius: var(--mm-radius-pill); background: #e8eee9; overflow: hidden; }
.mm-progress-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--mm-green); transition: width .3s ease; }
.mm-complete { padding: .85rem 1rem; border: 1px solid var(--mm-mint-deep); border-radius: var(--mm-radius-md); background: var(--mm-mint); font-size: .84rem; color: var(--mm-forest); font-weight: 700; }

/* Decorative layout classes used in the example brand guide */
.guide-header { border-bottom: 1px solid #eef2ef; background: #fff; }
.guide-header .mm-site-nav__links { gap: 1.8rem; }
.guide-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 24%, #e7f8ed 0, transparent 43%), linear-gradient(180deg, #fbfdfb, white); }
.guide-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: clamp(60px, 7vw, 105px) 0; }
.guide-hero__copy { max-width: 590px; }
.guide-hero__copy h1 { margin: 1.1rem 0 1.3rem; }
.guide-hero__copy p { max-width: 530px; color: #687a70; }
.guide-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.guide-hero__footnote { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; color: var(--mm-muted); font-size: .82rem; }
.guide-preview { position: relative; max-width: 515px; margin-inline: auto; width: 100%; }
.guide-preview::before { content: ''; position: absolute; inset: 5% -7%; border-radius: 38%; background: #dff3e7; filter: blur(26px); z-index: 0; }
.guide-preview__card { position: relative; z-index: 1; overflow: hidden; border-radius: 1.45rem; background: white; border: 1px solid #dbe8df; box-shadow: 0 24px 80px rgba(24, 78, 50, .13); }
.guide-preview__card .mm-choice { padding-block: .7rem; }
.guide-preview__card .mm-menu-group + .mm-menu-group { margin-top: 1.1rem; }
.guide-preview__card .mm-menu-content { padding-top: 1.15rem; }
.guide-menu-footer { border-top: 1px solid var(--mm-border); margin-top: 1.25rem; padding-top: 1.15rem; }
.guide-section-head { max-width: 680px; margin-bottom: 2.1rem; }
.guide-section-head .mm-eyebrow { margin-bottom: .65rem; }
.guide-section-head p { color: var(--mm-muted); max-width: 620px; margin-top: .85rem; }
.guide-logo-card { min-height: 320px; display: flex; align-items: center; justify-content: center; padding: 3rem; border: 1px solid var(--mm-border); border-radius: var(--mm-radius-xl); background: white; }
.guide-logo-card img { width: min(100%, 450px); }
.guide-icon-card { min-height: 320px; display: flex; align-items: center; justify-content: center; border-radius: var(--mm-radius-xl); background: var(--mm-forest); overflow: hidden; }
.guide-icon-card .guide-mark-disc { width: 210px; height: 210px; display: grid; place-items: center; background: white; border-radius: 50%; }
.guide-icon-card img { width: 165px; }
.guide-underlabel { color: var(--mm-muted); font-size: .8rem; margin-top: .75rem; }
.guide-swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .85rem; }
.guide-swatch { overflow: hidden; border: 1px solid var(--mm-border); border-radius: 1rem; background: white; }
.guide-swatch__color { min-height: 128px; }
.guide-swatch__info { padding: .9rem; }
.guide-swatch__name { display: block; font-weight: 800; font-size: .81rem; }
.guide-swatch__hex { display: block; margin-top: .2rem; color: var(--mm-muted); font-size: .76rem; }
.guide-type-display { border-radius: var(--mm-radius-xl); padding: 2rem 2.2rem; background: var(--mm-surface); border: 1px solid var(--mm-border); }
.guide-type-display .big { font: 900 clamp(3.1rem, 7vw, 6rem)/.98 var(--mm-font-display); letter-spacing: -.055em; }
.guide-type-display .body-sample { max-width: 430px; font: 400 1rem/1.7 var(--mm-font-body); color: var(--mm-muted); }
.guide-type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.guide-component-panel { min-height: 215px; padding: 1.6rem; border: 1px solid var(--mm-border); border-radius: var(--mm-radius-lg); background: white; }
.guide-component-panel h3 { margin-bottom: 1.1rem; font-size: 1.1rem; }
.guide-component-panel p { font-size: .78rem; color: var(--mm-muted); margin-top: 1rem; }
.guide-component-panel--soft { background: var(--mm-surface); }
.guide-voice-card { background: var(--mm-forest); padding: 2.2rem; border-radius: var(--mm-radius-xl); color: white; }
.guide-voice-card h3 { font-size: 1.4rem; }
.guide-voice-card p { color: #d0e9db; }
.guide-voice-quote { font-family: var(--mm-font-display); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.guide-footer { border-top: 1px solid var(--mm-border); padding: 2rem 0 3rem; color: var(--mm-muted); font-size: .84rem; }
.guide-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide-footer__inner img { width: 115px; }

@media (max-width: 1050px) {
  .guide-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: 1.8rem; }
  .guide-hero__copy h1 { font-size: clamp(2.7rem, 4.5vw, 4rem); }
}
@media (max-width: 800px) {
  .mm-grid-3, .mm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-hero__inner { grid-template-columns: 1fr; padding-top: 55px; }
  .guide-hero__copy { max-width: 650px; }
  .guide-preview { max-width: 510px; margin-top: 2rem; }
  .guide-header .mm-site-nav__links a:not(.mm-button) { display: none; }
}
@media (max-width: 600px) {
  .mm-container { width: min(calc(100% - 32px), var(--mm-page-width)); }
  .mm-grid-2, .mm-grid-3, .mm-grid-4, .guide-type-row { grid-template-columns: 1fr; }
  .guide-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-site-nav { min-height: 74px; }
  .mm-logo { width: 135px; }
  .guide-header .mm-button { min-height: 40px; font-size: .78rem; padding-inline: 1rem; }
  .guide-logo-card, .guide-icon-card { min-height: 245px; }
  .guide-logo-card { padding: 1.5rem; }
  .guide-hero__copy h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .guide-type-display { padding: 1.5rem; }
  .guide-footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
