/* Me&My brand tokens - v1.0 (15 Nov 2026). Web use only; the iOS app uses system colours/fonts. */
:root {
  /* Core */
  --mm-ink: #111111;          /* ampersand, badge, text on accent tiles, dark backgrounds */
  --mm-white: #FFFFFF;
  --mm-text-on-dark: #FFFFFF;
  --mm-text-muted-on-dark: #B9B9C2;
  --mm-product-name-on-dark: #9A9AA5;
  --mm-product-name-on-light: #6E6E78;

  /* Product accent range (all pair with --mm-ink) */
  --mm-mint: #7FE3C9;        /* Rates */
  --mm-amber: #FFB347;       /* Dogs (provisional) */
  --mm-pink: #FF5DA2;        /* Entertainment (provisional) */
  --mm-sky: #6CC4FF;
  --mm-lilac: #C29BFF;
  --mm-lime: #C6EB5E;
  --mm-coral: #FF7A6B;
  --mm-lemon: #FFE066;
  --mm-periwinkle: #8C9EFF;
  --mm-peach: #FFA987;

  /* Accent for text/links on white (contrast >= 4.5:1) */
  --mm-mint-text-on-light: #0E7C61;

  /* Typography */
  --mm-font-display: "Inter", "Inter Display", system-ui, sans-serif; /* headlines: weight 800, font-variation-settings "opsz" 32, letter-spacing -0.01em */
  --mm-font-ampersand: "Bricolage Grotesque", sans-serif;             /* the "&" ONLY, weight 800 */
  --mm-font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
}
/* Product theme: set on <body data-product="rates"> etc. */
[data-product="rates"] { --mm-accent: var(--mm-mint); }
[data-product="dogs"] { --mm-accent: var(--mm-amber); }
[data-product="entertainment"] { --mm-accent: var(--mm-pink); }
/* Prices: always tabular figures */
.mm-price { font-variant-numeric: tabular-nums; }

/* meandmyrates.com - follows Me&My brand v1.0 (BRAND.md section 7). Logical properties throughout for RTL. */
@font-face { font-family: "Inter Display MM"; src: url("/fonts/inter-display-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage Amp"; src: url("/fonts/bricolage-amp.woff2") format("woff2"); font-weight: 800; font-display: block; unicode-range: U+0026; }

:root {
  --bg: var(--mm-ink);
  --surface: #1A1A1E;
  --line: #2A2A30;
  --text: var(--mm-white);
  --muted: var(--mm-text-muted-on-dark);
  --accent: var(--mm-mint);
  --display: "Inter Display MM", var(--mm-font-body);
  --radius: 22px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--muted); font: 17px/1.55 var(--mm-font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { color: var(--text); font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; line-height: 1.25; }
:lang(ja) h1, :lang(zh) h1, :lang(ko) h1, :lang(th) h1, :lang(hi) h1, :lang(bn) h1, :lang(ar) h1, :lang(ur) h1, :lang(he) h1 { line-height: 1.3; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.brand { white-space: nowrap; }
.amp { font-family: "Bricolage Amp", var(--display); font-weight: 800; }
.icon { width: 24px; height: 24px; flex: none; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--accent); color: var(--mm-ink); padding: 8px 14px; border-radius: 999px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }
[dir="ltr"] .num, .mock-list .am { font-variant-numeric: tabular-nums; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo img { height: 24px; width: auto; }
.site-header nav { display: flex; gap: 22px; margin-inline-start: auto; }
.site-header nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { color: var(--accent); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .icon { width: 18px; height: 18px; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; max-height: 70vh; overflow: auto; min-width: 220px; box-shadow: 0 20px 50px #0008; }
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.lang li a:hover, .lang li a[aria-current] { background: #ffffff10; }
@media (max-width: 720px) {
  .site-header nav { display: none; }
  .lang { margin-inline-start: auto; }
  .lang summary span { display: none; }
}

.lang-suggest:not([hidden]) { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--text); font-size: .95rem; }
.lang-suggest button { font: inherit; border: 0; border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.lang-suggest .go { background: var(--accent); color: var(--mm-ink); font-weight: 600; }
.lang-suggest .no { background: transparent; color: var(--muted); }

/* Buttons */
.btn, .store { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2; }
.btn.primary, .store.primary { background: var(--accent); color: var(--mm-ink); }
.btn.ghost { color: var(--text); border: 1px solid #3A3A42; }
.btn.ghost:hover { border-color: var(--accent); }
.store .apple { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.store.soon { cursor: default; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 72px 88px; }
.hero::before { content: ""; position: absolute; inset-block-start: -18%; inset-inline-start: -12%; width: min(820px, 110vw); aspect-ratio: 1; background: url("/brand/ampersand-mint.svg") no-repeat center / contain; opacity: .09; pointer-events: none; }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 30px 18px; }
.note { font-size: .95rem; color: var(--mm-product-name-on-dark); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: 48px 64px; } }

/* Phone illustration (light-mode iOS look) */
.phone { margin: 0 auto; width: min(320px, 82vw); aspect-ratio: 9 / 19.5; border-radius: 52px; padding: 12px; background: #2B2B30; box-shadow: 0 0 0 2px #3A3A40, 0 40px 90px #000a; }
.screen { height: 100%; border-radius: 41px; background: #F2F2F7; color: #111; overflow: hidden; display: flex; flex-direction: column; font-family: var(--mm-font-body); padding: 0 14px; }
.status { display: flex; justify-content: space-between; align-items: center; height: 46px; font-weight: 600; font-size: 14px; padding-inline: 14px; }
.island { width: 96px; height: 28px; background: #000; border-radius: 20px; }
.sig { width: 40px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #111 70%, #1112 70%); }
.mock-title { font-size: 30px; font-weight: 700; letter-spacing: -.01em; margin-top: 12px; }
.mock-cap { font-size: 12px; color: #6E6E73; margin-bottom: 10px; }
.mock-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.mock-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: .5px solid #E5E5EA; }
.mock-list li:last-child { border-bottom: 0; }
.mock-list .fl { font-size: 20px; width: 24px; text-align: center; }
.mock-list .cn { display: flex; flex-direction: column; line-height: 1.15; }
.mock-list .cn b { font-size: 15px; }
.mock-list .cn small { font-size: 11px; color: #8E8E93; }
.mock-list .am { margin-inline-start: auto; font-size: 17px; }
.mock-list .home .am { color: #0E7C61; font-weight: 600; }
.mock-list .ch { width: 14px; height: 10px; border-inline-start: 2px solid #0E7C61; border-bottom: 2px solid #0E7C61; opacity: .7; }
.tabs { margin-top: auto; margin-bottom: 18px; align-self: center; display: flex; gap: 26px; padding: 10px 22px; border-radius: 999px; background: #ffffffcc; box-shadow: 0 4px 16px #0001; font-size: 10px; color: #8E8E93; }
.tabs .on { color: #0E7C61; }

/* Sections */
.section { padding-block: 80px; border-top: 1px solid var(--line); }
.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon { color: var(--accent); width: 30px; height: 30px; margin-bottom: 16px; }
.feature p { margin: 0; }

.pro { background: radial-gradient(1200px 500px at 80% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%); }
.pro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.pro-list { list-style: none; margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 14px; }
.pro-list li { display: flex; gap: 12px; color: var(--text); }
.pro-list .icon { color: var(--accent); }
@media (max-width: 900px) { .pro-grid { grid-template-columns: 1fr; } }

.privacy-points { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.privacy-points li { border-inline-start: 3px solid var(--accent); padding-inline-start: 18px; }
.link { font-weight: 600; text-decoration: none; }
[dir="rtl"] .link { unicode-bidi: plaintext; }

.lang-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lang-list li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--text); font-size: .95rem; }

.closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.closing-inner img { border-radius: 22px; }
.closing-inner .note { max-width: 36em; }

/* Prose pages */
.prose { max-width: 760px; padding-block: 64px 80px; }
.prose.wide { max-width: 920px; }
.prose.center { text-align: center; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose .meta { color: var(--mm-product-name-on-dark); font-size: .95rem; }
.prose li { margin-bottom: .4em; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-block: 28px; }
.summary h2 { margin-top: 0; font-size: 1.25rem; }
.summary ul { margin: 0; padding-inline-start: 1.2em; color: var(--text); }
.faq-group h2 { margin-bottom: .6em; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; color: var(--text); font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { padding-bottom: 16px; margin: 0; }
.contact { margin-top: 48px; padding: 24px 28px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.contact h2 { margin-top: 0; }
.facts { border-collapse: collapse; width: 100%; }
.facts th, .facts td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { color: var(--text); width: 34%; font-weight: 600; padding-inline-end: 16px; }
.assets { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.asset { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; gap: 4px; }
.asset .thumb { height: 140px; border-radius: 12px; display: grid; place-items: center; background: #0B0B0C; margin-bottom: 8px; padding: 16px; }
.asset.light .thumb { background: #fff; }
.asset .thumb img { max-height: 100%; width: auto; border-radius: 12px; }
.asset small { color: var(--mm-product-name-on-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: .9rem; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.foot-top img { height: 22px; width: auto; }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-top nav a { color: var(--text); text-decoration: none; }
.fine { color: var(--mm-product-name-on-dark); margin: 0 0 6px; }
