/* Sidecart site. Two colours carry meaning: green is you, coral is your partner,
   the same pair as the two ticks in the app icon. */
:root {
  --green: #2e7d32;
  --green-deep: #173f1b;
  --coral: #e8603c;
  --mint: #e9f3e6;
  --paper: #ffffff;
  --ink: #16201a;
  --soft: #55635a;
  --line: #d5e2d2;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { font-family: var(--display); color: var(--green-deep); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 750; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }

/* Header */
.top { display: flex; align-items: center; gap: 1rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 750; font-size: 1.2rem; color: var(--green-deep); text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: 0.55rem; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; font-size: 0.98rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

.get {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
}
.get:hover { background: var(--green-deep); }
.top nav .get { padding: 0.5rem 1rem; color: #fff; }
.top nav .get:hover { text-decoration: none; }

/* Hero */
.hero { background: var(--mint); }
.hero .wrap { display: grid; gap: 2.5rem; padding-block: 2.5rem 3.5rem; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--soft); max-width: 31rem; margin-block: 1.1rem 1.6rem; }
.hero .fine { font-size: 0.92rem; color: var(--soft); margin-top: 0.8rem; }
@media (min-width: 60rem) {
  .hero .wrap { grid-template-columns: 1fr 1.05fr; padding-block: 4rem 5rem; }
}

/* The two phones */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.6rem, 2vw, 1.25rem); }
.phone {
  background: var(--paper);
  border-radius: 1.7rem;
  padding: 0.9rem 0.85rem 0.8rem;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(23, 63, 27, 0.45);
  min-width: 0;
}
.phone .who { font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; color: var(--soft); }
.phone .who::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--green); }
.phone.partner .who::before { background: var(--coral); }
.phone .title { font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.45rem); color: var(--ink); margin-block: 0.35rem 0.5rem; }
.phone ul { list-style: none; margin: 0; padding: 0; }
.phone li { border-top: 1px solid #edf1ec; }
.phone li button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.15rem;
  font-size: clamp(0.86rem, 2vw, 1rem);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.phone li button:focus-visible { outline: 3px solid var(--coral); outline-offset: -2px; border-radius: 6px; }
.tick {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1.6px solid #8b978e;
  display: grid;
  place-items: center;
}
li[data-by] .tick { border-color: transparent; background: var(--green); }
li[data-by="partner"] .tick { background: var(--coral); }
li[data-by] .tick::after {
  content: "";
  width: 0.5rem;
  height: 0.26rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}
li[data-by] .name { text-decoration: line-through; color: #98a39b; }
li.arrived { animation: arrive 1.1s ease-out; }
@keyframes arrive { from { background: #fbe3da; } to { background: transparent; } }
.phone.me li.arrived { animation-name: arrive-me; }
@keyframes arrive-me { from { background: #d9ecd6; } to { background: transparent; } }
.phone form { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.phone input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.7rem;
  background: #f0f2ef;
  color: var(--ink);
}
.phone form button {
  flex: none;
  width: 2.1rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--green);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.phone.partner form button { background: var(--coral); }
.try { font-size: 0.92rem; color: var(--soft); margin-top: 0.9rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { li.arrived { animation: none; } }

/* Sections */
section { padding-block: 3.5rem; }
section > .wrap > h2 { max-width: 24ch; }
section .intro { color: var(--soft); max-width: 36rem; margin-top: 0.8rem; }

.steps { display: grid; gap: 2.5rem; align-items: center; margin-top: 2rem; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; }
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green-deep);
}
.steps li p { color: var(--soft); margin-top: 0.2rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: 1.2fr 0.8fr; } }

.shot {
  width: min(100%, 17rem);
  margin-inline: auto;
  border-radius: 2rem;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -28px rgba(23, 63, 27, 0.5);
}

.shop { background: var(--mint); }
.rows { display: grid; gap: 3rem; margin-top: 2.5rem; }
.row { display: grid; gap: 1.5rem; align-items: center; }
.row p { color: var(--soft); margin-top: 0.5rem; max-width: 34rem; }
.row p + p { margin-top: 0.8rem; }
@media (min-width: 52rem) {
  .row { grid-template-columns: 1fr 17rem; gap: 3rem; }
  .row.flip { grid-template-columns: 17rem 1fr; }
  .row.flip .shot { order: -1; }
}
.plain { display: grid; gap: 2rem; margin-top: 2.5rem; }
.plain p { color: var(--soft); margin-top: 0.4rem; }
@media (min-width: 52rem) { .plain { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }

.price p { font-size: 1.15rem; max-width: 38rem; margin-top: 1rem; }
.price p.small { font-size: 0.95rem; color: var(--soft); }

.guides ul { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.guides li { border-bottom: 1px solid var(--line); }
.guides li a { display: block; padding: 1rem 0.25rem; text-decoration: none; color: var(--ink); }
.guides li a strong { font-family: var(--display); font-size: 1.15rem; color: var(--green-deep); display: block; }
.guides li a span { color: var(--soft); }
.guides li a:hover strong { text-decoration: underline; }

.closing { background: var(--green-deep); color: #fff; text-align: center; }
.closing h2 { color: #fff; max-width: none; }
.closing p { color: #cfe3cf; margin-block: 0.8rem 1.6rem; }
.closing .get { background: #fff; color: var(--green-deep); }
.closing .get:hover { background: var(--mint); }

footer { padding-block: 2rem 3rem; font-size: 0.95rem; color: var(--soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
footer span { margin-right: auto; }

/* Guide pages */
.guide { padding-block: 2rem 4rem; }
.guide .wrap { width: min(100% - 2rem, 42rem); }
.guide .back { font-size: 0.95rem; }
.guide h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-block: 1rem 0.8rem; }
.guide .lead { font-size: 1.15rem; color: var(--soft); }
.guide h2 { font-size: 1.45rem; margin-block: 2.4rem 0.7rem; }
.guide p + p { margin-top: 0.9rem; }
.guide ol, .guide ul { padding-left: 1.3rem; margin: 0.6rem 0 0; }
.guide li { margin-top: 0.5rem; }
.guide li::marker { color: var(--green); font-weight: 700; }
.guide .shot { margin-block: 2rem; }
.guide .note { background: var(--mint); border-radius: 0.9rem; padding: 1rem 1.15rem; margin-top: 1.5rem; }
.guide .next { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ui { font-weight: 650; white-space: nowrap; }
