/* Rosella Cycle website. Colors match mobile/src/constants/design.ts. */
:root {
  --pink: #d92d61;
  --pink-dark: #b71f4e;
  --rose: #ffdce8;
  --blush: #fff0f5;
  --soft: #fde8ef;
  --ink: #3b2330;
  --second: #845d6e;
  --line: #f1d7e1;
  --page: #fff5f8;
  --white: #fff;
  --plum: #96385c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--pink-dark);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 8px;
}

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

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 245, 248, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 21px/1 var(--serif);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.top nav a {
  color: var(--second);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.top nav a:hover {
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.24s ease-out;
}

.pill:hover {
  background: var(--pink-dark);
}

.pill.big {
  min-height: 56px;
  padding: 0 30px;
  font-size: 17px;
}

.pill.quiet {
  background: var(--white);
  color: var(--pink-dark) !important;
  border: 1px solid var(--line);
}

.pill.quiet:hover {
  background: var(--blush);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffe6ee 0%, var(--page) 78%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-block: 72px 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--plum);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 6.2vw, 76px);
}

h1 em {
  font-style: italic;
  color: var(--pink);
}

h2 {
  font-size: clamp(32px, 4.2vw, 50px);
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.lede {
  margin: 22px 0 30px;
  max-width: 34em;
  font-size: 20px;
  line-height: 1.55;
  color: var(--second);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--second);
}

.phone {
  width: min(330px, 78vw);
  margin-inline: auto;
  border-radius: 46px;
  border: 9px solid #2a1a22;
  background: #2a1a22;
  overflow: hidden;
  box-shadow: 0 34px 70px -28px rgba(150, 56, 92, 0.55);
}

.phone img {
  width: 100%;
  border-radius: 37px;
}

.hero .stage {
  position: relative;
  padding-bottom: 0;
  align-self: end;
}

.hero .phone {
  margin-bottom: -90px;
}

.hero .petal {
  position: absolute;
  width: 230px;
  opacity: 0.9;
  pointer-events: none;
}

.hero .petal.a {
  left: -70px;
  top: 4%;
}

.hero .petal.b {
  right: -80px;
  bottom: 12%;
  width: 200px;
}

/* Sections */
section {
  padding-block: 96px;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

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

.card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 14px;
}

.card p {
  margin: 10px 0 0;
  color: var(--second);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.flip .text {
  order: 2;
}

.split p {
  color: var(--second);
  font-size: 19px;
  max-width: 30em;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.ticks li {
  position: relative;
  padding: 8px 0 8px 34px;
  color: var(--ink);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose);
  border: 6px solid var(--pink);
}

.band {
  background: var(--soft);
}

.paths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}

.paths li {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--plum);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}

.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.plan.best {
  border: 2px solid var(--pink);
}

.plan .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 700;
}

.plan .price {
  font: 600 38px/1.1 var(--serif);
  margin: 6px 0 4px;
}

.plan .price small {
  font: 500 16px var(--sans);
  color: var(--second);
}

.plan p {
  margin: 8px 0 0;
  color: var(--second);
  font-size: 16px;
}

.fine {
  margin: 26px auto 0;
  max-width: 46em;
  font-size: 14px;
  color: var(--second);
}

.cta {
  background: linear-gradient(180deg, var(--page), #ffe1ea);
}

.cta img {
  width: 150px;
  margin: 0 auto 18px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-block: 44px;
  font-size: 15px;
  color: var(--second);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

footer a {
  color: var(--second);
}

footer .legal {
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.6;
}

/* Text pages: privacy, terms, support */
.doc {
  width: min(760px, 100% - 40px);
  margin-inline: auto;
  padding-block: 64px 96px;
}

.doc h1 {
  font-size: clamp(36px, 5vw, 52px);
}

.doc .date {
  margin: 12px 0 0;
  color: var(--second);
  font-size: 15px;
}

.doc h2 {
  font-size: 26px;
  margin-top: 44px;
  line-height: 1.2;
}

.doc h3 {
  font-size: 20px;
  margin-top: 28px;
}

.doc p,
.doc li {
  color: #5a3e4b;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin: 8px 0;
}

.short {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.short h2 {
  margin-top: 0;
  font-size: 22px;
}

.faq {
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 22px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
}

.faq p {
  margin-top: 0;
}

@media (max-width: 860px) {
  .top nav a:not(.pill) {
    display: none;
  }

  .hero .wrap,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero .wrap {
    padding-top: 48px;
  }

  .split.flip .text {
    order: 0;
  }

  .cards,
  .plans {
    grid-template-columns: 1fr;
  }

  section {
    padding-block: 72px;
  }

  .hero .petal {
    display: none;
  }

  .lede {
    font-size: 18px;
  }
}

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

  .pill {
    transition: none;
  }
}

.left {
  text-align: left;
}

.art {
  margin-inline: auto;
  width: min(320px, 70vw);
}

.art.small {
  width: 160px;
  margin-bottom: 20px;
}
