/* Spontaneous Gadget brand layer on top of Dawn. 1rem = 10px, as in base.css. */

:root {
  --sg-ink: 16, 24, 40;
  --sg-radius-lg: 2.8rem;
  --sg-radius-md: 2rem;
  --sg-radius-sm: 1.2rem;
  --sg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

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

/* Dawn refinements */

body {
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
.h0,
.h1,
.h2,
.h3,
.h4,
.h5,
.hxl,
.hxxl {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.button,
.button-label,
.shopify-challenge__button,
.customer button {
  font-weight: 600;
  letter-spacing: 0;
}

.button {
  transition: transform 0.25s var(--sg-ease);
}

.button:not([disabled]):hover {
  transform: translateY(-0.2rem);
}

.field__input,
.select__select,
.customer .field input,
.customer select,
.field__label,
.form__label {
  letter-spacing: 0;
}

.header__menu-item,
.header__active-menu-item,
.menu-drawer__menu-item,
.list-menu__item,
.link,
.caption,
.caption-large,
.copyright__content,
.footer-block__heading {
  letter-spacing: 0;
}

.header__menu-item {
  padding: 0.9rem 1.4rem;
  border-radius: 10rem;
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.8);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header__menu-item:hover,
.header__menu-item[aria-current='page'] {
  background-color: rgba(var(--color-foreground), 0.06);
  color: rgb(var(--color-foreground));
}

.header__menu-item:hover span,
.header__active-menu-item,
.header__menu-item[aria-current='page'] span {
  text-decoration: none;
}

.header__inline-menu {
  margin-left: 2rem;
}

.header-wrapper--border-bottom {
  border-bottom-color: rgba(var(--color-foreground), 0.08);
}

/* Shared pieces */

.sg-section {
  padding-block: clamp(5.6rem, 8vw, 11rem);
}

.sg-section--flush-top {
  padding-top: 0;
}

.sg-section--flush-bottom {
  padding-bottom: 0;
}

.sg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--color-foreground));
}

.sg-eyebrow::before {
  content: '';
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgb(var(--sg-accent));
}

.sg-display,
.sg-h2,
.sg-h3,
.sg-h4 {
  margin: 0;
  font-family: var(--font-heading-family);
  font-style: var(--font-heading-style);
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-foreground));
  text-wrap: balance;
}

.sg-display {
  font-size: clamp(4rem, 6vw, 7.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.sg-h2 {
  font-size: clamp(3rem, 3.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.sg-h3 {
  font-size: clamp(2rem, 2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sg-h4 {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.sg-display em,
.sg-h2 em {
  font-style: normal;
  background-image: linear-gradient(rgb(var(--sg-accent)), rgb(var(--sg-accent)));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sg-lead {
  margin: 2rem 0 0;
  max-width: 54rem;
  font-size: clamp(1.7rem, 1.4vw, 1.9rem);
  line-height: 1.55;
  color: rgba(var(--color-foreground), 0.72);
  text-wrap: pretty;
}

.sg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.2rem;
}

.sg-icon {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
}

.sg-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgb(var(--sg-accent));
  color: rgb(var(--sg-ink));
  transition: transform 0.35s var(--sg-ease);
}

.sg-arrow .sg-icon {
  width: 1.8rem;
  height: 1.8rem;
}

a:hover > .sg-arrow,
a:hover .sg-tile__label .sg-arrow,
a:hover .sg-service__more .sg-arrow {
  transform: rotate(45deg);
}

.sg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  text-decoration: none;
}

.sg-link .sg-icon {
  width: 2rem;
  height: 2rem;
  transition: transform 0.3s var(--sg-ease);
}

.sg-link:hover .sg-icon {
  transform: translateX(0.4rem);
}

.sg-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: clamp(3.2rem, 4vw, 5.6rem);
}

.sg-section-head .sg-eyebrow {
  margin-bottom: 1.6rem;
}

.sg-section-head .sg-lead {
  margin-top: 1.4rem;
}

.sg-section-head--stacked {
  display: block;
  max-width: 72rem;
}

.sg-checks {
  display: grid;
  gap: 1.4rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.sg-checks li {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-weight: 500;
  color: rgb(var(--color-foreground));
}

.sg-checks__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgb(var(--sg-accent));
  color: rgb(var(--sg-ink));
}

.sg-checks__icon .sg-icon {
  width: 1.6rem;
  height: 1.6rem;
  stroke-width: 2.4;
}

/* Logo */

.sg-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: rgb(var(--color-foreground));
}

.sg-logo__mark {
  flex: none;
  width: 3.4rem;
  height: 3.4rem;
  transition: transform 0.6s var(--sg-ease);
}

a:hover .sg-logo__mark {
  transform: rotate(90deg);
}

.sg-logo__text {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

@media screen and (max-width: 749px) {
  .sg-logo__mark {
    width: 3rem;
    height: 3rem;
  }

  .sg-logo__text {
    font-size: 1.7rem;
  }
}

/* Top bar */

.sg-topbar {
  font-size: 1.3rem;
}

.sg-topbar__text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0.9rem 0;
  line-height: 1.4;
  text-align: center;
  color: rgba(var(--color-foreground), 0.9);
  text-decoration: none;
}

.sg-topbar__dot {
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgb(var(--sg-accent));
}

/* Hero */

.sg-hero {
  overflow: hidden;
}

.sg-hero__inner {
  display: grid;
  align-items: center;
  gap: 4.8rem;
  padding-top: clamp(3.2rem, 5vw, 6.4rem);
  padding-bottom: clamp(5.6rem, 7vw, 9.6rem);
}

.sg-hero__content .sg-lead {
  margin-top: 2.4rem;
}

.sg-hero__media {
  position: relative;
}

.sg-hero__image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--sg-radius-lg);
  background: rgba(var(--color-foreground), 0.06);
}

.sg-hero--home .sg-hero__image {
  aspect-ratio: 4 / 5;
}

.sg-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-hero__card {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1rem 1.6rem 1rem 1rem;
  border-radius: 2.2rem;
  background: rgb(var(--color-background));
  box-shadow: 0 2.4rem 4.8rem -2rem rgba(var(--sg-ink), 0.35);
  color: rgb(var(--color-foreground));
  text-decoration: none;
  transition: transform 0.4s var(--sg-ease);
}

.sg-hero__card:hover {
  transform: translateY(-0.4rem);
}

.sg-hero__card img {
  flex: none;
  width: 7.6rem;
  height: 7.6rem;
  border-radius: 1.4rem;
  object-fit: cover;
}

.sg-hero__card-text {
  display: grid;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
  font-size: 1.4rem;
  line-height: 1.35;
  color: rgba(var(--color-foreground), 0.7);
}

.sg-hero__card-text span {
  display: none;
}

.sg-hero__card-text strong {
  font-family: var(--font-heading-family);
  font-size: 1.7rem;
  font-weight: var(--font-heading-weight);
  letter-spacing: -0.015em;
  color: rgb(var(--color-foreground));
}

.sg-hero__sticker {
  position: absolute;
  top: -2rem;
  right: -1rem;
  width: 10rem;
  height: 10rem;
}

.sg-hero__sticker-ring {
  display: block;
  width: 100%;
  height: 100%;
  animation: sg-spin 28s linear infinite;
}

.sg-hero__sticker-ring text {
  font-family: var(--font-body-family);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  fill: rgb(var(--sg-ink));
}

.sg-hero__sticker-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgb(var(--sg-ink));
}

.sg-hero__sticker-mark .sg-icon {
  width: 3rem;
  height: 3rem;
}

@keyframes sg-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sg-hero__sticker-ring {
    animation: none;
  }
}

@media screen and (min-width: 750px) {
  .sg-hero__card {
    left: -2.4rem;
    right: auto;
    bottom: 3.2rem;
    max-width: 36rem;
  }

  .sg-hero__card-text span {
    display: block;
  }

  .sg-hero__sticker {
    top: -2.8rem;
    right: -2.8rem;
    width: 13rem;
    height: 13rem;
  }
}

@media screen and (min-width: 990px) {
  .sg-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 7.2rem;
  }

  .sg-hero--home .sg-hero__image {
    aspect-ratio: 5 / 6;
  }

  .sg-hero:not(.sg-hero--home) .sg-hero__image {
    aspect-ratio: 5 / 4;
  }
}

/* Highlights */

.sg-highlights__heading {
  margin-bottom: clamp(3.2rem, 4vw, 4.8rem);
}

.sg-highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-highlight {
  padding: 2.8rem;
  border-radius: var(--sg-radius-md);
  background: rgba(var(--color-foreground), 0.045);
}

.sg-highlight__icon {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 2.4rem;
  border-radius: 1.6rem;
  background: rgb(var(--sg-accent));
  color: rgb(var(--sg-ink));
}

.sg-highlight p {
  margin: 0.8rem 0 0;
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(var(--color-foreground), 0.7);
}

/* Categories */

.sg-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--sg-radius-md);
  color: rgb(var(--sg-ink));
  text-decoration: none;
}

.sg-tile__media {
  display: block;
  aspect-ratio: 1;
  background: rgba(var(--color-foreground), 0.06);
}

.sg-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--sg-ease);
}

.sg-tile:hover .sg-tile__media img {
  transform: scale(1.05);
}

.sg-tile__label {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.4rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(1.2rem);
  backdrop-filter: blur(1.2rem);
}

.sg-tile__text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  font-size: 1.3rem;
  line-height: 1.3;
  color: rgba(var(--sg-ink), 0.7);
}

.sg-tile__text strong {
  font-family: var(--font-heading-family);
  font-size: 1.6rem;
  font-weight: var(--font-heading-weight);
  letter-spacing: -0.015em;
  color: rgb(var(--sg-ink));
}

.sg-tile__text > span {
  display: none;
}

.sg-tile__label .sg-arrow {
  display: none;
}

@media screen and (min-width: 750px) {
  .sg-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .sg-tile__media {
    aspect-ratio: 5 / 4;
  }

  .sg-tile__label {
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    padding: 1.4rem 1.4rem 1.4rem 2rem;
    border-radius: 2rem;
  }

  .sg-tile__text strong {
    font-size: 1.9rem;
  }

  .sg-tile__text > span {
    display: block;
  }

  .sg-tile__label .sg-arrow {
    display: grid;
  }
}

/* Featured products */

.sg-featured__empty {
  text-align: center;
  color: rgba(var(--color-foreground), 0.6);
}

/* Services */

.sg-services__grid {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-services__item {
  display: flex;
}

.sg-service {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: var(--sg-radius-md);
  background: rgba(var(--color-foreground), 0.07);
  color: rgb(var(--color-foreground));
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.4s var(--sg-ease);
}

.sg-service:hover {
  background: rgba(var(--color-foreground), 0.11);
  transform: translateY(-0.4rem);
}

.sg-service__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.sg-service__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--sg-ease);
}

.sg-service:hover .sg-service__media img {
  transform: scale(1.05);
}

.sg-service__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 2.4rem;
}

.sg-service__text {
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(var(--color-foreground), 0.72);
}

.sg-service__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.6rem;
  font-weight: 600;
}

@media screen and (min-width: 750px) {
  .sg-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1100px) {
  .sg-services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Image with text */

.sg-split__inner {
  display: grid;
  align-items: center;
  gap: 4rem;
}

.sg-split__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--sg-radius-lg);
  background: rgba(var(--color-foreground), 0.06);
}

.sg-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 990px) {
  .sg-split__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8rem;
  }

  .sg-split__inner--reverse .sg-split__media {
    order: 2;
  }
}

/* Steps */

.sg-steps__inner {
  display: grid;
  gap: 4rem;
}

.sg-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-step {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: 2rem;
  padding: 2.8rem 0;
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.14);
}

.sg-step:last-child {
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.14);
}

.sg-step__number {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  font-family: var(--font-heading-family);
  font-size: 1.6rem;
  font-weight: var(--font-heading-weight);
}

.sg-step p {
  margin: 0.8rem 0 0;
  max-width: 48rem;
  color: rgba(var(--color-foreground), 0.72);
}

@media screen and (min-width: 990px) {
  .sg-steps__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 9.6rem;
  }

  .sg-steps__head {
    position: sticky;
    top: 12rem;
    align-self: start;
  }

  .sg-step {
    grid-template-columns: 7.2rem minmax(0, 1fr);
    padding: 3.2rem 0;
  }
}

/* Visit us */

.sg-store__inner {
  display: grid;
  align-items: center;
  gap: 4rem;
}

.sg-store__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--sg-radius-lg);
}

.sg-store__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 990px) {
  .sg-store__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8rem;
  }
}

.sg-contact-list {
  display: grid;
  gap: 1.6rem;
  margin: 3.2rem 0 0;
}

.sg-contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.sg-contact-list dt {
  flex: none;
}

.sg-contact-list__icon {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.4rem;
  background: rgba(var(--color-foreground), 0.08);
  color: rgb(var(--color-foreground));
}

.sg-contact-list__icon .sg-icon {
  width: 2.2rem;
  height: 2.2rem;
}

.sg-contact-list dd {
  margin: 0;
  line-height: 1.5;
  color: rgba(var(--color-foreground), 0.78);
}

.sg-contact-list address {
  font-style: normal;
}

.sg-contact-list strong {
  color: rgb(var(--color-foreground));
}

/* Questions */

.sg-faq__inner {
  display: grid;
  gap: 4rem;
}

.sg-faq__item {
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.14);
}

.sg-faq__item:last-child {
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.14);
}

.sg-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0;
  cursor: pointer;
  list-style: none;
}

.sg-faq__item summary::-webkit-details-marker {
  display: none;
}

.sg-faq__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(var(--color-foreground), 0.07);
  color: rgb(var(--color-foreground));
  transition: transform 0.35s var(--sg-ease), background-color 0.2s ease, color 0.2s ease;
}

.sg-faq__toggle .sg-icon {
  width: 1.8rem;
  height: 1.8rem;
}

.sg-faq__item[open] .sg-faq__toggle {
  transform: rotate(45deg);
  background: rgb(var(--sg-accent));
  color: rgb(var(--sg-ink));
}

.sg-faq__answer {
  max-width: 64rem;
  padding: 0 6rem 2.8rem 0;
  color: rgba(var(--color-foreground), 0.75);
}

.sg-faq__answer p {
  margin: 0;
}

@media screen and (min-width: 990px) {
  .sg-faq__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 9.6rem;
  }

  .sg-faq__head {
    position: sticky;
    top: 12rem;
    align-self: start;
  }
}

/* Request form */

.sg-form__inner {
  display: grid;
  gap: 4rem;
}

.sg-form__form {
  padding: clamp(2.4rem, 4vw, 4.8rem);
  border-radius: var(--sg-radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.06);
}

.sg-form__grid {
  display: grid;
  gap: 2rem;
}

.sg-form__grid .field {
  margin: 0;
}

.sg-form__grid .form__label {
  margin-bottom: 0.8rem;
}

.sg-form .select__select {
  font-size: 1.6rem;
}

.sg-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.4rem;
  margin-top: 2.8rem;
}

.sg-form__privacy {
  flex: 1;
  min-width: 20rem;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.4;
  color: rgba(var(--color-foreground), 0.6);
}

.sg-form__status {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0 0 2.4rem;
  padding: 1.6rem 2rem;
  border-radius: var(--sg-radius-sm);
  background: rgba(var(--color-foreground), 0.06);
  font-weight: 600;
  color: rgb(var(--color-foreground));
}

.sg-form__status--success {
  background: rgba(var(--sg-accent), 0.18);
}

@media screen and (min-width: 750px) {
  .sg-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-form__wide {
    grid-column: 1 / -1;
  }
}

@media screen and (min-width: 990px) {
  .sg-form__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 8rem;
  }

  .sg-form__head {
    position: sticky;
    top: 12rem;
    align-self: start;
  }
}

/* Newsletter */

.sg-newsletter__panel {
  display: grid;
  align-items: center;
  gap: 3.2rem;
  padding: clamp(3.2rem, 5vw, 6.4rem);
  border-radius: var(--sg-radius-lg);
}

.sg-newsletter__panel .sg-lead {
  margin-top: 1.2rem;
  color: rgba(var(--color-foreground), 0.8);
}

.sg-newsletter__form.newsletter-form {
  width: 100%;
  max-width: 48rem;
  margin: 0;
}

.sg-newsletter__form .newsletter-form__field-wrapper {
  max-width: none;
}

.sg-newsletter__form .field::after,
.sg-newsletter__form .field:hover::after,
.sg-newsletter__form .field:focus-within::after {
  box-shadow: none;
}

.sg-newsletter__form .field__input {
  height: 6rem;
  padding-left: 2.8rem;
  padding-right: 6.4rem;
  border-radius: 10rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 0.2rem rgb(var(--color-foreground));
}

.sg-newsletter__form .field__input:focus,
.sg-newsletter__form .field__input:not(:placeholder-shown) {
  padding: 2.6rem 6.4rem 1rem 2.8rem;
}

.sg-newsletter__form .field__label {
  top: 1.9rem;
  left: 2.8rem;
}

.sg-newsletter__form .field__input:focus ~ .field__label,
.sg-newsletter__form .field__input:not(:placeholder-shown) ~ .field__label {
  top: 1rem;
}

.sg-newsletter__form .field .field__button.newsletter-form__button,
.sg-newsletter__form .field .field__button.newsletter-form__button:not(:focus-visible):not(.focused) {
  top: 0.8rem;
  right: 0.8rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
}

@media screen and (min-width: 990px) {
  .sg-newsletter__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 6.4rem;
  }
}

/* Footer */

.footer .sg-logo {
  margin-bottom: 1.6rem;
}

.sg-footer__tagline {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.6rem;
  line-height: 1.5;
  color: rgba(var(--color-foreground), 0.75);
}

.footer .sg-contact-list {
  margin-top: 0;
  font-size: 1.5rem;
}

.footer-block__heading {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.6);
}

.sg-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem 3.2rem;
  margin-top: 2.4rem;
}

.sg-legal::before {
  content: '';
  flex-basis: 100%;
  height: 0.1rem;
  margin-bottom: 1.2rem;
  background: rgba(var(--color-foreground), 0.12);
}

.sg-legal__text {
  flex: 1;
  min-width: min(100%, 32rem);
  margin: 0;
  line-height: 1.6;
  color: rgba(var(--color-foreground), 0.65);
}

.sg-legal__text strong {
  color: rgba(var(--color-foreground), 0.9);
}

.sg-legal__link {
  flex: none;
  color: rgb(var(--color-foreground));
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

@media screen and (min-width: 750px) {
  .footer__blocks-wrapper .footer-block:first-child {
    width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 4);
    max-width: none;
  }
}
