/* app.mmdsz.ro: association navy (mmdsz.ro) + the app's red, cards and Montserrat. No external requests. */
@font-face { font-family: "Montserrat"; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/montserrat-latin-400-800.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext-400-800.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #141E46;
  --navy-2: #1b2860;
  --red: #EE2B24;
  --red-deep: #C21C17;
  --hero-a: #D9241E; /* brand red darkened a touch so white text keeps AA contrast (>= 4.5:1) */
  --hero-b: #B3140F;
  --bg: #F7F7F8;
  --card: #FFFFFF;
  --alt: #EFF0F4;
  --hair: #E6E6EA;
  --ink: #141414;
  --muted: #5F6068;
  --link: #B3140F;
  --wash: #FDECEB;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
  --shadow: 0 1px 3px rgba(20,20,30,.08);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F12; --card: #1B1B20; --alt: #15151A; --hair: #2A2A31;
    --ink: #F4F4F6; --muted: #A4A4AD; --link: #FF6A62;
    --wash: #2A1716;
    --shadow: 0 1px 3px rgba(0,0,0,.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
code { font-size: .92em; background: var(--alt); padding: 1px 6px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

/* ---- top bar (continues mmdsz.ro's navy header) ---- */
.topbar { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.crest { background: #fff; border-radius: 12px; padding: 5px; display: grid; place-items: center; }
.crest img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; letter-spacing: .14em; font-weight: 800; }
.brand-text span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.back-link { color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px; white-space: nowrap; }
.back-link:hover { background: rgba(255,255,255,.12); }

/* ---- hero: the membership card's red ---- */
.hero { background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: end; padding-top: 56px; }
.hero-copy { padding-bottom: 64px; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.08; margin: 0 0 16px; font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 1.15rem; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700;
  text-decoration: none; font-size: .95rem; transition: transform .2s ease, box-shadow .2s ease; }
.btn-light { background: #fff; color: var(--red-deep); }
.btn-red { background: var(--red-deep); color: #fff; }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); } }
.hero-shot { justify-self: center; width: min(100%, 300px); }
.hero-shot .phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; margin-bottom: 0; }

/* phone frame */
.phone { border: 8px solid #0b0b0e; border-radius: 34px; overflow: hidden; background: #0b0b0e; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); }
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* ---- sections ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--alt); }
.section-red { background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); color: #fff; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
h3 { font-size: 1.05rem; margin: 0 0 6px; font-weight: 700; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); border-color: var(--red); } }
.ic { width: 28px; height: 28px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }

.steps { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--red-deep); color: #fff; display: grid; place-items: center; font-weight: 800; }
.note { background: var(--wash); border-radius: 12px; padding: 18px 22px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 16px; height: 16px; background: var(--link);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.textlink { font-weight: 700; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.shots figure { margin: 0; text-align: center; }
.shots figcaption { margin-top: 12px; font-weight: 700; }
.section-red a { color: #fff; }

details { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
details[open] summary { color: var(--link); }
details p { margin: 0 0 16px; color: var(--muted); }

/* ---- footer (navy like mmdsz.ro) ---- */
.footer { background: var(--navy); color: #fff; padding: 48px 0; }
.footer a { color: #fff; }
.footer .muted { color: rgba(255,255,255,.72); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr; gap: 32px; }
.footer-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; opacity: .85; }
.footer-links { list-style: none; padding: 0; margin: 0 0 12px; }
.footer-links li { margin-bottom: 8px; }
.footer p { margin: 0 0 10px; }

/* ---- legal pages ---- */
.legal { padding: 32px 20px 64px; }
.legal-nav { font-weight: 600; }
.prose { max-width: 820px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 32px clamp(18px, 4vw, 44px); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.prose h1 { font-size: 2rem; color: var(--ink); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .9rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--hair); padding: 8px 10px; vertical-align: top; text-align: left; }
.prose th { background: var(--alt); }
.prose blockquote { margin: 1em 0; padding: 8px 20px; background: var(--wash); border-radius: 12px; color: var(--ink); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 40px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-shot { width: min(70%, 260px); margin-top: 16px; }
  .two-col { gap: 32px; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .shots { gap: 14px; }
  .brand-text span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
