/* KinStick site styles, from the Figma design (KINSTICK-FINAL).
   Fonts are self-hosted (SIL OFL, licences in ../fonts/): no requests leave
   our own domain. */

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Figma variables Color02 / Color04, plus the tan and grey used in frames */
  --green: #093d31;
  --mint: #a3ede5;
  --mint-light: #adfff8;
  --tan: #b9946a;
  --tan-dark: #9c7a53;
  --grey: #767676; /* Figma's #9a9a9a darkened to pass contrast on white */
  --white: #fff;
  --black: #000;
  --danger: #a4262c;

  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 3.4vw, 49px); /* 49px at the design's 1440px width */
  --max-width: 1440px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--mint);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 4vw, 3.625rem); }  /* 58px */
h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); } /* 40px */
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }

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

:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page {
  padding-top: 3rem;
  padding-bottom: 4rem;
  max-width: 60rem;
}

/* ---- Header ---------------------------------------------------------- */

.site-header {
  background: var(--green);
  color: var(--white);
}

.site-header__inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  display: block;
  line-height: 0;
}
.site-header__logo img {
  width: clamp(104px, 9.7vw, 140px);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-nav a,
.site-nav__logout button {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.25rem); /* 20px */
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Logging out is a POST, so it's a form button dressed as a menu link. */
.site-nav__logout {
  margin: 0;
}
.site-nav__logout button {
  padding: 0;
  border-radius: 0;
  background: none;
  font-family: var(--font-body);
  line-height: inherit;
}
.site-nav a:hover,
.site-nav__logout button:hover {
  background: none;
  color: var(--mint);
}
.site-nav a.is-active {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}

/* Wide screens: the popover is shown inline, always. Overriding the
   browser's [popover] styles (hidden, fixed in the top layer). */
@media (min-width: 48.01rem) {
  .site-nav__toggle {
    display: none;
  }
  .site-nav[popover] {
    display: block;
    position: static;
    inset: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    overflow: visible;
  }
}

/* Small screens: a Menu button opens the links as a panel under the header. */
@media (max-width: 48rem) {
  .site-header__inner {
    min-height: 64px;
  }
  .site-nav__toggle {
    padding: 0.4rem 0.9rem;
    border: 2px solid var(--mint);
    background: none;
    color: var(--white);
    font-size: 1.25rem;
  }
  .site-nav[popover] {
    inset: 64px 0 auto auto;
    width: min(18rem, 100vw);
    margin: 0;
    padding: 0.5rem var(--gutter) 1rem;
    border: 0;
    border-radius: 0 0 0 var(--radius-sm);
    background: var(--green);
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.25);
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav a,
  .site-nav__logout button {
    display: block;
    padding: 0.75rem 0;
  }
}

/* ---- Main ------------------------------------------------------------ */

.site-main {
  flex: 1;
}

.message {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-left: 6px solid var(--green);
  border-radius: var(--radius-sm);
}

/* ---- Footer ---------------------------------------------------------- */

.site-footer {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  line-height: 25px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, max-content));
  justify-content: center;
  gap: 2rem clamp(2rem, 5vw, 5.5rem);
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

.site-footer__brand {
  max-width: 13rem;
}

.site-footer p {
  margin: 0;
}

.site-footer__heading {
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer a.is-active {
  color: var(--mint);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem !important;
}
.site-footer__social a {
  display: block;
  color: var(--mint-light);
  line-height: 0;
}
.site-footer__social a:hover {
  color: var(--white);
}

.site-footer__copyright {
  margin: 0;
  padding: 1.5rem var(--gutter);
  background: var(--tan);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.75rem); /* 28px */
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

/* ---- Buttons and forms ----------------------------------------------- */
/* Base styles for pages not yet designed (login, account, sticker edit),
   so they stay usable and on-brand. */

.button,
button,
[role="button"],
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--tan);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.button:hover,
button:hover,
[role="button"]:hover,
input[type="submit"]:hover {
  background: var(--tan-dark);
}
.button--dark,
button.secondary {
  background: var(--green);
}
.button--dark:hover,
button.secondary:hover {
  background: #0d5544;
}

.inline-form {
  display: inline;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--green);
}

input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"]),
select,
textarea {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  font: inherit;
}

textarea {
  min-height: 6rem;
}

.helptext,
.form-help {
  display: block;
  margin: -0.75rem 0 1rem;
  color: var(--grey);
  font-size: 0.875rem;
}

.errorlist {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  color: var(--danger);
  font-weight: 600;
}

fieldset {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 0.5rem;
  border-bottom: 1px solid var(--green);
  text-align: left;
}

details > summary {
  cursor: pointer;
  font-weight: 600;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 3rem);
}

.notice {
  padding: 0.75rem 1rem;
  border-left: 6px solid var(--tan);
  background: #fdf6ee;
  border-radius: var(--radius-sm);
}

.checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: inherit;
}

legend {
  padding: 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.contact-form + .contact-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--green);
}

@media (max-width: 48rem) {
  .site-footer__inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* ---- Scan page (Figma "Info-profile") ---------------------------------- */

.profile-page {
  padding-top: clamp(1rem, 8vw, 7.5rem);
  padding-bottom: clamp(2rem, 8vw, 13rem);
}

.profile {
  max-width: 916px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.profile__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 916 / 381;
  min-height: 180px;
  background: #7fd0d8 url("../img/mountains.webp") center bottom / cover no-repeat;
}

.profile__photo {
  width: clamp(130px, 25vw, 231px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
}
.profile__photo--empty {
  background: rgb(255 255 255 / 0.55);
}

.profile__body {
  padding: clamp(1.5rem, 4vw, 3.75rem) clamp(1.25rem, 10vw, 93px) clamp(2rem, 6vw, 4rem);
}
.profile__body--centred {
  text-align: center;
}

.profile__name {
  margin-bottom: 0.4rem;
  text-align: center;
}
.profile__subtitle {
  margin: 0 0 clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.5625rem); /* 25px */
  text-align: center;
}
.profile__call {
  display: block;
  width: fit-content;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: 1.2rem 2rem;
  text-align: center;
}

.profile__section + .profile__section {
  margin-top: 2rem;
}

.profile__section h2 {
  margin-bottom: 1rem;
}

.profile__facts {
  margin: 0;
}
.profile__facts > div + div {
  margin-top: 1.1rem;
}
.profile__facts dt,
.profile__contact-name {
  color: var(--green);
  font-weight: 600;
}
.profile__facts dt,
.profile__facts dd,
.profile__contacts {
  font-size: clamp(1.1rem, 1.8vw, 1.5625rem); /* 25px */
  line-height: 1.25;
}
.profile__facts dd {
  margin: 0;
  color: var(--black);
}

.profile__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--green);
  font-weight: 600;
}
.profile__contacts li {
  display: flex;
  flex-direction: column;
}
.profile__contacts li + li {
  margin-top: 1.1rem;
}
.profile__contacts a {
  /* Big enough to hit first time with a gloved or shaking hand */
  display: inline-block;
  padding: 0.2rem 0;
  font-weight: 700;
}

.profile__privacy {
  margin: 3rem 0 0;
  color: var(--grey);
  font-size: 0.875rem;
}

/* ---- Homepage (Figma "Hompage") ---------------------------------------- */

.button--large {
  padding: 1.1rem 1.6rem;
  border-radius: 17px;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem); /* 40px */
}

.hero {
  background: #7fd0d8 url("../img/mountains.webp") center bottom / cover no-repeat;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  align-items: end;
  gap: 1rem;
  min-height: clamp(26rem, 41.6vw, 37.5rem); /* 599px at 1440 */
}
.hero__text {
  align-self: center;
  padding: 2rem 0;
}
.hero__title {
  /* An <h1> on the homepage, a <p> on content pages (their h1 is the ribbon) */
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(5rem, 11.5vw, 10.375rem); /* 166px */
  line-height: 0.85;
}
.hero__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.625rem); /* 58px */
  line-height: 1;
  text-transform: uppercase;
}
.hero__tagline {
  margin: 0 0 1.5rem;
  max-width: 23rem;
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.3;
}
.hero__image {
  justify-self: end;
  width: min(100%, 975px);
  margin-top: -2.5rem; /* the bike's helmet reaches up into the header area, as in the design */
}

.ribbon {
  background: var(--green);
  color: var(--white);
}
.ribbon__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.ribbon__title {
  flex: 0 0 auto;
  margin: 0;
  color: #81cfd8;
  font-size: clamp(1.6rem, 2.4vw, 2.1875rem); /* 35px */
}
.ribbon__list {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ribbon__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
}
.ribbon__list li + li {
  border-left: 3px solid #81cfd8;
}
.ribbon__list img {
  width: auto;
  height: clamp(56px, 6.5vw, 95px);
}
.ribbon__list p {
  margin: 0;
  max-width: 8.5rem;
  line-height: 1.2;
}
.ribbon__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.what-is {
  /* The sticker bleeds off the right edge, as in the design, while the
     arrow is allowed to reach down into the next section. */
  position: relative;
  z-index: 1;
  overflow-x: clip;
}
.what-is__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}
.what-is h2 {
  font-size: clamp(2.25rem, 4vw, 3.625rem);
}
.what-is p {
  margin: 0 0 1.5rem;
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.3;
}
.what-is__sticker {
  width: min(115%, 1026px);
  max-width: none;
}
.what-is__arrow {
  position: absolute;
  left: 36%;
  bottom: -5rem; /* 78px below the section at 1440, as in the design */
  width: clamp(160px, 27vw, 393px);
  z-index: 1;
  pointer-events: none;
}

.scenery {
  background: #a3ede5 url("../img/home/background-02.webp") center top / cover no-repeat;
}

.how {
  padding: 5.5rem 0 4rem;
  text-align: center;
}
.how__title {
  font-size: clamp(2.25rem, 4vw, 3.625rem);
}
.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.how__steps::before {
  /* the dashed line joining the three steps */
  content: "";
  position: absolute;
  top: clamp(60px, 8.7vw, 125px);
  left: 17%;
  right: 17%;
  height: 8px;
  background: url("../img/home/line-dashed.svg") center / 100% 100% no-repeat;
}
.how__steps li {
  position: relative;
}
.how__steps img {
  width: clamp(120px, 17.4vw, 250px);
}
.how__steps h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.75rem;
}
.how__steps p {
  max-width: 13rem;
  margin: 0 auto;
}

.testimonials {
  padding: 3.25rem 0 8rem;
  background: rgb(32 125 103 / 0.75);
  color: var(--white);
}
.testimonials__title {
  text-align: center;
  font-size: clamp(2.25rem, 4vw, 3.625rem);
  margin-bottom: 2rem;
}
.testimonials__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.testimonials blockquote {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 3.5rem 2rem 2rem 6rem;
  min-height: 220px;
  background: #03473a;
  border: 2px solid var(--mint-light);
  border-radius: 30px;
}
.testimonials blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0.25rem;
  left: 1.6rem;
  color: var(--mint-light);
  font-family: var(--font-display);
  font-size: 10rem;
  line-height: 1;
}
.testimonials blockquote p {
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
}
.testimonials blockquote footer {
  margin-top: 0.75rem;
  color: var(--mint-light);
}

.cta-band {
  background: var(--mint);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.cta-band__logo {
  width: clamp(120px, 16vw, 233px);
}
.cta-band__text {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.2vw, 4.6875rem); /* 75px */
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 60rem) {
  .hero__inner,
  .what-is__inner {
    grid-template-columns: 1fr;
  }
  .hero__image {
    margin-top: 0;
  }
  .what-is__sticker {
    width: 100%;
  }
  .what-is__arrow {
    display: none;
  }
  .ribbon__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .ribbon__list {
    flex-direction: column;
    gap: 1.25rem;
  }
  .ribbon__list li {
    padding: 0;
  }
  .ribbon__list li + li {
    border-left: 0;
  }
  .ribbon__list img {
    width: 90px;
    height: auto;
  }
}

@media (max-width: 40rem) {
  .how__steps {
    grid-template-columns: 1fr;
  }
  .how__steps::before {
    display: none;
  }
}

/* ---- Content pages: hero, ribbon title, prose (Figma "FAQ") ------------- */

.page-hero {
  background: #7fd0d8 url("../img/mountains.webp") center bottom / cover no-repeat;
}
.page-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(16rem, 41.6vw, 37.5rem); /* 599px at 1440 */
}
.page-hero__text {
  padding: 2rem 0;
}
.page-hero__illustration {
  /* The hiker strides down over the ribbon, as in the design */
  position: absolute;
  left: 35.5%;
  bottom: clamp(-9.5rem, -10.6vw, -3.5rem);
  width: clamp(130px, 28.4vw, 409px);
  z-index: 1;
}

.page-ribbon {
  background: var(--green);
}
.page-ribbon__title {
  margin: 0;
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
  color: var(--mint-light);
  font-size: clamp(2.5rem, 5.2vw, 4.6875rem); /* 75px */
  text-align: center;
}
.page-hero--illustrated + .page-ribbon {
  position: relative;
}

.prose {
  max-width: 84rem;
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}
.prose h2 {
  margin-top: 2.25rem;
  font-size: clamp(1.9rem, 3.3vw, 3rem); /* 48px */
}
.prose h3 {
  margin-top: 1.75rem;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
}
.prose a {
  font-weight: 700;
}

/* FAQ: each question gets the design's heavy rule underneath */
.prose--faq {
  font-size: clamp(1rem, 1.7vw, 1.5625rem); /* 25px */
}
.prose--faq h2 {
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 4px solid var(--green);
  border-radius: 0 0 2px 2px;
}
.prose--faq h2:first-child {
  margin-top: 0.5rem;
}

@media (max-width: 40rem) {
  .page-hero__illustration {
    left: auto;
    right: 0;
    bottom: -2.5rem;
    width: 110px;
  }
  .page-hero--illustrated .page-hero__text {
    max-width: calc(100% - 110px);
  }
}

/* ---- Shop (Figma "Shop" frames) ----------------------------------------- */

.shop {
  padding: 5rem 0 6rem;
}
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 331px));
  justify-content: center;
  gap: 2.5rem 5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-card__image {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.product-card__image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card__info {
  position: absolute;
  top: 20px;
  right: 19px;
  line-height: 0;
}
.product-card__name {
  margin: 1rem 0 0.25rem;
  font-size: 2rem;
}
.product-card__name a {
  color: inherit;
  text-decoration: none;
}
.product-card__summary {
  margin: 0 0 0.5rem;
}
.price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  margin: 0 0 1rem;
  font-weight: 600;
}
.price__amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}
.price__delivery {
  flex-basis: 100%;
  color: var(--green);
}
.product-card__buy {
  width: 100%;
  text-align: center;
}
.product-card__stock,
.stock-notify__status {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 1.25rem;
}
.stock-notify__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.stock-notify__row input {
  flex: 1 1 16rem;
  margin: 0;
}
.shop-tagline {
  margin: 0;
  padding: 5rem var(--gutter) 6rem;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  text-align: center;
}
.included {
  padding: 4rem 0 6rem;
  background: rgb(32 125 103 / 0.75);
  color: var(--white);
}
.included__inner {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 460px);
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.included__image {
  border-radius: var(--radius);
}
.product {
  padding: 4rem 0 5rem;
  text-align: center;
}
.product__inner {
  max-width: 60rem;
}
.product .price {
  justify-content: center;
  margin-top: 1.5rem;
}
.product__description {
  margin: 3rem auto 0;
  max-width: 55rem;
}

@media (max-width: 60rem) {
  .included__inner {
    grid-template-columns: 1fr;
  }
}

/* Cards line up their buy buttons whatever the summary length */
.product-card {
  display: flex;
  flex-direction: column;
}
.product-card form,
.product-card--free .product-card__buy {
  margin-top: auto;
}
.product-card--free {
  padding: 1.5rem;
  border: 2px dashed var(--green);
  border-radius: var(--radius-sm);
}
.product-card__badge {
  align-self: flex-start;
  margin: 0;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
}
.stock-notify__free {
  margin-top: 1.25rem;
}

/* ---- Login (Figma "Login") ------------------------------------------- */

.auth {
  /* Mountains on top, the design's teal below */
  background:
    url("../img/mountains.webp") center top / 100% auto no-repeat,
    #067e75;
  overflow: hidden;
}
.auth__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 695px);
  align-items: start;
  gap: 2rem;
  padding-top: clamp(2rem, 7.8vw, 7rem);
  padding-bottom: 4rem;
}
.auth__title {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 8.125rem); /* 130px */
  line-height: 0.88;
}
.auth__image {
  display: block;
  width: min(115%, 790px);
  max-width: none;
  margin-top: clamp(2rem, 9vw, 8rem);
  margin-bottom: -4rem; /* the bike rides down over the footer edge, as in the design */
}
.auth__card {
  padding: clamp(1.5rem, 5vw, 4.5rem) clamp(1.25rem, 6vw, 10rem);
  background: var(--white);
  border-radius: 38px;
  text-align: center;
}
.auth__logo {
  width: clamp(150px, 16vw, 225px);
  margin: 0 auto 1.5rem;
}
.auth__lead,
.auth__heading {
  margin: 0 0 1.75rem;
  font-weight: 400;
  font-size: 1.1rem;
}
.auth__heading {
  font-size: 2rem;
}
.auth__form {
  text-align: left;
}
.auth__form label {
  color: var(--black);
  font-weight: 400;
  font-size: 1.125rem;
}
.auth__field {
  position: relative;
  margin-bottom: 1.25rem;
}
.auth__field img {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.auth__field input {
  margin: 0;
  min-height: 52px;
  padding-left: 52px;
  border: 0;
  border-radius: 16px;
  background: #eee;
}
.auth__submit,
.auth__card [role="button"] {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.6rem 1.75rem;
  border-radius: 18px;
  background: #067e75;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
}
.auth__submit:hover,
.auth__card [role="button"]:hover {
  background: var(--green);
}
.auth__small {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}
.auth__small a,
.auth__card p a {
  color: #209378;
}
.auth__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 1rem;
  font-size: 1rem;
  color: #525252;
}
.auth__divider::before,
.auth__divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #03473a;
}
.auth__divider strong {
  color: #1c1c1c;
}
.auth__provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  border: 1px solid #81cfd8;
  border-radius: 16px;
  color: #1c1c1c;
  font-size: 0.9rem;
  text-decoration: none;
}
.auth__provider:hover {
  background: #f3fbfb;
}

@media (max-width: 60rem) {
  .auth__inner {
    grid-template-columns: 1fr;
  }
  .auth__intro {
    text-align: center;
  }
  .auth__image {
    display: none;
  }
}

/* ---- Contact (Figma FAQ frame, "Contact us" section) ------------------ */

.contact {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem);
}
.contact-card {
  max-width: 1073px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 5.25rem) clamp(1.25rem, 6vw, 5.75rem);
  background: #03473a;
  border-radius: 30px;
  color: var(--white);
}
.contact-card__intro,
.contact-card__thanks {
  margin: 0 0 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}
.contact-card__row {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.6rem;
}
.contact-card__row label {
  margin: 0;
  padding-top: 0.9rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem); /* 40px */
  line-height: 1;
  text-transform: uppercase;
}
.contact-card input,
.contact-card textarea {
  margin: 0;
  min-height: 85px;
  border: 0;
  border-radius: 17px;
  background: #cafffb;
}
.contact-card textarea {
  min-height: 189px;
}
.contact-card .errorlist {
  color: #ffd2cc;
}
.contact-card .helptext {
  margin: 0.5rem 0 0;
  color: var(--white);
  font-size: 0.9rem;
}
.contact-card__submit {
  display: block;
  margin-left: auto;
  min-width: 280px;
  min-height: 85px;
  border-radius: 17px;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

/* Honeypot: off-screen for people, still in the form for bots */
.contact-address {
  margin: 2rem auto 0;
  max-width: 40rem;
  font-style: normal;
  text-align: center;
  line-height: 1.6;
}

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

@media (max-width: 40rem) {
  .contact-card__row {
    grid-template-columns: 1fr;
  }
  .contact-card__row label {
    padding-top: 0;
  }
  .contact-card__submit {
    width: 100%;
    min-width: 0;
  }
}

/* ---- About / Terms / Privacy (Figma "About", "Terms and conditions") --- */

.teal-page {
  background: #067e75;
  color: var(--white);
}
.teal-page__inner {
  max-width: 64rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.teal-page__title {
  margin-bottom: 1.5rem;
  color: var(--mint-light);
  font-size: clamp(2.5rem, 4vw, 3.625rem); /* 58px */
  text-align: center;
}
.teal-page__body {
  max-width: none;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.7vw, 1.5625rem); /* 25px */
  line-height: 1.4;
}
.teal-page--about .teal-page__body {
  text-align: center;
}
.teal-page--legal .teal-page__body {
  font-weight: 600;
  font-size: clamp(1rem, 1.3vw, 1.2rem); /* long text: smaller, left-aligned */
  line-height: 1.6;
}
.teal-page__body a {
  color: var(--mint-light);
}
.teal-page__body h2,
.teal-page__body h3 {
  color: var(--mint-light);
}
.teal-page__scenery {
  /* Forest with a trail, the front-facing biker riding out of it */
  display: flex;
  justify-content: center;
  aspect-ratio: 1444 / 760;
  background: url("../img/pages/forest-trail.webp") center bottom / cover no-repeat;
}
.teal-page__biker {
  align-self: flex-end;
  width: clamp(220px, 48vw, 700px);
  margin-bottom: -6%; /* the wheel rolls over the footer edge, as in the design */
}

/* ---- Product gallery (Figma "Product page" arrows) -------------------- */

.gallery {
  position: relative;
  max-width: 809px;
  margin: 0 auto;
}
.gallery__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
  background: var(--white);
}
.gallery__track::-webkit-scrollbar {
  display: none;
}
.gallery__track li {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.gallery__track img {
  display: block;
  width: 100%;
  aspect-ratio: 809 / 418;
  object-fit: contain;
}
.gallery__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: clamp(44px, 6vw, 90px);
  height: clamp(44px, 6vw, 90px);
  padding: 0;
  background: none;
  color: var(--black);
  line-height: 0;
}
.gallery__arrow:hover {
  background: none;
  color: var(--green);
}
.gallery__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.gallery__arrow svg {
  width: 100%;
  height: 100%;
}
.gallery__arrow--prev {
  right: 100%;
  margin-right: 1rem;
}
.gallery__arrow--prev svg {
  transform: scaleX(-1);
}
.gallery__arrow--next {
  left: 100%;
  margin-left: 1rem;
}
@media (max-width: 60rem) {
  /* No room beside the photo: arrows sit on it */
  .gallery__arrow--prev {
    right: auto;
    left: 0;
    margin: 0;
  }
  .gallery__arrow--next {
    left: auto;
    right: 0;
    margin: 0;
  }
}

/* ---- Edit ICE info (Figma "User form") -------------------------------- */

.pform {
  background: #067e75;
}
.pform__hero {
  background: #7fd0d8 url("../img/mountains.webp") center bottom / cover no-repeat;
  padding-top: clamp(2.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(7rem, 11vw, 9rem); /* room for the photo circle */
}
.pform__title {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.625rem); /* 58px */
}
.pform__body {
  position: relative;
  z-index: 1;
  margin-top: clamp(-7rem, -8vw, -3rem);
}
.pform__card {
  position: relative;
  max-width: 1279px;
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 6.5vw, 6rem) clamp(2rem, 4vw, 3.5rem);
  background: var(--white);
  border-radius: 25px;
  /* The scenery rises behind the bottom of the card, as in the design */
  margin-bottom: clamp(-9rem, -12vw, -3rem);
}
.pform__photo {
  position: absolute;
  top: calc(clamp(6.5rem, 16vw, 14.4rem) / -2);
  left: 50%;
  width: clamp(6.5rem, 16vw, 14.4rem); /* 231px */
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  display: grid;
  place-items: center;
}
.pform__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pform__photo .pform__photo-empty {
  width: 40%;
  height: auto;
  opacity: 0.45;
}
.pform__inner {
  max-width: 62rem;
  margin: 0 auto;
}
.pform__shown {
  margin: 0 0 1rem;
  color: #067e75;
  font-weight: 700;
}
.pform label {
  margin: 0 0 0.5rem;
  color: var(--black);
  font-weight: 700;
  font-size: clamp(1rem, 1.75vw, 1.5625rem); /* 25px */
}
.pform input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"], [type="file"]),
.pform select,
.pform textarea {
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
  min-height: clamp(3.25rem, 5.9vw, 5.3rem); /* 85px */
  border: 1px solid #a8a8a8;
  border-radius: 17px;
  background: #f5f5f5;
  font-size: 1.125rem;
}
.pform textarea {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.pform input[type="file"] {
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.pform .helptext {
  margin-top: -1rem;
}
.pform__photo-input {
  margin-bottom: 0.5rem;
}
.pform__heading {
  margin: 1.5rem 0 1rem;
  font-size: clamp(1.75rem, 2.4vw, 2.1875rem); /* 35px */
}
.pform__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 4vw, 3.5rem);
}
.pform__contact + .pform__contact {
  padding-top: 1.5rem;
  border-top: 1px dashed #a8a8a8;
}
.pform__remove .checkbox,
.pform__remove div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.pform__remove label {
  margin: 0;
  font-size: 1rem;
}
.pform__confirm {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  border-left: 6px solid var(--tan);
  background: #fdf6ee;
  border-radius: var(--radius-sm);
}
.pform .pform__confirm label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.pform__confirm input[type="checkbox"] {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--green);
}
.pform__confirm .errorlist {
  margin: 0 0 0.5rem;
}
.pform__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.pform__save {
  min-width: min(100%, 331px);
  min-height: clamp(3.5rem, 6.7vw, 6rem); /* 96px */
  border-radius: 17px;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem); /* 40px */
}
.pform__scenery {
  aspect-ratio: 1444 / 760;
  max-height: 46rem;
  width: 100%;
  background: url("../img/pages/forest-trail.webp") center bottom / cover no-repeat;
}
@media (max-width: 40rem) {
  .pform__pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Unlock flow (reuses the login card) ------------------------------ */

.auth__submit--wide {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
}
.auth__card .auth__provider {
  font-size: 1.1rem;
}
.auth__choices {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.auth__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #81cfd8;
  border-radius: 16px;
  font-size: 1rem;
  cursor: pointer;
}
.auth__option:has(input:checked) {
  background: #f3fbfb;
  border-color: #067e75;
}
.auth__option input {
  flex: none;
  width: auto;
  margin: 0;
}
.auth__warning {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: #fff4e5;
  font-size: 0.95rem;
}
.auth__warning p {
  margin: 0 0 0.5rem;
}
.auth__warning ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}
.auth__provider--button {
  width: 100%;
  background: transparent;
  color: #1c1c1c;
  text-transform: none;
  font-family: inherit;
}

/* ---- Account section (Figma "Account dashboard") ---------------------- */

.acct {
  background: #067e75;
}
.acct__hero {
  background: #7fd0d8 url("../img/mountains.webp") center bottom / cover no-repeat;
}
.acct__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 396px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(1.5rem, 4vw, 3.75rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.acct__menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.acct__menu a {
  display: flex;
  align-items: center;
  min-height: clamp(3.25rem, 6vw, 5.375rem); /* 86px */
  padding: 0 1.5rem;
  border-left: 6px solid transparent;
  background: #f5f5f5;
  color: var(--black);
  font-weight: 700;
  font-size: clamp(1rem, 1.46vw, 1.3125rem); /* 21px */
  text-decoration: none;
}
.acct__menu a:hover {
  background: #bce3e7;
}
.acct__menu a.is-active {
  border-left-color: var(--green);
}
.acct__menu li:first-child a {
  border-top-right-radius: 15px;
}
.acct__menu li:last-child a {
  border-bottom-right-radius: 15px;
}
.acct__welcome {
  padding-top: clamp(0rem, 2vw, 1.5rem);
}
.acct__welcome h1 {
  margin: 0 0 0.5rem;
  max-width: 14ch;
}
.acct__welcome p {
  margin: 0;
  max-width: 24rem;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem); /* 20px */
}

.acct__body {
  padding-top: clamp(1rem, 2vw, 2rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.acct__body .container {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
}

.acct-card {
  padding: clamp(1.25rem, 3.4vw, 3.0625rem);
  background: var(--white);
  border-radius: 20px;
  color: var(--green);
}
.acct-card--narrow {
  max-width: 48rem;
}
.acct-card--centre {
  border-radius: 30px;
  text-align: center;
}
.acct-card__title {
  margin: 0 0 clamp(1rem, 2vw, 2rem);
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3.625rem); /* 58px */
}
.acct-card__lead {
  margin: 0 0 1.5rem;
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.5625rem); /* 25px */
  color: #03473a;
}
.acct-card__empty {
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.acct-card__more {
  margin: clamp(1rem, 2vw, 1.75rem) 0 0;
  font-weight: 600;
  text-align: center;
}
.acct-card--wide > .acct-card__more {
  text-align: left;
}

.acct-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

/* Sticker tiles */
.acct-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 331px));
  gap: clamp(1rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.acct-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.acct-tile__art {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 30px;
}
.acct-tile__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.acct-tile__label {
  margin: 0.5rem 0 0;
  font-weight: 700;
  font-size: 1.125rem;
}
.acct-tile__code {
  margin: 0;
  color: var(--grey);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}
.acct-tile__button {
  display: block;
  margin-top: 0.75rem;
  padding-top: clamp(0.9rem, 2vw, 1.75rem);
  padding-bottom: clamp(0.9rem, 2vw, 1.75rem);
  text-align: center;
}
.acct-tile__switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.5rem;
  margin-top: 0.5rem;
}
.acct-tile__switch label {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 0.875rem;
}
.acct-tile__switch select {
  min-width: 0;
  padding: 0.5rem;
  border: 1px solid #a8a8a8;
  border-radius: 10px;
  background: #f5f5f5;
  font: inherit;
}
.acct-tile__switch button {
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
}
.acct-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}
.acct-tags__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #e2e2e2;
}
.acct-tags__label {
  margin: 0;
  font-weight: 700;
}
.acct-tags__code,
.acct-tags__note,
.acct-tags__count {
  margin: 0;
  color: var(--grey);
  font-size: 0.9rem;
}
.acct-tags__actions {
  display: flex;
  gap: 1.25rem;
  font-weight: 600;
}
.acct-tile__actions {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.acct-link {
  display: inline;
  padding: 0;
  background: none;
  color: var(--green);
  font: inherit;
  text-decoration: underline;
  text-transform: none;
}
.acct-link:hover {
  background: none;
}

/* Emergency info and recent orders */
.acct-complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.625rem); /* 58px */
  line-height: 1;
  text-transform: uppercase;
}
.acct-complete img {
  width: clamp(2.25rem, 3.8vw, 3.4375rem); /* 55px */
  height: auto;
}
.acct-missing {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}
.acct-missing li {
  margin-bottom: 0.4rem;
}
.acct-card--centre .button {
  padding-left: clamp(2rem, 5vw, 4.5rem);
  padding-right: clamp(2rem, 5vw, 4.5rem);
}
.acct-orders {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  padding: 0;
  max-width: 28rem;
  list-style: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  color: #03473a;
}
.acct-orders li {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 1rem;
  text-align: left;
}

/* Add another KinStick band */
.acct-band {
  background: #7fd0d8 url("../img/mountains.webp") center bottom / cover no-repeat;
}
.acct-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: clamp(14rem, 37vw, 33rem); /* 534px */
  padding-top: 2rem;
  padding-bottom: clamp(3rem, 8vw, 8rem);
}
.acct-band__text {
  margin: 0;
  color: var(--green);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.3vw, 3rem); /* 48px */
}
.acct-band__text span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2em;
  text-transform: uppercase;
}
.acct-band__button {
  min-width: clamp(8rem, 19vw, 17.5rem); /* 280px */
  padding-top: clamp(0.8rem, 1.8vw, 1.6rem);
  padding-bottom: clamp(0.8rem, 1.8vw, 1.6rem);
  text-align: center;
}

/* Lists, forms and tables inside the cards */
.acct-profiles {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.acct-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 20px;
}
.acct-profile__photo {
  flex: none;
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border-radius: 50%;
  background: #e2e2e2;
}
.acct-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.acct-profile__photo img[width="40"] {
  width: 40%;
  height: auto;
  opacity: 0.45;
}
.acct-profile__text {
  flex: 1 1 14rem;
  min-width: 0;
}
.acct-profile__name {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
}
.acct-profile__name span {
  color: var(--grey);
  font-weight: 600;
  font-size: 1rem;
}
.acct-profile__meta {
  margin: 0.25rem 0 0;
  font-weight: 600;
}
.acct-profile__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
}

.acct-form label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-weight: 700;
}
.acct-form input[type="text"],
.acct-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #a8a8a8;
  border-radius: 17px;
  background: #f5f5f5;
  font: inherit;
}
.acct-form input[type="checkbox"] {
  margin-right: 0.5rem;
}
.acct-form button {
  margin-top: 1.25rem;
}
.acct-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
}
.acct-logout {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e2e2;
}
.acct-delete {
  margin: 1.5rem 0 0;
}
.acct-delete a {
  color: var(--danger);
  font-weight: 600;
}
.acct-table-wrap {
  overflow-x: auto;
}
.acct-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 600;
}
.acct-table th,
.acct-table td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid #e2e2e2;
  text-align: left;
  white-space: nowrap;
}
.acct-table td:nth-child(3) {
  white-space: normal;
}

/* Phones: the menu becomes a row that scrolls sideways above the content */
@media (max-width: 48rem) {
  .acct__hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .acct__menu ul {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
  .acct__menu a,
  .acct__menu li:first-child a,
  .acct__menu li:last-child a {
    min-height: 3rem;
    padding: 0 1rem;
    border-left: 0;
    border-bottom: 4px solid transparent;
    border-radius: 12px;
    white-space: nowrap;
  }
  .acct__menu a.is-active {
    border-bottom-color: var(--green);
  }
  .acct__welcome {
    padding-top: 0;
  }
  .acct-orders li {
    grid-template-columns: 1fr auto;
  }
  .acct-orders li span:nth-child(2) {
    grid-row: 2;
    grid-column: 1;
  }
}
.acct-tile__art img[src*="sticker.webp"] {
  object-fit: contain;
  padding: 0.5rem;
}
@media (max-width: 48rem) {
  .acct-tiles {
    grid-template-columns: minmax(0, 18rem);
  }
}
