/* MioSynergy Mail landing page (email.miosynergy.com/) */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --sea: #eef4f2;        /* page */
  --paper: #ffffff;      /* the sign-in box */
  --ink: #15201f;        /* text */
  --deep: #0b3b37;       /* headings, buttons */
  --muted: #586a67;      /* secondary text */
  --line: #d3e0dc;       /* hairlines */
  --saffron: #e9a23b;    /* the company slot in the address */
  --saffron-soft: #fbecd3;
  --danger: #a4271a;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.landing { margin: 0; background: var(--sea); color: var(--ink); font: 400 17px/1.6 var(--body); }
a { color: var(--deep); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.l-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.l-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); font: 600 19px/1 var(--display); }
.l-talk { font-weight: 600; text-decoration: none; padding: 8px 2px; border-bottom: 2px solid var(--line); }
.l-talk:hover { border-color: var(--deep); }

main { padding: 0 var(--gutter); }

/* hero: the address is the design */
.l-hero { max-width: 1120px; padding: clamp(32px, 7vw, 88px) 0 clamp(48px, 8vw, 96px); }
.l-hero h1 { margin: 0; max-width: 18ch; text-wrap: balance; font: 600 clamp(30px, 4.4vw, 50px)/1.1 var(--display); letter-spacing: -.01em; color: var(--deep); }
.l-address { margin: clamp(24px, 4vw, 40px) 0 0; font: 800 clamp(23px, 6.2vw, 84px)/1.08 var(--display); letter-spacing: -.035em; color: var(--deep); }
.l-host { color: var(--deep); opacity: .38; white-space: nowrap; }
.l-slot { position: relative; display: inline-block; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; padding: 0 .14em; margin-left: .02em; color: var(--deep); background: linear-gradient(transparent 58%, var(--saffron-soft) 58%); border-bottom: .08em solid var(--saffron); transition: color .2s; }
.l-slot::after { content: ""; position: absolute; right: .02em; top: .12em; bottom: .1em; width: .06em; background: var(--saffron); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .l-slot::after { animation: none; } .l-slot { transition: none; } }
.l-lede { max-width: 58ch; margin: clamp(20px, 3vw, 32px) 0 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }

.l-find { margin-top: clamp(28px, 4vw, 44px); max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(11, 59, 55, .35); }
.l-find label { display: block; font: 600 16px/1.3 var(--display); color: var(--deep); margin-bottom: 10px; }
.l-find-row { display: flex; gap: 10px; flex-wrap: wrap; }
.l-find input { flex: 1 1 260px; min-width: 0; font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdfc; }
.l-find input:focus { border-color: var(--deep); outline: none; }
.l-find input[aria-invalid="true"] { border-color: var(--danger); }
.l-find button { flex: 0 0 auto; font: 600 16px/1 var(--body); color: #fff; background: var(--deep); border: 0; border-radius: 12px; padding: 14px 20px; cursor: pointer; }
.l-find button:hover { background: #0f4f49; }
.l-error { margin: 12px 0 0; color: var(--danger); font-size: 15px; }
.l-hint { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* sections: plain, left-aligned, separated by one hairline */
.l-section { max-width: 1120px; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.l-section h2, .l-contact h2 { margin: 0 0 clamp(20px, 3vw, 32px); font: 600 clamp(24px, 2.6vw, 32px)/1.2 var(--display); color: var(--deep); }
.l-section h3 { margin: 0 0 4px; font: 600 18px/1.3 var(--display); color: var(--deep); }
.l-section p { margin: 0; color: var(--muted); max-width: 46ch; }

.l-gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 48px; }
.l-gets li { display: flex; gap: 14px; align-items: flex-start; }
.l-gets svg { width: 26px; height: 26px; flex: none; color: var(--deep); margin-top: 2px; }

.l-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 48px; }
.l-steps li { counter-increment: step; position: relative; padding-top: 52px; }
.l-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--deep); color: var(--deep); font: 600 17px/35px var(--display); text-align: center; }

.l-contact { max-width: 1120px; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.l-contact p { margin: 0 0 22px; color: var(--muted); }
.l-cta { display: inline-block; font-weight: 600; text-decoration: none; color: var(--deep); padding: 13px 20px; border-radius: 12px; border: 1.5px solid var(--deep); }
.l-cta:hover { background: var(--deep); color: #fff; }

.l-foot { padding: 20px var(--gutter) 28px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.l-foot a { color: inherit; font-weight: 600; text-decoration: none; }
.l-foot a:hover { color: var(--deep); }

@media (max-width: 560px) {
  .l-find { padding: 16px; border-radius: 14px; }
  .l-find button { width: 100%; }
  .l-gets, .l-steps { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .l-address { font-size: 21px; }
  .l-host { white-space: normal; overflow-wrap: anywhere; }
}
