/* createwithoscar: the OSCAR website. One stylesheet, no build step for it. */

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/raleway-latin-wght-normal.woff2") format("woff2");
}

:root {
  --coral: #ff5a36;
  --pink: #ff3663;
  --brand: linear-gradient(100deg, var(--coral), var(--pink));
  --ink: #2b2b33;
  --soft: #6b6b78;
  --line: #e6e6ec;
  --paper: #ffffff;
  --wash: #f4f4f7;
  --radius: 14px;
  --width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "lnum";
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: min(100% - 40px, var(--width));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
}

/* ---- the bar across the top ---------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.top .logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: #ffffff;
}

/* ---- buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(255, 54, 99, 0.7);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(255, 54, 99, 0.8);
}

.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px currentColor;
  color: inherit;
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 2px currentColor;
}

.btn small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

/* ---- the opening ------------------------------------------------------------------ */
.hero {
  position: relative;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(20, 16, 24, 0.72), rgba(20, 16, 24, 0.82)),
    url("img/hero.webp") center / cover no-repeat,
    #1b171f;
  padding: 84px 0 0;
}

.hero h1 {
  max-width: 17ch;
  margin-inline: auto;
  font-size: clamp(34px, 5.4vw, 58px);
}

.hero .lead {
  max-width: 46ch;
  margin: 18px auto 0;
  font-size: clamp(17px, 2vw, 20px);
  opacity: 0.92;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero .shot-wrap {
  position: relative;
  margin: 56px auto -120px;
}

.hero .shot {
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
}

.hero figcaption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(20, 16, 24, 0.82);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.after-hero {
  padding-top: 170px;
}

/* ---- sections ------------------------------------------------------------------------- */
section {
  padding: 84px 0;
}

.wash {
  background: var(--wash);
}

.head {
  max-width: 60ch;
  margin: 0 auto 46px;
  text-align: center;
}

.head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.head p {
  margin-top: 14px;
  color: var(--soft);
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card h3 {
  font-size: 20px;
  color: var(--pink);
}

.card p {
  margin-top: 10px;
  color: var(--soft);
  font-size: 16px;
}

.card .icon {
  width: 86px;
  margin-bottom: 14px;
}

.centre {
  text-align: center;
}

.centre .icon {
  margin-inline: auto;
}

.plain {
  border: 0;
  background: transparent;
  padding: 0 8px;
}

/* ---- three protocols ---------------------------------------------------------------------- */
.proto {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---- templates ------------------------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #17151c;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.5);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery .wide {
  grid-column: span 6;
  aspect-ratio: 3 / 2;
}

.gallery .tall {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

/* ---- steps ------------------------------------------------------------------------------------ */
.steps {
  counter-reset: step;
}

.steps .card {
  position: relative;
}

.apps {
  columns: 3 180px;
  column-gap: 30px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 16px;
}

.apps li {
  padding: 3px 0;
  break-inside: avoid;
}

/* ---- two columns: words and a picture ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px;
}

.split h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

.split p {
  margin-top: 16px;
  color: var(--soft);
}

.split ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--soft);
}

.split li {
  margin: 6px 0;
}

.phone {
  width: min(100%, 300px);
  margin-inline: auto;
  border: 10px solid #17151c;
  border-radius: 34px;
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, 0.55);
}

/* ---- the trial offer ------------------------------------------------------------------------------ */
.offer {
  max-width: 820px;
  margin: 34px auto 0;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff;
  text-align: center;
}

.offer p + p {
  margin-top: 12px;
}

.offer .small {
  font-size: 14px;
  opacity: 0.92;
}

.offer a {
  color: #ffffff;
}

/* ---- the quote -------------------------------------------------------------------------------------- */
.quote {
  background: var(--brand);
  color: #ffffff;
  text-align: center;
}

.quote blockquote {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.2;
}

.quote cite {
  display: block;
  margin-bottom: 18px;
  font-style: normal;
  font-size: 15px;
  opacity: 0.9;
}

/* ---- contact, and the foot of the page ---------------------------------------------------------------- */
.contact {
  text-align: center;
}

.contact .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.foot {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.foot a {
  color: var(--soft);
}

/* ---- pages of words: getting started, download, privacy, terms ------------------------------------------ */
.banner {
  padding: 58px 0 50px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.banner h1 {
  font-size: clamp(30px, 4.4vw, 46px);
}

.banner p {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--soft);
}

.prose {
  max-width: 760px;
  padding: 56px 0 84px;
}

.prose h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 6px;
}

.prose h2 {
  margin: 46px 0 12px;
  font-size: 26px;
}

.prose h3 {
  margin: 30px 0 8px;
  font-size: 19px;
  color: var(--pink);
}

.prose p,
.prose ul,
.prose ol {
  margin: 14px 0;
}

.prose li {
  margin: 7px 0;
}

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--wash);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.prose .note {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--pink);
  border-radius: 0 10px 10px 0;
  background: var(--wash);
}

.prose figure {
  margin: 26px 0;
}

.prose figure img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin: 30px 0;
}

.downloads .card h3 {
  color: var(--ink);
}

.downloads .btn {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 15px;
  padding: 11px 16px;
}

/* ---- narrower screens --------------------------------------------------------------------------------------- */
@media (max-width: 860px) {
  section {
    padding: 62px 0;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .gallery .wide {
    grid-column: span 12;
  }

  .gallery .tall {
    grid-column: span 6;
  }

  .hero .shot-wrap {
    margin-bottom: -60px;
  }

  .after-hero {
    padding-top: 100px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .top .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }

  .nav {
    gap: 2px 16px;
    font-size: 13px;
  }

  .hero {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .gallery img {
    transition: none;
  }
}
