@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Nunito:wght@600;700;800&display=swap");

/* Medoxo v2 — design system rooted in the logo's DNA
   Plus Jakarta Sans (matches the wordmark) + rounded shapes +
   navy / mid-blue / sky palette pulled straight from the artwork.
   No serifs, no hairlines, no concept-store. */

:root {
  /* Pulled from the logo */
  --navy-900: #0F2A4D;
  --navy-800: #163C6F;
  --navy-700: #1F4F8C;   /* wordmark color */
  --navy-600: #2E68A8;
  --blue-500: #3E8BD4;
  --blue-400: #6BABE0;
  --blue-300: #9CC6EC;
  --blue-200: #BFDCF2;
  --blue-100: #E1EEF9;
  --blue-50:  #F0F7FD;

  /* Surfaces */
  --cream:    #FBF9F4;
  --paper:    #FFFFFF;
  --warm-50:  #FAF5EC;

  /* Warm accent — used sparingly */
  --sun-400:  #F4A93B;
  --sun-200:  #FCE3B0;

  /* Soft, sparse "ok green" for trust marks */
  --mint-500: #2EA678;

  /* Semantic */
  --bg:        var(--cream);
  --surface:   var(--paper);
  --surface-2: var(--blue-50);
  --fg:        var(--navy-900);
  --fg-soft:   color-mix(in oklab, var(--navy-900) 65%, transparent);
  --fg-mute:   color-mix(in oklab, var(--navy-900) 45%, transparent);
  --line:      color-mix(in oklab, var(--navy-700) 14%, transparent);
  --line-soft: color-mix(in oklab, var(--navy-700) 8%,  transparent);

  --accent:    var(--navy-700);
  --accent-2:  var(--blue-500);

  /* Density (mutable) */
  --d: 1;
  --s-1: calc(8px  * var(--d));
  --s-2: calc(16px * var(--d));
  --s-3: calc(24px * var(--d));
  --s-4: calc(40px * var(--d));
  --s-5: calc(64px * var(--d));
  --s-6: calc(96px * var(--d));
  --s-7: calc(140px * var(--d));

  --r-1: 12px;
  --r-2: 20px;
  --r-3: 28px;
  --r-4: 40px;

  /* Type */
  --font: "Plus Jakarta Sans", "Nunito", -apple-system, BlinkMacSystemFont,
          "Segoe UI", system-ui, sans-serif;

  /* Shadows tinted with brand blue */
  --shadow-sm: 0 2px 6px -2px color-mix(in oklab, var(--navy-700) 18%, transparent);
  --shadow:    0 18px 40px -22px color-mix(in oklab, var(--navy-700) 35%, transparent),
               0 2px 6px -3px color-mix(in oklab, var(--navy-700) 16%, transparent);
  --shadow-lg: 0 40px 80px -30px color-mix(in oklab, var(--navy-700) 45%, transparent),
               0 4px 12px -4px color-mix(in oklab, var(--navy-700) 18%, transparent);
}

/* Medoxo Halo — homepage redesign, September 2026. Scoped to keep public subpages stable. */
.mx-home {
  --mx-navy: #061b3f;
  --mx-blue: #1769ff;
  --mx-mint: #10d4bc;
  --mx-soft: #58708f;
  --mx-page: #f5f9ff;
  --mx-line: rgba(16, 55, 104, 0.11);
  --mx-gradient: linear-gradient(130deg, var(--mx-blue) 0%, #167ff7 44%, var(--mx-mint) 100%);
  min-width: 320px;
  overflow-x: clip;
  color: var(--mx-navy);
  background: var(--mx-page);
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
}
.mx-home button, .mx-home input, .mx-home select { font: inherit; }
.mx-home main { display: block; }
.mx-fa {
  --fa-src: none;
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--fa-src) center / contain no-repeat;
  mask: var(--fa-src) center / contain no-repeat;
}
.fa-arrow-right { --fa-src: url("./icons/fa/fa-arrow-right.svg"); }
.fa-arrow-right-arrow-left { --fa-src: url("./icons/fa/fa-arrow-right-arrow-left.svg"); }
.fa-badge-check { --fa-src: url("./icons/fa/fa-badge-check.svg"); }
.fa-barcode { --fa-src: url("./icons/fa/fa-barcode.svg"); }
.fa-bell { --fa-src: url("./icons/fa/fa-bell.svg"); }
.fa-boxes-stacked { --fa-src: url("./icons/fa/fa-boxes-stacked.svg"); }
.fa-calendar-check { --fa-src: url("./icons/fa/fa-calendar-check.svg"); }
.fa-calendar-exclamation { --fa-src: url("./icons/fa/fa-calendar-exclamation.svg"); }
.fa-circle-play { --fa-src: url("./icons/fa/fa-circle-play.svg"); }
.fa-ellipsis { --fa-src: url("./icons/fa/fa-ellipsis.svg"); }
.fa-list-check { --fa-src: url("./icons/fa/fa-list-check.svg"); }
.fa-people-roof { --fa-src: url("./icons/fa/fa-people-roof.svg"); }
.fa-sparkles { --fa-src: url("./icons/fa/fa-sparkles.svg"); }
.fa-store-slash { --fa-src: url("./icons/fa/fa-store-slash.svg"); }
.fa-user-plus { --fa-src: url("./icons/fa/fa-user-plus.svg"); }

.mx-nav-shell {
  position: relative;
  z-index: 50;
  width: min(1320px, calc(100% - 64px));
  margin: 20px auto 0;
  padding: 0;
}
.mx-home .mx-nav {
  max-width: none;
  height: 88px;
  margin: 0;
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 50px rgba(18, 60, 120, 0.08);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.mx-brand { width: 154px; height: 44px; display: flex; align-items: center; flex: 0 0 auto; }
.mx-brand img { width: 154px; height: auto; }
.mx-site-nav { margin-left: auto; }
.mx-site-nav ul { margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; list-style: none; }
.mx-site-nav a { position: relative; padding: 12px 0; color: #49627f; font-size: 14px; font-weight: 700; }
.mx-site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--mx-gradient); transition: right .2s ease; }
.mx-site-nav a:hover::after, .mx-site-nav a:focus-visible::after { right: 0; }
.mx-home .mx-menu-toggle { width: 44px; height: 44px; display: none; place-items: center; padding: 0; border: 1px solid var(--mx-line); border-radius: 14px; color: var(--mx-navy); background: white; }
.mx-menu-toggle .mx-fa { width: 18px; height: 18px; }
.mx-button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 17px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mx-button:hover { transform: translateY(-2px); }
.mx-button .mx-fa { width: 17px; height: 17px; }
.mx-button-primary { color: white; background: var(--mx-gradient); box-shadow: 0 12px 25px rgba(23, 105, 255, .25); }
.mx-button-secondary { color: var(--mx-navy); background: rgba(255, 255, 255, .86); border-color: rgba(13, 45, 86, .1); box-shadow: 0 14px 42px rgba(15, 62, 126, .09); }
.mx-home .language-switcher { margin-left: 0; }
.mx-home .language-switcher select { height: 46px; padding: 0 34px 0 14px; border-radius: 15px; border-color: var(--mx-line); color: var(--mx-navy); background-color: white; font-weight: 800; }

.mx-hero {
  position: relative;
  width: min(1360px, calc(100% - 32px));
  min-height: 780px;
  margin: -108px auto 0;
  padding: 190px max(42px, 6vw) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(510px, .98fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  overflow: hidden;
  border-radius: 0 0 52px 52px;
  background: radial-gradient(circle at 18% 52%, rgba(23,105,255,.10), transparent 25%), radial-gradient(circle at 78% 35%, rgba(16,212,188,.11), transparent 26%), linear-gradient(180deg,#fbfdff 0%,#f4f9ff 100%);
}
.mx-hero-copy { position: relative; z-index: 3; max-width: 670px; }
.mx-status-line { width: fit-content; margin-bottom: 26px; padding: 9px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(23,105,255,.12); border-radius: 99px; color: #345675; background: rgba(255,255,255,.74); box-shadow: 0 7px 22px rgba(14,70,140,.06); font-size: 12px; font-weight: 800; letter-spacing: .025em; }
.mx-status-line span { width: 8px; height: 8px; border-radius: 50%; background: var(--mx-mint); box-shadow: 0 0 0 5px rgba(16,212,188,.13); }
.mx-home .mx-hero h1 { max-width: 690px; margin: 0; color: var(--mx-navy); font-size: clamp(54px,5.35vw,80px); font-weight: 800; line-height: .99; letter-spacing: -.058em; text-wrap: balance; }
.mx-home .mx-hero h1 em { color: transparent; background: var(--mx-gradient); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.mx-hero-lead { max-width: 615px; margin: 27px 0 0; color: var(--mx-soft); font-size: 18px; line-height: 1.72; }
.mx-hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.mx-hero-proof { margin-top: 32px; display: flex; align-items: center; gap: 13px; color: #59728e; font-size: 12px; font-weight: 700; }
.mx-hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: #a7bdd3; }
.mx-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.mx-orb-blue { width: 370px; height: 370px; left: -220px; bottom: -140px; background: rgba(23,105,255,.09); }
.mx-orb-mint { width: 420px; height: 420px; top: 110px; right: -230px; background: rgba(16,212,188,.11); }
.mx-hero-watermark { position: absolute; width: 620px; right: 4%; top: 10%; opacity: .028; transform: rotate(-7deg); pointer-events: none; }
.mx-hero-product { position: relative; z-index: 2; min-height: 610px; display: grid; place-items: center; }
.mx-product-halo { position: absolute; width: 540px; height: 540px; border-radius: 45% 55% 60% 40% / 46% 40% 60% 54%; background: linear-gradient(145deg,rgba(23,105,255,.15),rgba(16,212,188,.20)); transform: rotate(-8deg); }
.mx-phone { position: relative; z-index: 2; width: 306px; height: 656px; padding: 8px; border: 1px solid rgba(255,255,255,.9); border-radius: 46px; background: #071a39; box-shadow: 0 40px 90px rgba(7,41,89,.26),0 0 0 6px rgba(255,255,255,.82); transform: rotate(2.5deg); }
.mx-phone img { width: 100%; height: 100%; object-fit: contain; border-radius: 37px; background: #f7f6fb; }
.mx-phone-button { position: absolute; left: -5px; width: 4px; border-radius: 4px 0 0 4px; background: #0d346c; }
.mx-phone-button-one { top: 115px; height: 54px; }
.mx-phone-button-two { top: 185px; height: 78px; }
.mx-floating-card { position: absolute; z-index: 4; min-width: 205px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.93); box-shadow: 0 24px 50px rgba(17,66,125,.14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.mx-floating-card > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.mx-floating-card small { color: #7a8fa7; font-size: 8px; font-weight: 700; }
.mx-floating-card strong { color: #18385e; font-size: 10px; }
.mx-floating-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; }
.mx-floating-icon .mx-fa { width: 17px; height: 17px; }
.mx-floating-icon-mint { color: #05a98f; background: #dff9f4; }
.mx-floating-icon-blue { color: var(--mx-blue); background: #e3efff; }
.mx-floating-expiry { top: 94px; left: 0; }
.mx-floating-stock { right: 0; bottom: 112px; }

.mx-reassurance { position: relative; z-index: 5; width: min(1240px,calc(100% - 64px)); margin: -38px auto 0; padding: 12px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(13,45,86,.09); border-radius: 27px; background: rgba(255,255,255,.94); box-shadow: 0 24px 60px rgba(20,64,122,.11); }
.mx-reassurance > div { min-height: 70px; padding: 0 17px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--mx-line); color: #214268; font-size: 11px; }
.mx-reassurance > div:last-child { border-right: 0; }
.mx-reassurance > div > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; border-radius: 14px; color: var(--mx-blue); background: #eaf2ff; }
.mx-reassurance .mx-fa { width: 20px; height: 20px; }
.mx-reassurance strong { font-weight: 800; }

.mx-section { width: min(1240px,calc(100% - 64px)); margin: 0 auto; padding: 135px 0; }
.mx-benefits { position: relative; }
.mx-anchor-alias { position: absolute; top: 0; left: 0; }
.mx-section-heading { margin-bottom: 54px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; }
.mx-kicker { color: var(--mx-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mx-home .mx-section h2 { margin: 14px 0 0; color: var(--mx-navy); font-size: clamp(43px,4.4vw,64px); line-height: 1.06; letter-spacing: -.048em; }
.mx-section-heading > p, .mx-household-copy > p { margin: 0; color: var(--mx-soft); font-size: 16px; line-height: 1.75; }
.mx-bento-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 330px 330px; gap: 20px; }
.mx-feature-card { position: relative; overflow: hidden; padding: 34px; border: 1px solid var(--mx-line); border-radius: 31px; background: white; box-shadow: 0 14px 42px rgba(15,62,126,.09); }
.mx-home .mx-feature-card h3 { max-width: 440px; margin: 24px 0 10px; color: var(--mx-navy); font-size: 24px; line-height: 1.18; letter-spacing: -.035em; }
.mx-feature-card > p { max-width: 500px; margin: 0; color: var(--mx-soft); font-size: 13px; line-height: 1.65; }
.mx-card-index { position: absolute; top: 34px; right: 34px; color: #9cb1c8; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.mx-card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; color: var(--mx-blue); background: #e8f1ff; }
.mx-card-icon .mx-fa { width: 23px; height: 23px; }
.mx-feature-stock { grid-row: span 2; background: linear-gradient(165deg,#fff 0%,#edf5ff 100%); }
.mx-stock-summary { margin-top: 42px; padding: 15px; display: grid; gap: 9px; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 18px 44px rgba(17,65,125,.1); }
.mx-stock-summary div { min-height: 70px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #e8eef7; border-radius: 16px; color: #3b5572; font-size: 12px; font-weight: 700; }
.mx-stock-summary strong { min-width: 38px; padding: 8px; border-radius: 12px; color: var(--mx-blue); background: #e8f1ff; text-align: center; }
.mx-feature-expiry { background: linear-gradient(155deg,#f5fffd,#e4faf6); }
.mx-expiry-chip { position: absolute; right: 31px; bottom: 31px; width: 132px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 23px; color: #087d6e; background: rgba(255,255,255,.84); box-shadow: 0 15px 35px rgba(5,135,114,.1); }
.mx-expiry-chip strong { font-size: 32px; line-height: 1; }
.mx-expiry-chip span { margin-top: 5px; font-size: 9px; font-weight: 700; }
.mx-feature-reminders { background: linear-gradient(155deg,#fff,#f2f6ff); }
.mx-reminder-list { position: absolute; left: 34px; right: 34px; bottom: 28px; display: grid; gap: 8px; }
.mx-reminder-list div { min-height: 54px; padding: 0 15px; display: grid; grid-template-columns: 54px 1fr 31px; align-items: center; gap: 10px; border-radius: 15px; background: white; color: #425b78; font-size: 10px; }
.mx-reminder-list span { color: var(--mx-blue); font-weight: 800; }
.mx-reminder-list i { width: 31px; height: 18px; border-radius: 99px; background: var(--mx-mint); box-shadow: inset -12px 0 0 rgba(255,255,255,.6); }
.mx-feature-alternatives { color: white; background: linear-gradient(145deg,#071f46,#0b4373); }
.mx-feature-alternatives .mx-card-index { color: rgba(255,255,255,.42); }
.mx-feature-alternatives .mx-card-icon { color: #75f3df; background: rgba(255,255,255,.1); }
.mx-home .mx-feature-alternatives h3 { color: white; }
.mx-feature-alternatives > p { color: rgba(255,255,255,.7); }
.mx-feature-alternatives > a { margin-top: 24px; display: inline-flex; align-items: center; gap: 9px; color: white; font-size: 12px; font-weight: 800; }
.mx-feature-alternatives > a .mx-fa { width: 12px; height: 12px; color: var(--mx-mint); }

.mx-how-story { width: min(1360px,calc(100% - 32px)); min-height: 190vh; padding: 50px 0 120px; }
.mx-how-panel { position: sticky; top: clamp(18px,3vh,32px); padding: 90px max(50px,7vw); display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; overflow: hidden; border-radius: 48px; color: white; background: linear-gradient(145deg,#061b3f 0%,#092c62 65%,#08456f 100%); }
.mx-how-copy .mx-kicker { color: #63ead9; }
.mx-home .mx-how-copy h2 { margin: 20px 0 0; color: white; font-size: clamp(52px,5vw,72px); }
.mx-home .mx-how-copy h2 em { color: #63ead9; font-style: normal; }
.mx-how-copy p { max-width: 440px; margin: 25px 0; color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.75; }
.mx-how-copy > a { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 13px; font-weight: 800; }
.mx-how-copy > a .mx-fa { width: 12px; height: 12px; color: var(--mx-mint); }
.mx-steps-stack { display: grid; gap: 13px; }
.mx-step-card { width: 100%; min-height: 124px; padding: 23px 25px; display: grid; grid-template-columns: 45px 1fr 42px; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 23px; color: white; background: rgba(255,255,255,.07); text-align: left; cursor: pointer; transition: transform .32s ease,color .32s ease,background .32s ease,border-color .32s ease,box-shadow .32s ease; }
.mx-step-card > span:first-child { color: rgba(255,255,255,.42); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.mx-step-card > span:nth-child(2) { display: flex; flex-direction: column; }
.mx-step-card strong { font-size: 15px; }
.mx-step-card small { margin-top: 6px; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.5; }
.mx-step-card i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: white; background: rgba(255,255,255,.1); font-style: normal; }
.mx-step-card i .mx-fa { width: 18px; height: 18px; }
.mx-step-card.is-active { color: var(--mx-navy); border-color: transparent; background: white; box-shadow: 0 20px 50px rgba(0,0,0,.18); transform: translateX(-20px); }
.mx-step-card.is-active > span:first-child { color: var(--mx-blue); }
.mx-step-card.is-active small { color: var(--mx-soft); }
.mx-step-card.is-active i { color: var(--mx-blue); background: #e8f1ff; }
.mx-step-card:focus-visible { outline: 3px solid #63ead9; outline-offset: 4px; }

.mx-household { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 110px; }
.mx-household-visual { position: relative; min-height: 540px; overflow: hidden; border-radius: 44px; background: linear-gradient(145deg,#e5f0ff,#e7fcf8); }
.mx-shared-card { position: absolute; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.91); box-shadow: 0 28px 70px rgba(15,62,126,.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.mx-shared-main { width: 340px; min-height: 355px; left: 50%; top: 50%; padding: 35px; border-radius: 30px; transform: translate(-50%,-50%); }
.mx-shared-main > span { color: var(--mx-blue); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.mx-home .mx-shared-main h3 { margin: 15px 0 22px; color: var(--mx-navy); font-size: 29px; line-height: 1.15; letter-spacing: -.04em; }
.mx-members { display: flex; margin-bottom: 28px; }
.mx-members i { width: 42px; height: 42px; margin-right: -8px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; color: white; background: var(--mx-gradient); font-size: 11px; font-style: normal; font-weight: 800; }
.mx-members i:last-child { color: var(--mx-blue); background: #e6f0ff; }
.mx-shared-stat { min-height: 47px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--mx-line); color: #60758d; font-size: 11px; }
.mx-shared-stat strong { color: var(--mx-navy); font-size: 16px; }
.mx-shared-top, .mx-shared-bottom { min-width: 190px; padding: 15px 18px; display: flex; align-items: center; gap: 12px; border-radius: 19px; color: #27496d; font-size: 11px; }
.mx-shared-top .mx-fa, .mx-shared-bottom .mx-fa { width: 18px; height: 18px; color: var(--mx-blue); }
.mx-shared-top { top: 70px; right: 22px; }
.mx-shared-bottom { left: 22px; bottom: 70px; }
.mx-home .mx-household-copy h2 { max-width: 560px; }
.mx-household-copy > p { margin-top: 24px; }
.mx-household-copy ul { margin: 29px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.mx-household-copy li { display: flex; align-items: center; gap: 12px; color: #365777; font-size: 13px; font-weight: 700; }
.mx-household-copy li .mx-fa { width: 17px; height: 17px; color: var(--mx-mint); }

.mx-download { width: min(1360px,calc(100% - 32px)); padding-top: 60px; }
.mx-download-panel { padding: 76px max(48px,7vw); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 90px; overflow: hidden; border-radius: 45px; color: white; background: linear-gradient(125deg,#0a2c64 0%,#1769ff 56%,#10cbb6 125%); box-shadow: 0 30px 80px rgba(22,101,230,.25); }
.mx-download-panel .mx-kicker { color: #8ff5e5; }
.mx-home .mx-download-panel h2 { max-width: 650px; color: white; }
.mx-download-panel p { max-width: 590px; margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; }
.mx-download-proof { margin-top: 27px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; }
.mx-download-proof .mx-fa { width: 17px; height: 17px; color: #8ff5e5; }
.mx-store-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.mx-store-actions a { width: 250px; max-width: 100%; display: grid; place-items: center; padding: 0; border: 0; border-radius: 13px; background: transparent; transition: transform .18s ease,filter .18s ease; }
.mx-store-actions a:hover { transform: translateY(-3px); background: transparent; filter: brightness(1.06); }
.mx-store-actions a:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.mx-store-actions img { display: block; width: 100%; height: auto; object-fit: contain; }

.mx-footer { width: min(1240px,calc(100% - 64px)); margin: 0 auto; padding: 60px 0 28px; display: grid; grid-template-columns: 270px 1fr; gap: 50px; border-top: 1px solid var(--mx-line); }
.mx-footer-brand img { width: 154px; }
.mx-footer-brand p { margin: 9px 0 0; color: var(--mx-soft); font-size: 11px; }
.mx-footer-links { display: flex; align-items: flex-start; justify-content: flex-end; flex-wrap: wrap; gap: 28px; color: #4b6683; font-size: 11px; font-weight: 700; }
.mx-footer-meta { grid-column: 1/-1; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid var(--mx-line); color: #8295aa; font-size: 9px; }

@media (max-width: 1180px) {
  .mx-home .mx-menu-toggle { display: grid; order: 2; margin-left: auto; }
  .mx-home .language-switcher { order: 3; }
  .mx-home .mx-nav > .mx-button { order: 4; }
  .mx-site-nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0; padding: 12px; border: 1px solid var(--mx-line); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: 0 24px 50px rgba(17,66,125,.14); }
  .mx-site-nav[hidden] { display: none !important; }
  .mx-site-nav ul { display: grid; gap: 3px; }
  .mx-site-nav a { display: block; padding: 12px 14px; border-radius: 12px; }
  .mx-site-nav a:hover { background: #eef5ff; }
  .mx-site-nav a::after { display: none; }
}

@media (max-width: 1080px) {
  .mx-hero { grid-template-columns: 1fr 440px; gap: 30px; padding-left: 45px; padding-right: 45px; }
  .mx-home .mx-hero h1 { font-size: 57px; }
  .mx-phone { transform: scale(.9) rotate(2deg); }
  .mx-floating-expiry { left: -25px; }
  .mx-floating-stock { right: -25px; }
  .mx-household { gap: 60px; }
}

@media (max-width: 760px) {
  .mx-nav-shell { width: calc(100% - 28px); margin-top: 12px; }
  .mx-home .mx-nav { height: 72px; padding: 8px 9px 8px 13px; gap: 8px; border-radius: 20px; }
  .mx-brand { width: 118px; height: 36px; }
  .mx-brand img { width: 112px; }
  .mx-home .language-switcher { display: none; }
  .mx-home .mx-menu-toggle { width: 42px; height: 42px; }
  .mx-home .mx-nav > .mx-button { min-height: 42px; padding: 0 15px; border-radius: 13px; font-size: 12px; }
  .mx-hero { width: 100%; min-height: 0; margin-top: -84px; padding: 128px 22px 70px; grid-template-columns: 1fr; gap: 38px; border-radius: 0 0 34px 34px; }
  .mx-status-line { margin-bottom: 20px; font-size: 10px; }
  .mx-home .mx-hero h1 { font-size: 45px; line-height: 1.02; }
  .mx-hero-lead { margin-top: 21px; font-size: 15px; line-height: 1.65; }
  .mx-hero-actions { margin-top: 26px; }
  .mx-hero-actions .mx-button { width: 100%; min-height: 51px; font-size: 13px; }
  .mx-hero-proof { margin-top: 24px; flex-wrap: wrap; gap: 8px; font-size: 9px; }
  .mx-hero-product { min-height: 540px; margin-top: -10px; }
  .mx-product-halo { width: 360px; height: 390px; }
  .mx-phone { width: 254px; height: 538px; border-radius: 40px; transform: rotate(2deg); }
  .mx-phone img { border-radius: 31px; }
  .mx-floating-card { min-width: 170px; padding: 11px; }
  .mx-floating-expiry { top: 74px; left: -7px; }
  .mx-floating-stock { right: -4px; bottom: 74px; }
  .mx-floating-card strong { font-size: 8px; }
  .mx-reassurance { width: calc(100% - 32px); grid-template-columns: 1fr 1fr; padding: 8px; }
  .mx-reassurance > div { min-height: 62px; padding: 0 10px; border-right: 0; border-bottom: 1px solid var(--mx-line); font-size: 9px; }
  .mx-reassurance > div:nth-child(3), .mx-reassurance > div:nth-child(4) { border-bottom: 0; }
  .mx-section { width: calc(100% - 36px); padding: 88px 0; }
  .mx-section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 35px; }
  .mx-home .mx-section h2 { font-size: 38px; }
  .mx-section-heading > p, .mx-household-copy > p { font-size: 14px; }
  .mx-bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mx-feature-card, .mx-feature-stock { min-height: 360px; grid-row: auto; }
  .mx-feature-reminders { min-height: 410px; }
  .mx-how-story { width: 100%; min-height: 0; padding-top: 20px; }
  .mx-how-panel { position: static; padding: 65px 22px; grid-template-columns: 1fr; gap: 45px; border-radius: 34px; }
  .mx-home .mx-how-copy h2 { font-size: 49px; }
  .mx-step-card { grid-template-columns: 32px 1fr 36px; padding: 18px 16px; }
  .mx-step-card i { width: 36px; height: 36px; }
  .mx-step-card.is-active { transform: none; }
  .mx-household { grid-template-columns: 1fr; gap: 55px; }
  .mx-household-visual { min-height: 440px; }
  .mx-shared-main { width: 285px; min-height: 310px; padding: 28px; }
  .mx-home .mx-shared-main h3 { font-size: 25px; }
  .mx-shared-top { right: -12px; }
  .mx-shared-bottom { left: -12px; }
  .mx-download { width: 100%; padding-bottom: 30px; }
  .mx-download-panel { padding: 62px 22px; grid-template-columns: 1fr; gap: 45px; border-radius: 32px; }
  .mx-home .mx-download-panel h2 { font-size: 40px; }
  .mx-store-actions a { min-width: 0; }
  .mx-footer { width: calc(100% - 36px); grid-template-columns: 1fr; }
  .mx-footer-links { justify-content: flex-start; gap: 18px; }
  .mx-footer-meta { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .mx-home .mx-nav > .mx-button { padding: 0 12px; }
  .mx-home .mx-hero h1 { font-size: 41px; }
  .mx-status-line { max-width: 100%; line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  .mx-home { scroll-behavior: auto; }
  .mx-home *, .mx-home *::before, .mx-home *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

[data-mode="dark"] {
  --cream:    #0B1A30;
  --paper:    #102544;
  --warm-50:  #142A4B;
  --bg:       var(--cream);
  --surface:  var(--paper);
  --surface-2:#0E2143;
  --fg:       #EEF5FC;
  --fg-soft:  color-mix(in oklab, #EEF5FC 78%, transparent);
  --fg-mute:  color-mix(in oklab, #EEF5FC 55%, transparent);
  --line:     color-mix(in oklab, #EEF5FC 14%, transparent);
  --line-soft:color-mix(in oklab, #EEF5FC 8%,  transparent);
  --accent:   #7AB3E8;
  --accent-2: #BFDCF2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--fg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Layout */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: var(--s-7) 0; }
.section-tight { padding: var(--s-6) 0; }

/* Typography */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--navy-900);
  text-wrap: balance;
  margin: 0;
}
.h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy-900);
  text-wrap: balance;
  margin: 0;
}
.h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 56ch;
  margin: 0;
}
.muted { color: var(--fg-mute); }

[data-mode="dark"] .h1, [data-mode="dark"] .h2 { color: var(--fg); }

/* Pills & buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  color: var(--navy-700);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--blue-500);
}
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy-700);
  color: white;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--navy-800); }
.btn-ghost {
  background: var(--surface);
  color: var(--navy-700);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--blue-50); }
.btn-sun {
  background: var(--sun-400);
  color: var(--navy-900);
}
.btn-arrow svg { transition: transform .15s; }
.btn-arrow:hover svg { transform: translateX(2px); }

/* Nav */
.nav-shell {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 0 16px;
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 14px 8px 12px;
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  backdrop-filter: saturate(120%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--navy-700);
}
.nav-brand img { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; margin: -10px 0; }
.nav-links {
  display: flex; gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-soft);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--blue-50); color: var(--navy-700); }
.nav-professionals-mobile {
  display: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy-700);
  background: var(--blue-50);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--r-3);
  padding: var(--s-4);
  border: 1px solid var(--line-soft);
}
.card-soft {
  background: var(--blue-50);
  border-radius: var(--r-3);
  padding: var(--s-4);
}
.card-accent {
  background: var(--navy-700);
  color: white;
  border-radius: var(--r-3);
  padding: var(--s-4);
}
.card-accent .h3, .card-accent h2 { color: white; }
.card-accent p { color: rgba(255,255,255,0.85); }

/* Hero */
.hero {
  position: relative;
  padding: calc(40px * var(--d)) 0 var(--s-6);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 60% at 78% 35%, var(--blue-100) 0%, transparent 60%),
    radial-gradient(40% 50% at 12% 85%, var(--blue-50) 0%, transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: var(--s-3); }
.hero-pills { margin-bottom: var(--s-2); }
.hero-ctas { display: flex; gap: 12px; margin-top: var(--s-3); flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--fg-mute);
  font-weight: 600;
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatar {
  width: 28px; height: 28px; border-radius: 999px;
  border: 2px solid var(--surface);
  margin-left: -8px;
}
.hero-trust .avatar:first-child { margin-left: 0; }

/* Hero visual: tilted card holding the demo */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--blue-100) 0%, transparent 60%);
  pointer-events: none;
}
.hero-float {
  position: absolute;
  background: var(--paper);
  border-radius: var(--r-2);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
  animation: float-bob 6s ease-in-out infinite;
}
.hero-float strong { color: var(--mint-500); font-weight: 800; }
.hero-float .ico {
  width: 32px; height: 32px;
  border-radius: 999px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-float-1 { top: 8%; left: -4%; animation-delay: -1s; }
.hero-float-2 { bottom: 14%; right: -4%; animation-delay: -3s; }
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Logo strip / trust row */
.trustbar {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.trustbar-row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  color: var(--fg-mute);
  font-size: 14px;
  font-weight: 600;
}
.trustbar-row .tb-item { display: flex; align-items: center; gap: 8px; }

.trustbar .wrap.trustbar-row {
  padding: 20px 32px;
}

/* Uses grid */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.use-card {
  border-radius: var(--r-3);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.use-card .ill {
  width: 96px; height: 96px;
  margin-bottom: 8px;
}
.use-card p { color: var(--fg-soft); font-size: 15px; line-height: 1.55; margin: 0; }
.use-card .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
}
.use-1 { background: var(--blue-50); }
.use-2 { background: var(--navy-700); color: white; }
.use-2 .h3 { color: white; }
.use-2 p { color: rgba(255,255,255,0.82); }
.use-2 .tag { color: rgba(255,255,255,0.65); }
.use-3 { background: var(--warm-50); }

/* How */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--r-3);
  border: 1px solid var(--line-soft);
  min-height: 280px;
}
.step .num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-700);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.step .ill {
  width: 112px;
  height: 80px;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--blue-50);
}
.step .ill img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step p { color: var(--fg-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* Showcase */
.showcase {
  position: relative;
  border-radius: var(--r-4);
  padding: var(--s-6) var(--s-5);
  background:
    radial-gradient(80% 100% at 100% 0%, var(--blue-200) 0%, transparent 55%),
    linear-gradient(160deg, var(--blue-100) 0%, var(--blue-50) 100%);
  overflow: hidden;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
.showcase-grid .copy h2 { margin-bottom: 20px; }
.showcase-grid .copy p { margin-bottom: 28px; }
.showcase-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 28px;
}
.stat {
  background: rgba(255,255,255,0.6);
  border-radius: var(--r-2);
  padding: 18px;
}
.stat .big { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy-800); }
.stat .lbl { font-size: 13px; color: var(--fg-mute); margin-top: 2px; font-weight: 600; }

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.principle {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--r-3);
  border: 1px solid var(--line-soft);
}
.principle .check {
  width: 36px; height: 36px; border-radius: 999px;
  background: color-mix(in oklab, var(--mint-500) 18%, transparent);
  color: var(--mint-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.principle h3 { font-size: 17px; margin-bottom: 6px; }
.principle p { color: var(--fg-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* Install */
.install {
  position: relative;
  border-radius: var(--r-4);
  padding: var(--s-6);
  background:
    radial-gradient(70% 60% at 90% 10%, var(--blue-500) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: white;
  overflow: hidden;
}
.install h2 { color: white; max-width: 16ch; }
.install p { color: rgba(255,255,255,0.8); max-width: 50ch; }
.install-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--s-5);
  align-items: center;
  position: relative;
  z-index: 1;
}
.install .stores {
  display: flex; flex-direction: column; gap: 12px;
  align-items: stretch;
}

.install .store-badge-grid {
  margin-top: 0;
}

.install .store-badge-link {
  display: inline-flex;
  width: 100%;
  max-width: 220px;
  height: 64px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  transition: transform .15s, filter .2s;
}

.install .store-badge-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.install .store-badge-link img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.language-switcher select {
  min-width: 64px;
  height: 38px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy-700);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.store-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: white;
  color: var(--navy-900);
  border-radius: 16px;
  font-weight: 700;
}
.store-btn .small { display: block; font-size: 11px; font-weight: 600; color: var(--fg-mute); margin-bottom: 2px; }
.store-btn .big { font-size: 17px; letter-spacing: -0.015em; }

/* FAQ */
.faq-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: var(--s-5);
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border-radius: var(--r-2);
  border: 1px solid var(--line-soft);
  padding: 22px 24px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.faq-item:hover { border-color: var(--blue-200); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.faq-q-title { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: var(--navy-900); }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--navy-700);
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
  flex-shrink: 0;
}
.faq-item[data-open="true"] .faq-toggle {
  background: var(--navy-700);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  margin-top: 12px;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}

[data-mode="dark"] .faq-q-title { color: var(--fg); }

/* Footer */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: var(--s-6) 0 var(--s-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
}
.footer-col a { display: block; padding: 4px 0; color: white; opacity: 0.78; font-size: 14.5px; }
.footer-col span { display: block; padding: 4px 0; color: white; opacity: 0.58; font-size: 14.5px; }
.footer-col a:hover { opacity: 1; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .row { display: flex; align-items: center; gap: 10px; }
.footer-brand .row img { width: 76px; height: 76px; }
.footer-brand .row span { font-weight: 800; font-size: 24px; color: white; letter-spacing: -0.03em; }
.footer-brand p { max-width: 36ch; font-size: 14px; line-height: 1.6; margin: 0; opacity: 0.75; }
.footer-bottom {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  font-size: 13px;
  opacity: 0.7;
}

/* Responsive guards */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-professionals-mobile { display: inline-flex; }
}

@media (max-width: 920px) {
  .hero-grid, .showcase-grid, .install-grid, .faq-grid { grid-template-columns: 1fr; }
  .uses-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-shell {
    top: 12px;
    padding: 0 14px;
  }

  .nav {
    border-radius: 32px;
    padding: 8px 14px 8px 12px;
    gap: 12px;
  }

  .nav-brand img {
    width: 60px;
    height: 60px;
  }

  .nav-brand { font-size: 20px; }
  .nav-professionals-mobile { padding: 8px 10px; font-size: 12.5px; }
  .language-switcher select { min-width: 58px; height: 36px; padding-left: 8px; }

  .nav > .btn-primary {
    display: none;
  }

  .wrap {
    padding: 0 24px;
  }

  .trustbar .wrap.trustbar-row {
    padding: 18px 24px;
  }
}

/* Section headers */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-5);
  align-items: end;
  margin-bottom: var(--s-5);
}
.section-head .right { display: flex; justify-content: flex-end; align-items: flex-end; }
@media (max-width: 920px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .right { justify-content: flex-start; }
}

/* Static page compatibility.
   The home uses the source classes above directly. These rules map the
   existing static pages to the same design system without changing their JS. */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.redirect-card {
  width: min(100%, 560px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-4);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.redirect-card h1 {
  font-size: clamp(32px, 6vw, 54px);
}

.redirect-card p {
  margin: 0;
  color: var(--fg-soft);
}

h1:not(.h1),
h2:not(.h2),
h3:not(.h3) {
  margin: 0;
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

h1:not(.h1) {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
}

h2:not(.h2) {
  font-size: clamp(32px, 3.6vw, 52px);
}

h3:not(.h3) {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 0 16px;
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 14px 8px 12px;
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  backdrop-filter: saturate(120%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy-700);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  margin: -10px 0;
  background: url("./brand/medoxo-logo-icon.png") center / contain no-repeat;
}

.brand-mark img {
  opacity: 0;
}

.brand-copy strong {
  display: block;
}

.brand-copy span {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy-700);
  display: inline-grid;
  place-items: center;
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-nav {
  position: fixed;
  inset: 88px 16px auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: color-mix(in oklab, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .15s, transform .15s;
}

.site-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav[hidden] {
  display: none;
}

.site-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.site-nav a,
.header-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s, transform .15s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--blue-50);
  color: var(--navy-700);
}

.header-install {
  display: none;
  background: var(--navy-700);
  color: white;
  box-shadow: var(--shadow);
}

.header-install::after,
.button-primary::after,
.button-link::after {
  content: "→";
  margin-left: 8px;
}

.site-main {
  padding-top: 32px;
}

.page-shell .section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--s-7) 32px;
}

.page-shell .hero {
  position: relative;
  padding-top: calc(40px * var(--d));
  overflow: hidden;
}

.page-shell .hero-grid,
.split-grid,
.install-conversion-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-5);
  align-items: center;
}

.page-shell .hero-grid > *,
.split-grid > *,
.install-conversion-grid > *,
.section-head > *,
.faq-layout > * {
  min-width: 0;
}

.hero-copy,
.support-contact-card,
.professional-note-card,
.legal-meta-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.hero-copy,
.hero-copy .lead,
.page-shell p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.lead,
.intro-text {
  margin: 0;
  max-width: 56ch;
  color: var(--fg-soft);
  font-size: 19px;
  line-height: 1.55;
}

.hero-cta-row,
.cta-row,
.trust-inline,
.chip-row,
.install-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-primary,
.button-secondary,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}

.button-primary {
  background: var(--navy-700);
  color: white;
  box-shadow: var(--shadow);
}

.button-primary:hover,
.header-install:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--surface);
  color: var(--navy-700);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: var(--blue-50);
}

.button-link {
  color: var(--navy-700);
  padding-inline: 0;
}

.trust-inline span,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy-700);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
}

.trust-inline span::before,
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue-500);
}

.page-shell .hero-visual,
.panel,
.trust-panel,
.support-card,
.legal-section,
.install-mini-card,
.faq-group {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-3);
  box-shadow: var(--shadow);
}

.page-shell .hero-visual {
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  align-items: center;
  justify-items: center;
  aspect-ratio: auto;
  min-height: 0;
}

.page-shell .hero-visual img {
  width: 100%;
  min-height: 260px;
  max-height: 320px;
  object-fit: contain;
}

.visual-note {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--r-2);
  color: var(--fg-soft);
  background: var(--blue-50);
  font-weight: 700;
}

.professional-hero-visual {
  position: relative;
  min-height: 520px !important;
  align-content: start;
  justify-items: stretch !important;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 88% 10%, rgba(62,139,212,0.28) 0%, transparent 68%),
    linear-gradient(155deg, #f8fbff 0%, #e9f3fb 100%) !important;
}

.professionals-page .hero-copy h1 {
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1.02;
}

.page-shell .professional-hero-visual img {
  min-height: 0;
  max-height: none;
}

.professional-visual-intro {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 6px;
}

.professional-visual-intro > span {
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.professional-visual-intro > strong {
  max-width: 18ch;
  color: var(--navy-900);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.professional-visual-scene {
  position: relative;
  min-height: 360px;
}

.professional-poster,
.professional-app-preview {
  position: absolute;
  border: 1px solid rgba(15,42,77,0.1);
  background: white;
  box-shadow: var(--shadow-lg);
}

.professional-poster {
  left: 2%;
  top: 38px;
  width: 48%;
  max-width: 250px;
  padding: 20px;
  border-radius: 20px;
  transform: rotate(-5deg);
}

.professional-poster-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-700);
  font-size: 16px;
  font-weight: 800;
}

.professional-poster-brand img {
  width: 42px !important;
  height: 42px;
  object-fit: contain;
}

.professional-poster-illustration {
  display: block;
  width: 100%;
  margin: 8px auto 4px;
  border-radius: 16px;
}

.professional-poster-copy {
  display: block;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.professional-app-preview {
  right: 1%;
  bottom: 8px;
  width: 46%;
  max-width: 245px;
  padding: 10px;
  border-radius: 28px;
  transform: rotate(4deg);
}

.professional-app-preview img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.professional-visual-arrow {
  position: absolute;
  left: 49%;
  top: 48%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--navy-700);
  color: white;
  box-shadow: var(--shadow);
  font-size: 22px;
  font-weight: 800;
}

.professional-visual-badge {
  position: absolute;
  right: 2%;
  bottom: 0;
  z-index: 5;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--mint-500);
  color: white;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-5);
  align-items: end;
  margin-bottom: var(--s-5);
  max-width: none;
}

.section-head p {
  margin: 0;
  color: var(--fg-soft);
  text-align: right;
}

.use-case-grid,
.card-grid,
.timeline,
.treatment-steps,
.support-grid,
.faq-layout {
  display: grid;
  gap: 20px;
}

.use-case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.use-case-card {
  min-height: 320px;
  padding: 36px 32px;
  border-radius: var(--r-3);
  background: var(--blue-50);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.use-case-card:nth-child(2) {
  background: var(--navy-700);
  color: white;
}

.use-case-card:nth-child(2) h3,
.use-case-card:nth-child(2) p {
  color: white;
}

.use-case-card:nth-child(3) {
  background: var(--warm-50);
}

.use-case-number {
  color: var(--fg-mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.use-case-number::before {
  content: "0";
}

.card-grid,
.timeline,
.faq-layout {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.timeline-step,
.faq-item,
.support-detail,
.support-bullet,
.treatment-step {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2);
}

.card,
.timeline-step,
.support-card,
.legal-section,
.panel,
.trust-panel,
.faq-group,
.treatment-step,
.install-mini-card {
  padding: 28px;
}

.card p,
.timeline-step p,
.faq-item p,
.support-card p,
.legal-section p,
.legal-section li,
.panel p,
.trust-panel p,
.use-case-card p,
.treatment-step p,
.install-mini-card p {
  color: var(--fg-soft);
}

.card-media,
.timeline-media {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: var(--r-2);
  background: var(--blue-50);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.timeline-step {
  position: relative;
  min-height: 260px;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-700);
  font-weight: 800;
}

.trust-list,
.support-detail-list,
.support-bullet-list,
.support-actions,
.install-checklist,
.faq-items {
  display: grid;
  gap: 12px;
}

.trust-list-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.trust-list-item:first-child {
  border-top: 0;
}

.trust-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: color-mix(in oklab, var(--mint-500) 18%, transparent);
  display: grid;
  place-items: center;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--mint-500);
}

.treatment-panel,
.cta-panel {
  border-radius: var(--r-4);
  padding: var(--s-6);
  overflow: hidden;
}

.treatment-panel {
  background:
    radial-gradient(80% 100% at 100% 0%, var(--blue-200) 0%, transparent 55%),
    linear-gradient(160deg, var(--blue-100) 0%, var(--blue-50) 100%);
}

.treatment-steps {
  grid-template-columns: repeat(3, 1fr);
}

.cta-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(56px, 6vw, 84px) clamp(28px, 7vw, 96px);
  text-align: center;
  background:
    radial-gradient(70% 60% at 90% 10%, var(--blue-500) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: white;
}

.cta-panel h2,
.cta-panel p {
  color: white;
}

.cta-panel h2 {
  max-width: 18ch;
  line-height: 1.05;
}

.cta-panel p {
  max-width: 760px;
  margin: 0;
  opacity: 0.8;
  line-height: 1.6;
}

.cta-panel .cta-row {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.cta-panel .chip-row {
  width: min(100%, 620px);
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.cta-panel .chip {
  justify-content: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255,255,255,0.84);
  text-align: center;
  font-size: 14px;
}

.cta-panel .chip::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(77, 166, 240, 0.22);
  color: #8dccff;
  font-size: 12px;
  font-weight: 900;
}

.cta-panel .button-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.2);
}

.cta-panel .button-primary,
.cta-panel .button-secondary {
  width: 100%;
  min-height: 58px;
}

.faq-item {
  padding: 0 20px;
}

.faq-item summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--navy-900);
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  background: var(--navy-700);
  color: white;
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
}

.install-page .site-main {
  padding-bottom: var(--s-5);
}

.install-conversion-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
}

.install-store-panel {
  padding: var(--s-4);
  border-radius: var(--r-3);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  text-align: center;
}

.store-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  justify-items: center;
}

.store-badge-link img {
  height: 64px;
}

.support-detail,
.support-bullet {
  padding: 16px 18px;
}

.support-detail strong {
  display: block;
  margin-bottom: 6px;
}

.legal-list {
  padding-left: 22px;
}

.site-footer {
  margin-top: var(--s-6);
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: var(--s-6) 32px var(--s-3);
}

.site-footer-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.site-footer strong {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-footer strong::before {
  content: "";
  width: 76px;
  height: 76px;
  background: url("./brand/medoxo-logo-icon.png") center / contain no-repeat;
}

.site-footer p {
  max-width: 56ch;
  color: rgba(255,255,255,0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: var(--s-3) 0;
}

.footer-links a {
  color: white;
  font-weight: 700;
  opacity: 0.78;
}

.mobile-install-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  backdrop-filter: saturate(120%) blur(14px);
  box-shadow: var(--shadow-lg);
}

.mobile-install-bar-copy strong {
  display: block;
  line-height: 1.15;
}

.mobile-install-bar-copy span {
  display: block;
  color: var(--fg-mute);
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 701px) {
  .header-install {
    display: inline-flex;
  }

  .mobile-install-bar {
    display: none;
  }
}

@media (min-width: 1180px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
  }

}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
  }

  .site-header-inner {
    border-radius: 28px;
  }

  .page-shell .section,
  .page-shell .hero {
    padding: var(--s-6) 22px;
  }

  .page-shell .hero-grid,
  .split-grid,
  .install-conversion-grid,
  .section-head,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .section-head p {
    text-align: left;
  }

  .use-case-grid,
  .card-grid,
  .timeline,
  .treatment-steps,
  .support-grid,
  .store-badge-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  h1:not(.h1) {
    font-size: clamp(34px, 10vw, 42px);
  }

  .brand-mark {
    width: 60px;
    height: 60px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-cta-row,
  .cta-row,
  .support-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-panel .cta-row {
    grid-template-columns: 1fr;
  }

  .cta-panel .chip-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 8px 4px 0;
  }

  .treatment-panel,
  .cta-panel {
    padding: 36px 24px 112px;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .professional-hero-visual {
    min-height: 470px !important;
    padding: 28px 22px;
  }

  .professional-visual-scene {
    min-height: 330px;
  }

  .professional-poster {
    left: 0;
    width: 54%;
    padding: 14px;
  }

  .professional-app-preview {
    right: 0;
    width: 49%;
  }

  .professional-visual-arrow {
    display: none;
  }

  .professional-visual-badge {
    right: 50%;
    bottom: -2px;
    transform: translateX(50%);
    white-space: nowrap;
  }

  .mobile-install-bar-copy {
    min-width: 0;
    flex: 0 1 112px;
  }

  .mobile-install-bar .button-primary {
    width: auto;
    flex: 1 1 auto;
    min-width: 150px;
  }

}
