/* MiloDoc deep-link gateway. Brand palette and typography follow the MiloDoc website (see ASSETS.md). */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin.woff2) format('woff2');
}
:root {
  --primary: #1565b0;
  --tint: #dceafa;
  --bg: #eff3f8;
  --surface: #fff;
  --ink: #0e2236;
  --muted: #4b5e73;
  --success: #1f9d62;
  --warm: #f2a500;
  --line: #d3deea;
  --display: Manrope, 'Avenir Next', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
.page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.page::before,
.page::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.page::before {
  width: 42rem;
  height: 42rem;
  right: -16rem;
  top: -20rem;
  background: var(--tint);
  opacity: 0.75;
}
.page::after {
  width: 30rem;
  height: 30rem;
  left: -14rem;
  bottom: -17rem;
  background: #e2ebf5;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  color: var(--primary);
  padding: 0.75rem 1rem;
  z-index: 5;
  font-weight: 700;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}
.site-header,
.hero,
.site-footer {
  width: 100%;
  max-width: 72.5rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}
.logo {
  display: block;
  width: 8.75rem;
  height: auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font: 700 0.8125rem/1 var(--display);
  color: var(--ink);
  white-space: nowrap;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--warm);
  flex: none;
}
.hero {
  flex: 1;
  display: grid;
  gap: 2rem;
  align-content: start;
  padding-top: 0.75rem;
  padding-bottom: 3rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font: 800 0.75rem/1.2 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: var(--tint);
  color: var(--primary);
  flex: none;
}
.icon {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1 {
  margin: 0;
  font: 800 clamp(2.125rem, 9vw, 3.5rem)/1.08 var(--display);
  letter-spacing: -0.035em;
}
h1 span {
  display: block;
  color: var(--primary);
}
.lead {
  margin: 1.25rem 0 0;
  max-width: 33rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
}
.demo {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1.5rem;
  padding: 0.8rem 1rem;
  max-width: 33rem;
  border-radius: 1rem;
  background: var(--tint);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.5;
}
.demo .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex: none;
  margin-top: 0.1rem;
}
.demo strong {
  font-family: var(--display);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  margin-top: 1.75rem;
  padding: 0.8rem 1.35rem 0.8rem 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font: 700 0.9375rem/1.2 var(--display);
}
.cta:hover {
  background: #194875;
}
.cta .icon {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2;
}
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--surface);
}
.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 11rem));
  gap: 0.625rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.platforms li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  line-height: 1.25;
  color: var(--ink);
}
.platforms .store {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}
.platforms small {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
}
.platforms b {
  display: block;
  font: 700 0.9375rem/1.25 var(--display);
}
.stage {
  position: relative;
  overflow: hidden;
  height: 23rem;
  border-radius: 1.75rem;
  background: var(--ink);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2.25rem;
}
.stage::before {
  content: '';
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(21, 101, 176, 0.4);
  right: -7rem;
  bottom: -10rem;
}
.stage::after {
  content: '';
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  left: -9rem;
  top: -12rem;
}
.preview {
  margin: 0;
}
.caption {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.phone {
  position: relative;
  z-index: 2;
  width: 15.5rem;
  padding: 0.5rem;
  border-radius: 2.1rem;
  background: #16304e;
  box-shadow: 1.25rem 1.75rem 4.5rem rgba(3, 10, 18, 0.4);
  transform: rotate(2deg);
  transform-origin: top center;
}
.screen {
  display: flex;
  flex-direction: column;
  min-height: 25rem;
  padding: 1.6rem 1rem 1rem;
  border-radius: 1.65rem;
  background: #f8fbff;
  color: var(--ink);
}
.cam {
  display: block;
  width: 4.2rem;
  height: 0.9rem;
  margin: -1.6rem auto 0.85rem;
  border-radius: 0 0 0.75rem 0.75rem;
  background: #16304e;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 700 0.75rem/1 var(--display);
  color: var(--muted);
}
.app-brand img {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}
.app-title {
  margin: 1.1rem 0 0.9rem;
  font: 800 1.5rem/1.15 var(--display);
  letter-spacing: -0.03em;
}
.row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  padding: 0.65rem;
  border-radius: 0.8rem;
  background: var(--surface);
  border: 1px solid #e3ebf3;
}
.row.hl {
  background: var(--tint);
  border-color: var(--tint);
}
.row .chip {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: var(--tint);
  color: var(--primary);
  flex: none;
}
.row.hl .chip {
  background: var(--surface);
}
.row .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.row b {
  display: block;
  font: 700 0.75rem/1.2 var(--display);
}
.row small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  color: var(--muted);
}
.bar {
  display: block;
  height: 0.45rem;
  margin-top: 0.4rem;
  border-radius: 99px;
  background: #d9e3ee;
  width: 75%;
}
.bar.w2 {
  width: 60%;
}
.bar.w3 {
  width: 68%;
}
.app-nav {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid #e3ebf3;
  color: var(--muted);
}
.app-nav .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.glyph-stage {
  height: 15rem;
  align-items: center;
  padding-top: 0;
}
.glyph {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.glyph .icon {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.3;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (max-width: 23.75rem) {
  .pill {
    display: none;
  }
}
@media (min-width: 48rem) {
  .site-header,
  .hero,
  .site-footer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .site-header {
    padding-top: 1.75rem;
  }
  .logo {
    width: 9.5rem;
  }
  .stage {
    height: 26rem;
  }
}
@media (min-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  .stage {
    height: 31rem;
    align-items: center;
    padding-top: 0;
  }
  .glyph-stage {
    height: 27rem;
  }
  .phone {
    transform-origin: center;
  }
  .screen {
    min-height: 25rem;
  }
}
