:root {
  --bg: #ffffff;
  --ink: #111111;
  --mute: #6f6f6f;
  --rule: #e5e5e5;
  --soft: #f6f6f4;
  --blue: #1f3fff;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
b { font-weight: 600; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.muted { color: var(--mute); }
.small { font-size: 14px; }
.big { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.012em; max-width: 30em; text-wrap: pretty; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 4px;
  font: 500 15px/1 var(--font);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #333; border-color: #333; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }

/* header */
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.top__name { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.top__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; }
.top__sub { font-weight: 400; color: var(--mute); }
.top { align-items: center; }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; color: var(--mute); }
.top nav a:hover { color: var(--ink); }

/* hero */
.hero {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start;
  padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 112px);
}
.hero h1 {
  grid-column: 1 / span 8;
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero h1 .hl { color: var(--blue); }
.nw { white-space: nowrap; }
.hero__photo { grid-column: 10 / -1; grid-row: 1 / span 2; margin: 0; }
.hero__photo picture { display: block; flex-shrink: 0; }
.hero__photo img { width: 100%; height: auto; border-radius: 4px; }
.hero__photo figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; }
.hero__foot { grid-column: 1 / span 7; margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 16px; justify-items: start; }
.hero__lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.015em; max-width: 22em; text-wrap: balance; }
.hero__note { color: var(--mute); max-width: 32em; text-wrap: pretty; }
.hero__cta { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* showcase: the one bold color surface */
.showcase { background: var(--blue); color: #fff; padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; }
.showcase__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 48px; }
.showcase__head h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; max-width: 14em; }
.showcase__head p { max-width: 24em; color: rgb(255 255 255 / 0.85); }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.phone-wrap { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.phone-wrap figcaption { font-size: 14px; color: rgb(255 255 255 / 0.85); }
.phone-wrap figcaption b { color: #fff; font-weight: 600; margin-right: 6px; }

.phone {
  position: relative;
  width: 100%; max-width: 330px; height: 620px;
  border: 9px solid #0b0b0b; border-radius: 46px;
  background: #fff; color: #1c1c1e; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgb(0 0 30 / 0.45);
  font-size: 12px; line-height: 1.45;
  display: flex; flex-direction: column;
}
/* fade at the bottom hints that the email continues */
.phone::after { content: ""; position: absolute; inset: auto 0 0; height: 36px; background: linear-gradient(rgb(255 255 255 / 0), #fff); pointer-events: none; }
.phone p { margin: 0; }
.phone__status { display: flex; justify-content: space-between; padding: 12px 24px 6px; font-weight: 600; font-size: 12px; flex: none; }
.phone__status span:last-child { letter-spacing: -1px; font-size: 9px; }
.phone__screen { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.phone__screen::-webkit-scrollbar { display: none; }
.phone__screen:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.phone__mailhead { padding: 4px 16px 12px; border-bottom: 1px solid #ececec; }
.phone__back { color: #0a7aff; margin-bottom: 8px !important; }
.phone__subject { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px !important; }
.phone__from { display: flex; gap: 8px; align-items: center; font-size: 11px; line-height: 1.35; }
.phone__from .muted { color: #8e8e93; }
.phone__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }

/* the email itself: demo shop brand (Bricolage, white, black CTA, one orange accent), deliberately different from the site */
.mail {
  --m-ink: #171512; --m-mute: #77706a; --m-rule: #ece8e2; --m-soft: #f5f2ed; --m-acc: #e5532d;
  background: #fff; color: var(--m-ink); padding: 22px 18px 30px;
  font: 400 12.5px/1.5 "Bricolage Grotesque", var(--font); font-optical-sizing: auto;
}
.mail img { display: block; }
.mail b { font-weight: 650; }
.mail__logo { font-size: 19px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 26px !important; }
.mail__h { font-size: 29px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; margin-bottom: 10px !important; text-wrap: balance; }
.mail__p { color: var(--m-mute); font-size: 13px; margin-bottom: 18px !important; text-wrap: pretty; }
.mail__label { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; margin: 28px 0 4px !important; }
.mail__small { font-size: 10.5px; color: var(--m-mute); }
.mail__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--m-rule); line-height: 1.3; }
.mail__item:first-of-type, .mail__label + .mail__item { border-top: 1px solid var(--m-rule); }
.mail__item img { width: 44px; height: 62px; object-fit: cover; border-radius: 3px; }
.mail__item span { color: var(--m-mute); font-size: 11.5px; }
.mail__item > b { font-variant-numeric: tabular-nums; }
.mail__ship { margin-top: 14px; font-size: 11.5px; color: var(--m-mute); }
.mail__bar { height: 4px; border-radius: 2px; background: var(--m-rule); margin-top: 7px; overflow: hidden; }
.mail__bar span { display: block; height: 100%; background: var(--m-acc); }
.mail__btn { display: block; text-align: center; background: var(--m-ink); color: #fff; font-weight: 650; font-size: 14px; letter-spacing: -0.01em; border-radius: 999px; padding: 14px; margin: 18px 0 8px; }
.mail__btn + .mail__small { text-align: center; }
.mail__btn--line { background: transparent; color: var(--m-ink); box-shadow: inset 0 0 0 1.5px var(--m-ink); margin-top: 14px; }
.mail__review { margin-top: 30px; }
.mail__rating { font-size: 11.5px; color: var(--m-mute); margin-bottom: 8px !important; }
.mail__rating span { color: var(--m-acc); letter-spacing: 1px; }
.mail__rating b { color: var(--m-ink); }
.mail__quote { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 8px !important; text-wrap: balance; }
.mail__trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border-top: 1px solid var(--m-rule); border-bottom: 1px solid var(--m-rule); }
.mail__trust li { padding: 10px 8px 10px 0; font-size: 10px; line-height: 1.3; color: var(--m-mute); }
.mail__trust li + li { padding-left: 8px; border-left: 1px solid var(--m-rule); }
.mail__trust b { display: block; color: var(--m-ink); font-size: 11.5px; margin-bottom: 2px; }
.mail__note { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; margin-top: 26px; padding: 14px; background: var(--m-soft); border-radius: 10px; font-size: 12.5px; }
.mail__note img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.mail__note b { display: inline-block; margin-top: 6px; font-size: 11.5px; }
.mail__foot { margin-top: 26px !important; font-size: 10px; color: #a59e97; }
.mail__hero { width: calc(100% + 36px); max-width: none; height: auto; margin: 0 -18px 20px; }
.mail__code { background: var(--m-acc); color: #fff; border-radius: 12px; padding: 16px 16px 14px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; }
.mail__code span { font-size: 40px; font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; grid-row: span 2; }
.mail__code b { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; background: #fff; color: var(--m-ink); border-radius: 6px; padding: 4px 8px; justify-self: end; }
.mail__code small { font-size: 10px; opacity: 0.85; justify-self: end; }
.mail__link { margin-top: 12px !important; font-size: 12px; font-weight: 650; text-decoration: underline; text-decoration-color: var(--m-acc); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.mail__pack { width: 100%; height: 190px; object-fit: contain; background: #f1e8d7; border-radius: 12px; padding: 14px; margin-bottom: 20px; }
.mail__stars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mail__stars span { display: grid; place-items: center; height: 50px; border: 1px solid var(--m-rule); border-radius: 10px; color: var(--m-acc); font-size: 20px; line-height: 1; padding-top: 4px; }
.mail__stars small { font-size: 9.5px; color: var(--m-mute); }
.mail__recipe { background: var(--m-soft); border-radius: 12px; padding: 2px 14px 14px; margin-top: 28px; }
.mail__recipe .mail__label { margin: 14px 0 10px !important; }
.mail__recipe dl { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin: 0 0 10px; }
.mail__recipe dt { font-size: 10px; color: var(--m-mute); }
.mail__recipe dd { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.mail__refill { margin-top: 28px; color: var(--m-mute); font-size: 13px; }
.mail__refill b { color: var(--m-ink); }
.mail__refill .mail__small { text-align: center; }

/* why it sells: annotations under each phone */
.why { max-width: 330px; font-size: 14px; line-height: 1.45; }
.why > p { font-size: 13px; color: rgb(255 255 255 / 0.85); margin-bottom: 4px; }
.why li { padding: 8px 0; border-top: 1px solid rgb(255 255 255 / 0.28); text-wrap: pretty; }

/* section rows: label column + body (Emil Kowalski / Are.na pattern) */
.row {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px;
  padding-top: clamp(64px, 9vw, 120px);
}
.row__label {
  grid-column: 1 / span 3;
  font-size: 16px; font-weight: 500; color: var(--mute);
  padding-top: 18px; border-top: 1px solid var(--ink);
}
.row__body { grid-column: 4 / -1; padding-top: 18px; border-top: 1px solid var(--rule); }
.row__body > .big { margin-bottom: 40px; }
.prose p + p { margin-top: 1em; }
.prose p:not(.big) { max-width: 36em; }
.prose .big + p { margin-top: 24px; }

/* flows + faq: collapsible rows */
.flows, .faq { border-top: 1px solid var(--rule); }
.flows details, .faq details { border-bottom: 1px solid var(--rule); }
.flows summary, .faq summary { list-style: none; cursor: pointer; position: relative; padding: 16px 32px 16px 0; }
.flows summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.flows summary::after, .faq summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 22px; line-height: 1; color: var(--mute); transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
.flows summary:hover::after, .faq summary:hover::after { color: var(--blue); }
.flows summary { display: grid; grid-template-columns: 14em 1fr auto; gap: 4px 24px; align-items: baseline; }
.flows summary b { font-weight: 600; }
.flows__trig { color: var(--mute); }
.flows__n { font-size: 14px; color: var(--blue); white-space: nowrap; }
.flows ol { padding: 0 0 18px; margin-left: calc(14em + 24px); }
.flows ol li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.flows ol li + li { margin-top: 4px; }
.flows ol span { color: var(--mute); font-variant-numeric: tabular-nums; }
.faq summary { font-weight: 600; }
.faq details p { color: var(--mute); max-width: 36em; padding: 0 32px 18px 0; }

/* plans: three columns split by hairlines, no cards */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 28px; }
.plan:first-child { padding-left: 0; }
.plan:last-child { padding-right: 0; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan h3 { font-size: 16px; font-weight: 600; display: flex; align-items: baseline; gap: 10px; }
.plan__rec { font-size: 13px; font-weight: 500; color: var(--blue); }
.plan--rec { background: var(--soft); }
.plan__price { font-size: clamp(36px, 3.6vw, 48px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.plan__price .muted { font-size: 16px; letter-spacing: 0; }
.plan ul { display: grid; gap: 4px; }
.plan li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.excl { margin-top: 16px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 24px; }
.steps li { counter-increment: s; display: grid; gap: 2px; align-content: start; padding-top: 12px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s); color: var(--blue); font-size: 28px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }

/* agency */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.split > p { max-width: 34em; }
.split .plan__price { margin-bottom: 12px; }

/* about */

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; max-width: 720px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 500; }
input, select, textarea {
  font: inherit; color: var(--ink);
  min-height: 44px; padding: 10px 12px;
  background: #fff; border: 1px solid #cfcfcf; border-radius: 4px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
[aria-invalid="true"] { border-color: #d0201a; }
.form__error { color: #d0201a; font-weight: 500; }
.form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.field__error { margin: 0; font-size: 14px; color: #d0201a; }
.form__sent { max-width: 720px; display: grid; gap: 12px; padding: 24px; background: var(--soft); border-left: 3px solid var(--blue); }
.form__sent:focus { outline: none; }
.btn:disabled { opacity: .6; cursor: progress; }
.form__done { max-width: 720px; display: grid; gap: 16px; justify-items: start; }
.form__done pre { width: 100%; white-space: pre-wrap; font: 14px/1.5 ui-monospace, Menlo, monospace; background: var(--soft); border: 1px solid var(--rule); border-radius: 4px; padding: 16px; margin: 0; }

/* footer */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: clamp(80px, 10vw, 140px); padding-top: 20px; padding-bottom: 32px;
  border-top: 1px solid var(--rule); font-size: 14px;
}

/* responsive */
@media (max-width: 900px) {
  .row__label, .row__body { grid-column: 1 / -1; }
  .row__label { padding-bottom: 0; border-top-color: var(--ink); }
  .row__body { border-top: 0; padding-top: 12px; }
  .hero h1, .hero__foot { grid-column: 1 / -1; }
  .hero__photo { grid-column: 1 / -1; grid-row: auto; display: flex; align-items: end; gap: 14px; margin-top: 32px; }
  .hero__photo img { width: 120px; }
  .phones { grid-template-columns: repeat(3, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(-1 * clamp(20px, 4vw, 48px)); padding-right: clamp(20px, 4vw, 48px); }
  .phone-wrap { scroll-snap-align: start; }
  .phone { height: 580px; }
  .plans { grid-template-columns: 1fr; border-bottom: 0; }
  .plan, .plan:first-child, .plan:last-child { padding: 24px 0 28px; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); }
  .plan--rec { order: -1; padding: 24px 20px 28px !important; margin-inline: calc(-1 * clamp(20px, 4vw, 48px)); padding-inline: clamp(20px, 4vw, 48px) !important; border-top: 0 !important; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .top nav a:not([hreflang]) { display: none; }
  .top__sub { display: none; }
  .form { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .flows summary { grid-template-columns: 1fr auto; }
  .flows__trig { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .flows ol { margin-left: 0; }
  .flows ol li { grid-template-columns: 76px 1fr; font-size: 15px; }
  .row__body > .big { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary::after { transition: none; } }

/* measurement: text + one-page report mockup (site brand, it is Natalia's deliverable) */
.measure { display: grid; grid-template-columns: 1fr 1.55fr; gap: 40px; align-items: start; }
.measure__text { display: grid; gap: 16px; max-width: 30em; }
.measure__list { border-top: 1px solid var(--rule); }
.measure__list li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.measure__list b { display: block; color: var(--ink); }
.report { margin: 0; border: 1px solid var(--rule); border-radius: 4px; padding: 22px 24px 24px; font-size: 14px; background: #fff; }
.report p { margin: 0; }
.report__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.report__kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
.report__kpis > div { padding: 16px 12px 16px 0; font-size: 13px; line-height: 1.35; }
.report__kpis > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.report__num { font-size: clamp(26px, 2.5vw, 32px); letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 4px !important; white-space: nowrap; }
.report__up { color: var(--blue); font-weight: 500; }
.report__table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.report__table th, .report__table td { text-align: left; padding: 9px 14px 9px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.report__table thead th { font-size: 13px; color: var(--mute); }
.report__table tbody th { font-weight: 500; }
.report__table td:nth-child(2) { width: 22%; }
.report__table td:last-child { width: 46%; white-space: nowrap; }
.report__bar { display: inline-block; vertical-align: middle; width: calc(var(--w) * 0.62); height: 6px; margin-left: 10px; background: var(--blue); }
.report__health { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--mute); }
.report__health b { color: var(--ink); font-weight: 500; }
.report__next { padding-top: 14px; }
.report__next ol { counter-reset: r; margin-top: 6px; color: var(--mute); }
.report__next li { counter-increment: r; display: grid; grid-template-columns: 20px 1fr; }
.report__next li::before { content: counter(r); color: var(--ink); }
.report__next li + li { margin-top: 2px; }
@media (max-width: 900px) { .measure { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .report { padding: 18px 16px 20px; }
  .report__kpis > div { padding: 12px 8px 12px 0; font-size: 12px; }
  .report__kpis > div + div { padding-left: 8px; }
  .report__num { font-size: 21px; }
  .report__kpis > div > p:first-child { min-height: 2.7em; }
  .report__kpis > div > p:last-child:not(.report__up), .report__health { display: none; }
}
