@font-face {
  font-family: Host;
  src: url("assets/host-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #182d29;
  --muted: #485652;
  --safe-edge: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --gutter: max(clamp(1.25rem, 5.4vw, 6.5rem), var(--safe-edge));
  --hero-gutter: max(clamp(1rem, 3vw, 3.5rem), var(--safe-edge));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Host, Arial, sans-serif; background: white; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #d16b25; outline-offset: 5px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 88rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; top: 0; left: 1rem; transform: translateY(-120%); z-index: 3; padding: 1rem; background: white; }
.skip:focus { transform: none; }
.mast { position: absolute; inset: max(1rem, env(safe-area-inset-top, 0px)) 0 auto; z-index: 2; color: #fff; }
.mast-inner, nav, .brand { display: flex; align-items: center; }
.mast-inner {
  --link-inset: clamp(.2rem, 1vw, .375rem);
  padding-inline: var(--hero-gutter);
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: .5rem;
  min-height: clamp(4.5rem, 5.75vw, 5.75rem);
}
.brand img { display: block; height: auto; }
.mast-inner .brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem var(--link-inset);
  /* Extend the hit area while keeping the wordmark on the header inset. */
  margin-inline: calc(-1 * var(--link-inset));
}
.mast-inner .brand img { width: 9rem; }
.mast-download {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .625rem 1rem;
  border: 1px solid currentColor;
  border-radius: .5rem;
  font-size: 1.0625rem;
  line-height: 1.25;
  white-space: nowrap;
}
nav { gap: clamp(1rem, 3.2vw, 3.5rem); }
nav a { font-size: .95rem; padding-block: .65rem; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fffdf5; background: #494936 url("assets/amara-hero-blink-poster.jpg") center 50% / cover; }
.hero video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero video { object-fit: cover; object-position: center 50%; }
.hero-shade {
  background: linear-gradient(to bottom, #19171194, #19171175 3.5rem, transparent 10rem),
              radial-gradient(ellipse var(--headline-shade, 68% 64% at 18% 100%),
                #191711ad 12%, #19171180 42%, #19171128 73%, transparent);
}
.hero-inner {
  display: flex;
  align-items: end;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(2rem, 4vw, 4.5rem) var(--hero-gutter);
  padding-bottom: max(clamp(2rem, 4vw, 4.5rem), calc(env(safe-area-inset-bottom, 0px) + 1rem));
}
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 460; }
h1 { font-size: clamp(1.875rem, 3.8vw, 4.25rem); letter-spacing: -.071em; line-height: .97; }
h1 em, h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.065em; }
h1 em { line-height: 1.05; }
.program { padding-block: clamp(3.5rem, 6vw, 7rem); }
.pair { display: grid; grid-template-columns: 1.04fr 1fr; grid-template-areas: "preview copy"; align-items: center; gap: clamp(2.5rem, 8vw, 8rem); }
.pair .stage { grid-area: preview; }
.copy { grid-area: copy; max-width: 35rem; }
.section-icon { display: grid; place-items: center; width: 2.85rem; height: 2.85rem; border-radius: 50%; margin-bottom: 1.25rem; }
.section-icon svg { width: 1.45rem; height: 1.45rem; }
.heart-icon { color: #a14c59; background: #f9e9ea; }
.derm-icon { color: #214b95; background: #c1d5f5; }
h2 { font-size: clamp(2.9rem, 4.8vw, 5.3rem); line-height: 1.06; letter-spacing: -.07em; }
.copy p { font-size: clamp(1.05rem, 1.48vw, 1.43rem); line-height: 1.48; max-width: 28em; color: var(--muted); margin-top: 1.25rem; text-wrap: pretty; }
.conditions { display: flex; flex-wrap: wrap; align-items: center; padding: 0; margin: 1.45rem 0 0; list-style: none; gap: .45rem; }
.conditions li { display: inline-flex; align-items: center; gap: .45rem; background: #f5f7f4; border: 1px solid #dee3de; border-radius: 2rem; padding: .4rem .7rem; font-size: .875rem; }
.conditions li:not(:has(small)) { background: #eaf1e8; border-color: #d1e0cd; }
.conditions small { color: #536359; font-size: .75rem; }
.download { display: inline-flex; align-items: center; gap: .65rem; border: 0; border-radius: 3rem; margin-top: 2rem; padding: 1rem 1.5rem; background: var(--ink); color: #fff; font-weight: 520; font-size: 1.075rem; }
.download:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }
.download svg { width: 1.2rem; height: 1.2rem; }
.derm { background: #dce9ff; --ink: #182f50; --muted: #334e72; }
@media (min-width: 701px) {
  .derm .conditions { flex-wrap: nowrap; gap: .3rem; }
  .derm .conditions li { padding-inline: .5rem; white-space: nowrap; }
}
.stage { display: grid; align-items: start; justify-items: center; position: relative; isolation: isolate; overflow: hidden; border-radius: 1.15rem; height: clamp(24rem, 35vw, 34rem); padding-top: clamp(2.1rem, 3.1vw, 3rem); }
.heart-stage { background: radial-gradient(ellipse at 20% 5%, #fff1e8, transparent 60%), linear-gradient(145deg,#f1cec5,#ebbbb6 60%,#d69e9e); }
.derm-stage { background: radial-gradient(ellipse at 80% 8%,#c7e5ff,transparent 65%),linear-gradient(125deg,#b4c7fc,#809fd7); }
.waves { position: absolute; z-index: -1; inset: -70%; transform: rotate(-24deg) scaleY(.6); background: repeating-radial-gradient(ellipse at 24% 62%, transparent 0 29px,#fffc 30px,transparent 31px 36px); opacity: .46; }
.derm-stage .waves { transform: rotate(27deg) scaleY(.68); }
.phone { width: clamp(14rem, 18.9vw, 18rem); background: #202526; border-radius: 2.6rem; padding: 5px; border: 2px solid #9a9f9c; box-shadow: 1px 2px 0 1px #434b49, -1px -1px 0 1px #f6f6f2, 16px 24px 34px #492a3342; transform: rotate(-4deg); }
.derm-stage .phone { transform: rotate(4deg); }
.screen { border-radius: 2.15rem; min-height: 28rem; background: #f9f9f5; overflow: hidden; color: #233d37; }
.status { padding: .7rem .95rem .35rem; display: flex; align-items: center; justify-content: space-between; font: 650 .65rem Arial,sans-serif; position: relative; }
.status i { position: absolute; left: 50%; transform: translateX(-50%); width: 27%; height: .82rem; border-radius: 2rem; background: #191e1c; }
.battery { width: 15px; height: 7px; border: 1px solid currentColor; border-radius: 2px; box-shadow: inset 0 0 0 1px #fafbf8; background: currentColor; }
.screen-body { padding: 1.1rem .85rem 2rem; }
.app-name, .metric-label { display: flex; gap: .3rem; align-items: center; font-weight: 600; }
.app-name img { display: block; width: 3.25rem; height: auto; }
.app-heading { font-size: 1.8rem; line-height: 1.08; letter-spacing: -.06em; margin: .9rem 0 .7rem; }
.heart-feature, .skin-photo, .app-card { border-radius: .85rem; overflow: hidden; }
.heart-feature { position: relative; height: 6rem; background: linear-gradient(110deg,#f5ded5,#f4d0d1); padding: 1.1rem .7rem; color: #683c42; }
.heart-feature div { font-size: .64rem; }
.heart-feature strong { display: block; font-size: 1.12rem; margin-top: .25rem; font-weight: 550; }
.heart-feature img { position: absolute; height: 100%; right: -5px; bottom: -.4rem; width: 44%; object-fit: contain; }
.app-card { padding: .9rem .75rem; background: white; border: 1px solid #e4e8e1; margin-block: .7rem; }
.metric-label { font-size: .7rem; }
.metric-label svg { height: .9rem; width: .9rem; color: #b66368; }
.reading { font-size: 1.65rem; letter-spacing: -.055em; margin-block: .4rem; }
.reading small { font-size: .62rem; color: #56635d; letter-spacing: 0; }
.chart { display: block; width: 100%; height: 2.75rem; fill: none; }
.guides { stroke: #ebeae4; stroke-dasharray: 3 3; }
.trace { stroke: #b96268; stroke-width: 2.5; }
.days { display: flex; justify-content: space-between; font-size: .58rem; color: #67736c; }
.app-bottom { font-size: 1.1rem; letter-spacing: -.04em; font-weight: 550; margin-top: .65rem; }
.routine { font-size: .76rem; border-top: 1px solid #ddd; padding-top: .65rem; margin-top: .65rem; }
.skin-photo { position: relative; height: 8.15rem; background: #967b63; }
.skin-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.skin-photo span { position: absolute; inset: auto 0 0; padding: 1.4rem .7rem .5rem; color: white; background: linear-gradient(transparent,#242520aa); font-size: .9rem; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 6rem; padding-block: 1.25rem max(1.25rem, env(safe-area-inset-bottom, 0px)); }
footer .brand img { width: clamp(4.75rem, 12vw, 6.25rem); }
.footer-meta { text-align: right; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0 1rem; }
.footer-meta a { font-size: inherit; padding: 0; display: inline-block; margin-top: .35rem; text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 700px) {
  :root { --hero-gutter: max(clamp(1rem, 5vw, 1.5rem), var(--safe-edge)); }
  .mast-inner .brand img { width: clamp(6.125rem, 29vw, 7rem); }
  .mast-download { padding-inline: .875rem; }
  nav a { font-size: .875rem; }
  .hero { --headline-shade: 110% 32% at 15% 100%; }
  .hero h1 { font-size: clamp(1.25rem, 6.2vw, 2.35rem); line-height: 1.15; letter-spacing: -.045em; text-wrap: balance; }
  .pair { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "preview"; gap: 1.8rem; }
  .stage { height: clamp(20rem, 79vw, 27rem); }
  .copy { max-width: 32rem; }
  .program { padding-block: 2.4rem 3rem; }
  .section-icon { width: 2.3rem; height: 2.3rem; margin-bottom: .85rem; }
  .copy p { margin-top: .8rem; }
  .download { margin-top: 1.25rem; }
}
@media (max-width: 700px), (pointer: coarse), (orientation: landscape) and (max-height: 500px) {
  footer .brand, .footer-meta a { min-height: 2.75rem; }
  .footer-meta a { display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
