/* Sea-glass and apricot: the app's palette and typefaces, laid out as a packing sheet. */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fbf6ee;
  --paper: #ffffff;
  --sand: #f3eadc;
  --ink: #1f2d2b;
  --muted: #55625f;
  --line: #e6dccb;
  --line-strong: #cfc2ac;
  --lagoon: #0e7c7b;
  --lagoon-dark: #0a5e5d;
  --lagoon-soft: #d8edea;
  --apricot: #f2994a;
  --apricot-dark: #a85410;
  --apricot-soft: #fce8d3;
  --blush: #f7d9cf;
  --rosewood: #b23a48;
  --display: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --text: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --bag-radius: clamp(28px, 4.5vw, 56px);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--apricot-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--ink :focus-visible,
.bag :focus-visible,
.get__bag :focus-visible,
.foot :focus-visible {
  outline-color: var(--apricot);
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  background: var(--sand);
  padding: 1px 6px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 10px;
}
.skip:focus {
  top: 12px;
  color: var(--cream);
}

.wrap {
  width: 100%;
  max-width: calc(1180px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: calc(780px + 2 * var(--gutter));
}

/* ---------- header ---------- */

.top__row {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand__mark {
  width: 42px;
  height: 40px;
}
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  gap: 4px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
}
.nav__link:hover {
  background: var(--sand);
}
.nav__link.is-current {
  box-shadow: inset 0 -3px 0 var(--apricot);
  border-radius: 0;
}

/* ---------- call to action ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
}
.cta--light {
  background: var(--apricot);
  color: var(--ink);
}
.cta--light:hover {
  background: #f7ad6b;
  color: var(--ink);
}
.cta--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 12px;
  background: var(--lagoon);
  color: #fff;
}
.cta--small:hover {
  background: var(--lagoon-dark);
  color: #fff;
}
.cta--soon {
  background: transparent;
  border-style: dashed;
  cursor: default;
}
.cta--light.cta--soon {
  border-color: rgba(251, 246, 238, 0.65);
  color: var(--cream);
}
.cta--light.cta--soon:hover {
  background: transparent;
  color: var(--cream);
}
.cta--small.cta--soon {
  border-width: 1.5px;
  border-color: var(--line-strong);
  color: var(--muted);
}
.cta--small.cta--soon:hover {
  background: transparent;
  color: var(--muted);
}

/* ---------- shared pieces ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon-dark);
}
.tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--apricot);
}
.tag--apricot {
  color: var(--apricot);
}

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-top: 16px;
  max-width: 16em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
}
.lede {
  font-size: clamp(18px, 1.6vw, 20px);
  margin-top: 20px;
  max-width: 34em;
}
.small {
  font-size: 15px;
}

.section {
  padding-block: clamp(64px, 9vw, 128px);
}
.section--sand {
  background: var(--sand);
}
.section--ink {
  background: var(--ink);
  color: var(--cream);
}
.section--blush {
  background: var(--blush);
}

.phone {
  border: 7px solid var(--ink);
  border-radius: 30px;
  background: var(--cream);
  overflow: hidden;
  line-height: 0;
}
.phone--light {
  border-color: #3a4b48;
}
.phone__img {
  display: block;
  width: 100%;
  height: auto;
}
figcaption {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

/* ---------- hero: the wash bag ---------- */

.hero {
  padding-bottom: clamp(40px, 6vw, 72px);
}
.bag {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  background: var(--lagoon);
  color: var(--cream);
  border-radius: var(--bag-radius) var(--bag-radius) 22px 22px;
  padding: clamp(84px, 9vw, 116px) clamp(22px, 5vw, 64px) 0;
  overflow: hidden;
}
.bag__zip {
  position: absolute;
  top: clamp(30px, 4vw, 44px);
  left: clamp(22px, 5vw, 64px);
  right: clamp(46px, 7vw, 96px);
  height: 7px;
  border-radius: 4px;
  background: var(--cream);
}
.bag__zip::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -13px;
  width: 20px;
  height: 34px;
  border-radius: 10px;
  background: var(--apricot);
}
.bag__copy {
  padding-bottom: clamp(88px, 10vw, 132px);
}
.eyebrow {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cde8e5;
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6.1vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-top: 18px;
  text-wrap: balance;
}
.hero__num {
  color: var(--apricot);
  white-space: nowrap;
}
.hero__lede {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
  margin-top: 24px;
  max-width: 31em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 32px;
}
.hero__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  font-weight: 600;
}
.hero__more:hover {
  color: #fff;
}
.hero__facts {
  margin-top: 18px;
  font-size: 15px;
  color: #cde8e5;
}

.bag__phones {
  position: relative;
  align-self: end;
  height: 100%;
  min-height: 520px;
}
.bag__phones .phone {
  position: absolute;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}
.phone--front {
  width: min(290px, 74%);
  right: 0;
  top: 24px;
  z-index: 1;
}
.phone--back {
  width: min(250px, 64%);
  left: 0;
  top: 132px;
  border-color: #17403f;
  opacity: 0.96;
}

/* The trip as a boarding pass, tucked under the bag */
.ticket {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: -52px clamp(12px, 3vw, 40px) 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
}
.ticket__main {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 3.4vw, 52px);
  padding: 22px clamp(18px, 3vw, 34px);
}
.ticket__field dt,
.ticket__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket__field dd {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
}
.ticket__stub {
  padding: 22px clamp(18px, 3vw, 34px);
  border-left: 2px dashed var(--line-strong);
  background: var(--apricot-soft);
  border-radius: 0 17px 17px 0;
}
.ticket__result {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  font-size: 16px;
  line-height: 1.25;
}
.ticket__result span {
  white-space: nowrap;
}
.ticket__result b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--apricot-dark);
}
.hero__note {
  margin: 14px clamp(12px, 3vw, 40px) 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- how it works ---------- */

.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.steps {
  margin-top: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-strong);
}
.steps__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
}
.steps__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--lagoon);
}
.steps__item p {
  margin-top: 6px;
  color: var(--muted);
  max-width: 36em;
}
.types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.types li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  font-weight: 600;
  font-size: 15px;
}
.how__shot {
  position: sticky;
  top: 24px;
}

/* ---------- amounts ---------- */

.sum {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  margin-top: clamp(32px, 5vw, 56px);
}
.sum li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}
.sum li b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.15;
}
.sum li span {
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
}
.sum li + li::before {
  content: "×";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 34px;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--apricot-dark);
}
.sum li:nth-child(4)::before {
  content: "";
}
.sum li.sum__out::before {
  content: "=";
}
.sum li.sum__out {
  background: var(--lagoon);
  border-color: var(--lagoon);
  color: #fff;
}
.sum li.sum__out span {
  color: #d8edea;
}

.amounts__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(32px, 7vw, 100px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 72px);
}
.measure__table {
  width: 100%;
  border-collapse: collapse;
}
.measure__table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  padding-bottom: 14px;
}
.measure__table th,
.measure__table td {
  padding: 14px 14px 14px 0;
  border-top: 1px solid var(--line-strong);
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}
.measure__table thead th {
  border-top: 0;
  padding-block: 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.measure__table tbody th {
  font-weight: 600;
}
.measure__table .num {
  text-align: right;
  white-space: nowrap;
}
.measure__table tr > :last-child {
  padding-right: 0;
}
.measure__bar {
  position: relative;
  width: 42%;
  min-width: 96px;
}
.measure__fill {
  display: block;
  width: calc(var(--ml) * 1%);
  height: 26px;
  min-width: 10px;
  border-radius: 7px 13px 13px 7px;
  background: var(--lagoon);
}
.measure__value {
  position: absolute;
  inset: 0 auto 0 10px;
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
}
.measure__table tr:nth-child(n + 4) .measure__value {
  position: static;
  display: inline-block;
  color: var(--lagoon-dark);
  margin-left: 8px;
  vertical-align: middle;
}
.measure__table tr:nth-child(n + 4) .measure__fill {
  display: inline-block;
  vertical-align: middle;
}
.measure__take {
  font-family: var(--display);
  font-weight: 600;
}
.adjust {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.adjust b {
  color: var(--ink);
}

/* ---------- liquids ---------- */

.liquids {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: center;
}
.section--ink .lede {
  color: #e9e3d8;
}
.over {
  margin-top: 32px;
  padding: 22px 24px 24px;
  border: 1px solid rgba(251, 246, 238, 0.28);
  border-radius: 18px;
  max-width: 560px;
}
.over__total {
  font-size: 16px;
  color: #e9e3d8;
}
.over__total b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: #ff9aa5;
  margin-right: 6px;
}
.over__bar {
  position: relative;
  display: block;
  height: 14px;
  margin-top: 14px;
  border-radius: 7px;
  background: #e0626f;
}
/* the first litre of 1.4 L is within the allowance */
.over__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 71.4%;
  border-radius: 7px 0 0 7px;
  background: #7fc9c2;
  border-right: 3px solid var(--ink);
}
.over__item {
  margin-top: 18px;
  color: #e9e3d8;
}
.over__item b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--cream);
}
.over__fixes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.over__fixes li {
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(251, 246, 238, 0.12);
  font-weight: 600;
  font-size: 15px;
}
.over__fixes li::before {
  content: "→ ";
  color: var(--apricot);
}
.rules {
  margin-top: 32px;
  border-bottom: 1px solid rgba(251, 246, 238, 0.24);
  max-width: 640px;
}
.rules__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(251, 246, 238, 0.24);
}
.rules dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--apricot);
}
.rules dd {
  color: #e9e3d8;
}
.section--ink .small {
  margin-top: 22px;
  max-width: 640px;
  color: #c9cfc9;
}

/* ---------- also in the bag ---------- */

.more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.extras {
  margin-top: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-strong);
}
.extras__row {
  padding: 20px 0;
  border-top: 1px solid var(--line-strong);
}
.extras dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
}
.extras dd {
  margin-top: 6px;
  color: var(--muted);
  max-width: 34em;
}
.more__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
}
.more__shots .phone--b {
  margin-top: 84px;
}

/* ---------- private by design ---------- */

.private {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.private__head p:last-child {
  margin-top: 20px;
  max-width: 30em;
}
.facts {
  border-bottom: 2px solid var(--ink);
}
.facts li {
  display: grid;
  gap: 2px;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
}
.facts b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.facts span {
  color: #4a4442;
}

/* ---------- download ---------- */

.get {
  background: linear-gradient(var(--blush) 0 50%, var(--lagoon-dark) 50% 100%);
  padding-top: 0;
}
.get__bag {
  position: relative;
  background: var(--lagoon);
  color: var(--cream);
  border-radius: var(--bag-radius) var(--bag-radius) 0 0;
  padding: clamp(84px, 9vw, 116px) clamp(22px, 5vw, 64px) clamp(56px, 7vw, 88px);
  text-align: center;
}
.get__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 15em;
  margin: 0 auto 32px;
  text-wrap: balance;
}
.get__note {
  margin-top: 22px;
  font-size: 16px;
  color: #d8edea;
}
.get__note a {
  color: var(--cream);
  font-weight: 600;
}

/* ---------- footer ---------- */

.foot {
  background: var(--lagoon-dark);
  color: #d8edea;
  padding-block: 48px 28px;
  font-size: 16px;
}
.foot a {
  color: var(--cream);
}
.foot a:hover {
  color: #fff;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 32px;
}
.foot__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--cream);
}
.foot__nav {
  display: grid;
  gap: 2px;
  justify-items: start;
}
.foot__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.foot__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  overflow-wrap: anywhere;
}
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 246, 238, 0.22);
  font-size: 14px;
}

/* ---------- document pages ---------- */

.doc {
  padding-block: clamp(36px, 6vw, 72px) clamp(64px, 9vw, 112px);
}
.doc--center {
  min-height: 52vh;
  display: grid;
  align-items: center;
}
.doc__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-top: 16px;
  text-wrap: balance;
}
.doc__lede {
  margin-top: 20px;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 36em;
}
.doc__h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  margin-top: 52px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  font-weight: 600;
}
.link-arrow::after {
  content: "→";
  margin-left: 8px;
}

.ticks {
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.32em;
  width: 15px;
  height: 8px;
  border-left: 3px solid var(--lagoon);
  border-bottom: 3px solid var(--lagoon);
  transform: rotate(-45deg);
}

.summary {
  margin-top: 36px;
  padding: 26px clamp(20px, 3vw, 32px) 28px;
  background: var(--lagoon-soft);
  border-radius: 22px;
}
.summary__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 14px;
}

.policy h2:not(.summary__title) {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin-top: 48px;
  scroll-margin-top: 20px;
}
.policy > p,
.policy > ul {
  margin-top: 14px;
}
.policy > ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}
.policy > ul li::marker {
  color: var(--apricot-dark);
}
.table-scroll {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--paper);
}
.table-scroll table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 16px;
}
.table-scroll th,
.table-scroll td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
.table-scroll thead th {
  border-top: 0;
  background: var(--sand);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 3px solid var(--ink);
}
.release__version {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.release__version span {
  font-family: var(--text);
  font-weight: 400;
  font-size: 18px;
  color: var(--muted);
  margin-left: 8px;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq {
  margin-top: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.faq__item {
  border-top: 1px solid var(--line-strong);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 12px 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lagoon-soft);
  color: var(--lagoon-dark);
  font-size: 22px;
  line-height: 1;
}
.faq__item[open] summary::after {
  content: "−";
}
.faq__item p {
  padding: 0 48px 20px 0;
  color: var(--muted);
}

.stub {
  position: sticky;
  top: 24px;
  margin-top: 8px;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-top: 10px solid var(--lagoon);
  border-radius: 18px;
}
.stub__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
}
.stub__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.stub__note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
.stub__facts {
  margin-top: 20px;
  padding-top: 6px;
  border-top: 2px dashed var(--line-strong);
}
.stub__facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.stub__facts dt {
  color: var(--muted);
}
.stub__facts dd {
  font-weight: 600;
  text-align: right;
}

/* ---------- smaller screens ---------- */

@media (max-width: 1020px) {
  .sum {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 16px;
  }
  .sum li:nth-child(4)::before {
    content: "+";
    display: none;
  }
  .sum li.sum__out {
    grid-column: span 2;
  }
}

@media (max-width: 899px) {
  .top__cta {
    display: none;
  }
  .bag {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .bag__copy {
    padding-bottom: 36px;
  }
  .bag__phones {
    height: clamp(300px, 78vw, 460px);
    min-height: 0;
    width: min(100%, 520px);
    margin-inline: auto;
  }
  .phone--front {
    width: 54%;
    top: 0;
    right: 2%;
  }
  .phone--back {
    width: 46%;
    top: 14%;
    left: 2%;
  }
  .ticket {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -36px;
  }
  .ticket__stub {
    border-left: 0;
    border-top: 2px dashed var(--line-strong);
    border-radius: 0 0 17px 17px;
  }
  .how,
  .amounts__body,
  .liquids,
  .more,
  .private,
  .support {
    grid-template-columns: minmax(0, 1fr);
  }
  .how__shot,
  .amounts__shot,
  .liquids__shot {
    position: static;
    width: min(100%, 320px);
    margin-inline: auto;
  }
  .liquids__shot {
    order: 2;
  }
  .more__shots {
    width: min(100%, 520px);
    margin-inline: auto;
  }
  .more__shots .phone--b {
    margin-top: 48px;
  }
  .stub {
    position: static;
  }
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .top__row {
    flex-wrap: wrap;
    padding-block: 12px 6px;
    gap: 2px;
  }
  .brand {
    width: 100%;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
    margin-inline: -10px;
    width: calc(100% + 20px);
  }
  .nav__link {
    padding: 0 10px;
  }
  .phone {
    border-width: 5px;
    border-radius: 24px;
  }
  .bag__phones .phone {
    border-radius: 24px 24px 0 0;
  }
  .ticket__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .sum {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
  }
  .sum li.sum__out {
    grid-column: auto;
  }
  .sum li + li::before,
  .sum li:nth-child(4)::before {
    display: block;
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
  }
  .sum li:nth-child(4)::before {
    content: "";
    display: none;
  }
  .sum li:nth-child(4) {
    margin-top: -14px;
  }
  .measure__table thead th:nth-child(2),
  .measure__table tbody td:nth-child(2) {
    display: none;
  }
  .measure__bar {
    width: 38%;
  }
  .measure__table th,
  .measure__table td {
    padding-right: 10px;
    font-size: 15px;
  }
  .rules__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .measure__table tbody .measure__value {
    position: static;
    display: inline-block;
    color: var(--lagoon-dark);
    margin-left: 6px;
    vertical-align: middle;
  }
  .measure__table tbody .measure__fill {
    display: inline-block;
    vertical-align: middle;
    width: calc(var(--ml) * 0.55%);
    height: 22px;
  }
  .measure__table tbody .measure__bar {
    white-space: nowrap;
  }
  .steps__item {
    grid-template-columns: 46px minmax(0, 1fr);
  }
  .faq__item p {
    padding-right: 0;
  }
  .table-scroll table {
    min-width: 0;
  }
  .table-scroll thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .table-scroll tr {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
  }
  .table-scroll tbody tr:first-child {
    border-top: 0;
  }
  .table-scroll td {
    display: block;
    padding: 2px 0;
    border: 0;
  }
  .table-scroll td:first-child {
    font-weight: 600;
  }
  .table-scroll td:nth-child(2)::before {
    content: "Entered by: ";
    color: var(--muted);
  }
  .table-scroll td:nth-child(3)::before {
    content: "Kept: ";
    color: var(--muted);
  }
  .foot__grid {
    grid-template-columns: 1fr;
  }
  .foot__base {
    flex-direction: column;
  }
}

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

@media print {
  .top,
  .foot,
  .skip {
    display: none;
  }
  body {
    background: #fff;
  }
}
