/* ==========================================================
   PIRATE PUDDLES
   Homepage styling
   ========================================================== */

:root {
  --navy: #061b31;
  --navy-2: #082540;
  --ink: #10263d;
  --red: #c92b21;
  --red-dark: #9f1d16;
  --blue: #087fc5;
  --blue-dark: #045c94;
  --gold: #f8ba23;
  --sand: #f4d28f;
  --parchment: #f7dda1;
  --brown: #6a3418;
  --white: #fff;
  --max: 1180px;
  --font-display: "Bree Serif", Georgia, serif;
  --font-body: "Roboto Condensed", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #172434;
  font-family: var(--font-body);
  background: var(--navy);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
  height: 92px;
  position: relative;
  z-index: 50;
  background:
    linear-gradient(rgba(2, 16, 29, .96), rgba(4, 26, 45, .96)),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.025) 0,
      rgba(255,255,255,.025) 2px,
      transparent 2px,
      transparent 6px
    );
  box-shadow: 0 2px 7px rgba(0,0,0,.4);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
}

.brand {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 270px;
  z-index: 6;
  filter: drop-shadow(0 4px 2px rgba(0,0,0,.32));
}

.main-nav {
  margin-left: 292px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  color: #fff;
  font-size: 17px;
}

.main-nav a {
  position: relative;
  padding: 33px 0 29px;
  text-shadow: 0 2px 2px rgba(0,0,0,.5);
  transition: color .18s ease, transform .18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffd428;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 20px;
  height: 3px;
  border-radius: 99px;
  background: #ffd428;
}

.crew-top {
  margin-left: auto;
  width: 168px;
  transition: transform .18s ease;
}

.crew-top:hover {
  transform: translateY(-2px) scale(1.015);
}

.nav-toggle {
  display: none;
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
  min-height: 630px;
  position: relative;
  background-image: url("../images/Background.png");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 43%),
    linear-gradient(180deg, rgba(5,32,50,.05), rgba(0,0,0,0) 70%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  height: 455px;
  position: relative;
}

.hero-copy {
  position: absolute;
  left: 70px;
  top: 64px;
  z-index: 3;
  width: 430px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  line-height: .88;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -1.5px;
  filter: drop-shadow(0 3px 0 rgba(255,255,255,.35));
}

.hero-copy h1 span {
  display: block;
  color: #122d48;
  font-size: clamp(54px, 5.2vw, 79px);
}

.hero-copy h1 strong {
  display: block;
  color: #c72c22;
  font-size: clamp(62px, 5.8vw, 88px);
  font-weight: 400;
}

.hero-copy p {
  margin: 23px 0 17px;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 600;
  color: #11263b;
  text-shadow: 0 1px rgba(255,255,255,.55);
}

.hero-copy p em {
  color: #cf2e23;
  font-style: normal;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.btn {
  min-height: 59px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border: 2px solid rgba(99,24,10,.48);
  text-shadow: 0 2px 1px rgba(0,0,0,.3);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.24),
    0 5px 7px rgba(0,0,0,.28);
  transition: transform .16s ease, filter .16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.04);
}

.btn-red {
  background: linear-gradient(#e33c2b, #b91913);
}

.btn-blue {
  background: linear-gradient(#1499db, #0767a7);
  border-color: rgba(5,65,107,.8);
}

.btn-icon {
  font-size: 24px;
}

.hero-character {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 50%;
  width: 48%;
  max-width: 555px;
  pointer-events: none;
}

.puddles-tub {
  width: 100%;
  filter: drop-shadow(0 10px 6px rgba(0,0,0,.14));
}

.endless-sign {
  position: absolute;
  z-index: 4;
  width: 182px;
  right: 13px;
  top: 248px;
  transform: rotate(2deg);
  filter: drop-shadow(0 5px 4px rgba(0,0,0,.28));
}

.hero-crab {
  position: absolute;
  z-index: 4;
  width: 58px;
  right: -4px;
  top: 385px;
  transform: rotate(-7deg);
}


/* ==========================================================
   FIVE FEATURE CARDS
   ========================================================== */

.feature-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 8;
}

.feature-grid {
  width: min(980px, calc(100% - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.feature-card {
  min-height: 208px;
  padding: 10px 12px 13px;
  position: relative;
  text-align: center;
  border: 2px solid rgba(118,73,24,.30);
  border-radius: 13px 10px 16px 11px;
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,.4), transparent 40%),
    linear-gradient(180deg, #f9e4aa 0%, #f3cd79 100%);
  box-shadow:
    inset 0 0 20px rgba(154,87,18,.08),
    0 5px 10px rgba(0,0,0,.24);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 9px;
  border: 1px dashed rgba(135,79,28,.13);
  pointer-events: none;
}

.feature-icon {
  width: 95px;
  height: 87px;
  object-fit: contain;
  margin: -10px auto -1px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 2px rgba(0,0,0,.18));
}

.feature-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 27px;
  color: #15263a;
  line-height: 1;
}

.feature-card p {
  min-height: 39px;
  margin: 6px 0 8px;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 600;
}

.mini-btn {
  display: inline-flex;
  min-width: 122px;
  min-height: 34px;
  padding: 5px 15px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px rgba(0,0,0,.35);
  border: 1px solid rgba(0,0,0,.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 2px 3px rgba(0,0,0,.2);
  position: relative;
  z-index: 2;
  transition: transform .15s ease, filter .15s ease;
}

.mini-btn:hover,
.book-btn:hover,
.message-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.red { background: linear-gradient(#dd3528, #ad1611); }
.blue { background: linear-gradient(#1595d7, #0669aa); }
.green { background: linear-gradient(#5da523, #367c14); }
.purple { background: linear-gradient(#ad347c, #7c1c56); }
.orange { background: linear-gradient(#f48213, #cb4a06); }


/* ==========================================================
   SAND AREA
   ========================================================== */

.sand-zone {
  position: relative;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.45) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 64%, rgba(161,107,46,.15) 0 1px, transparent 2px),
    linear-gradient(180deg, #f7dfae 0%, #f4d191 55%, #f1ca81 100%);
  background-size: 18px 18px, 25px 25px, auto;
  box-shadow: inset 0 5px 12px rgba(131,75,23,.12);
}

.books-wrap {
  width: min(1070px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 0;
  position: relative;
}

.adventure-banner {
  width: 515px;
  max-width: 55vw;
  margin: -53px auto 7px;
  position: relative;
  z-index: 9;
  filter: drop-shadow(0 4px 3px rgba(0,0,0,.28));
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.book-card {
  min-height: 255px;
  position: relative;
  display: grid;
  grid-template-columns: 57% 43%;
  align-items: center;
  overflow: visible;
  padding: 11px 12px;
  border: 2px solid rgba(115,71,28,.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.36), transparent 45%),
    linear-gradient(180deg, rgba(250,228,177,.96), rgba(244,211,145,.96));
  box-shadow:
    inset 0 0 26px rgba(140,82,30,.07),
    0 4px 8px rgba(74,43,14,.2);
}

.book-cover-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2px 6px 2px 2px;
}

/* The critical rule:
   Covers remain LANDSCAPE and keep their source aspect ratio. */
.book-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 5px;
  filter: drop-shadow(0 6px 5px rgba(0,0,0,.28));
  transform: rotate(-.8deg);
}

.colour-card .book-cover {
  transform: rotate(.6deg);
}

.book-copy {
  position: relative;
  z-index: 4;
  padding: 6px 8px 5px 6px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-copy h2 {
  margin: 0 0 12px;
  color: #a7251f;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.02;
  font-weight: 400;
}

.book-copy h2 strong {
  font-size: 29px;
  font-weight: 400;
}

.colour-card .book-copy h2 strong {
  color: #b52f2a;
}

.book-copy p {
  margin: 0 0 9px;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 600;
}

.book-actions {
  display: flex;
  gap: 7px;
  margin-top: auto;
}

.book-btn {
  min-width: 82px;
  min-height: 34px;
  padding: 5px 11px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow:
    inset 0 1px rgba(255,255,255,.25),
    0 2px 3px rgba(0,0,0,.19);
  text-shadow: 0 1px rgba(0,0,0,.3);
  transition: transform .15s ease, filter .15s ease;
}

.charcoal {
  background: linear-gradient(#555, #292929);
}

.gummy-decoration {
  position: absolute;
  left: 232px;
  bottom: -13px;
  z-index: 6;
  width: 54px;
  transform: rotate(4deg);
  pointer-events: none;
}

.paint-decoration {
  position: absolute;
  inset: 0 0 0 auto;
  width: 34%;
  overflow: hidden;
  opacity: .62;
  z-index: 1;
  pointer-events: none;
}

.paint-decoration img {
  width: 210%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(-25%);
}

.new-badge {
  position: absolute;
  right: -8px;
  top: -26px;
  z-index: 10;
  width: 94px;
  filter: drop-shadow(0 4px 3px rgba(0,0,0,.25));
}


/* ==========================================================
   NEWSLETTER
   ========================================================== */

.crew-section {
  width: min(1040px, calc(100% - 40px));
  min-height: 152px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 315px 1fr 185px;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 17px;
}

.crew-copy {
  position: relative;
  z-index: 3;
}

.crew-copy h2 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  color: #10345b;
  font-size: 36px;
  line-height: 1;
}

.crew-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
}

.signup-form {
  position: relative;
  z-index: 4;
  display: flex;
  height: 48px;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.15));
}

.signup-form input {
  min-width: 0;
  flex: 1;
  padding: 0 18px;
  color: #404040;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(122,78,29,.28);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  outline: none;
}

.signup-form input:focus {
  box-shadow: inset 0 0 0 2px rgba(21,124,188,.18);
}

.signup-form button {
  width: 164px;
  border: 0;
  border-radius: 0 999px 999px 0;
  color: #fff;
  background: linear-gradient(#db3628, #ae1611);
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 1px rgba(0,0,0,.3);
}

.signup-duck {
  position: absolute;
  right: 190px;
  bottom: 15px;
  z-index: 2;
  width: 69px;
  transform: rotate(-6deg);
}

.hidden-treasure {
  width: 170px;
  justify-self: end;
  position: relative;
  z-index: 3;
  transform: rotate(-3deg);
  filter: drop-shadow(0 4px 3px rgba(0,0,0,.2));
}

.sand-starfish {
  position: absolute;
  z-index: 1;
  width: 87px;
  left: -62px;
  top: 33px;
  transform: rotate(-14deg);
}


/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(3,24,42,.98), rgba(3,24,42,.98)),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.025) 0,
      rgba(255,255,255,.025) 2px,
      transparent 2px,
      transparent 7px
    );
  box-shadow: inset 0 5px 11px rgba(0,0,0,.25);
}

.footer-inner {
  width: min(1040px, calc(100% - 40px));
  min-height: 208px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 155px 130px 225px 210px 1fr;
  align-items: start;
  gap: 18px;
  padding: 29px 0 11px;
}

.footer-compass {
  align-self: center;
}

.footer-compass img {
  width: 135px;
  filter: drop-shadow(0 6px 3px rgba(0,0,0,.3));
}

.footer-column {
  min-height: 142px;
  padding-left: 17px;
  border-left: 1px solid rgba(255,255,255,.16);
}

.footer-column h2 {
  margin: 0 0 11px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
}

.footer-column > a {
  display: block;
  width: max-content;
  margin: 5px 0;
  color: rgba(255,255,255,.92);
  font-size: 14px;
}

.footer-column > a:hover {
  color: #ffd63d;
}

.socials {
  display: flex;
  gap: 10px;
  margin-bottom: 17px;
}

.socials a {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 700;
  background: #2976c2;
  box-shadow: inset 0 1px rgba(255,255,255,.25);
}

.socials a:nth-child(2) { background: #e24269; }
.socials a:nth-child(3) { background: #cf2a26; }
.socials a:nth-child(4) { background: #dc322a; }

.friend-note {
  display: flex;
  align-items: center;
  gap: 7px;
}

.friend-note img {
  width: 62px;
}

.friend-note span {
  min-width: 112px;
  padding: 7px 9px;
  text-align: center;
  border: 2px dashed #d99c1e;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.05;
}

.message-column p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}

.message-btn {
  min-width: 142px;
  min-height: 40px;
  padding: 7px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #201c15 !important;
  font-family: var(--font-display);
  font-size: 18px !important;
  border-radius: 7px;
  background: linear-gradient(#f8e1a8, #edc474);
  border: 1px solid #a8732d;
  box-shadow: 0 3px 5px rgba(0,0,0,.25);
  transition: transform .15s ease, filter .15s ease;
}

.copyright {
  margin: 0;
  padding: 2px 15px 14px;
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: 12px;
}

.future-anchor {
  height: 0;
  scroll-margin-top: 100px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {
  .brand {
    width: 220px;
  }

  .main-nav {
    margin-left: 238px;
    gap: 17px;
    font-size: 15px;
  }

  .crew-top {
    width: 145px;
  }

  .hero-copy {
    left: 35px;
  }

  .feature-grid {
    width: calc(100% - 28px);
    gap: 8px;
  }

  .feature-card {
    padding-left: 7px;
    padding-right: 7px;
  }

  .book-card {
    grid-template-columns: 55% 45%;
  }

  .footer-inner {
    grid-template-columns: 125px 115px 195px 190px 1fr;
    width: calc(100% - 24px);
    gap: 8px;
  }
}


/* ==========================================================
   MOBILE / SMALL TABLET
   ========================================================== */

@media (max-width: 820px) {
  .site-header {
    height: 74px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .brand {
    width: 155px;
    top: 5px;
    left: 8px;
  }

  .crew-top {
    width: 126px;
    margin-left: auto;
    margin-right: 48px;
  }

  .nav-toggle {
    display: block;
    width: 38px;
    height: 38px;
    padding: 7px;
    position: absolute;
    right: 10px;
    top: 18px;
    z-index: 15;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    height: 3px;
    margin: 4px 0;
    border-radius: 99px;
    background: #fff;
  }

  .main-nav {
    display: none;
    position: absolute;
    z-index: 12;
    left: 0;
    right: 0;
    top: 74px;
    margin: 0;
    padding: 13px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(4,24,42,.985);
    box-shadow: 0 7px 10px rgba(0,0,0,.33);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 7px;
  }

  .main-nav a.active::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 28px;
    background-position: 64% center;
  }

  .hero-inner {
    width: 100%;
    height: auto;
    min-height: 675px;
  }

  .hero-copy {
    width: calc(100% - 34px);
    left: 17px;
    top: 33px;
  }

  .hero-copy h1 span {
    font-size: clamp(48px, 12vw, 72px);
  }

  .hero-copy h1 strong {
    font-size: clamp(56px, 14vw, 82px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-character {
    top: 290px;
    left: 50%;
    width: min(580px, 92vw);
    transform: translateX(-50%);
  }

  .endless-sign {
    width: 135px;
    right: 10px;
    top: 515px;
  }

  .hero-crab {
    width: 48px;
    right: 2px;
    top: 620px;
  }

  .feature-strip {
    position: relative;
    bottom: auto;
    padding: 10px 0 0;
  }

  .feature-grid {
    width: min(620px, calc(100% - 26px));
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-card {
    min-height: 206px;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    justify-self: center;
  }

  .adventure-banner {
    max-width: 82vw;
    margin-top: -12px;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    min-height: 0;
    grid-template-columns: 58% 42%;
  }

  .gummy-decoration {
    left: 47%;
  }

  .crew-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 15px 30px;
  }

  .signup-form {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .hidden-treasure {
    width: 145px;
    justify-self: center;
    margin-top: 3px;
  }

  .signup-duck {
    position: static;
    width: 70px;
    margin: -4px auto -8px;
  }

  .sand-starfish {
    left: -15px;
    top: 20px;
    width: 70px;
  }

  .footer-inner {
    width: min(620px, calc(100% - 34px));
    grid-template-columns: repeat(2, 1fr);
    padding-top: 25px;
  }

  .footer-compass {
    grid-column: 1 / -1;
  }

  .footer-compass img {
    width: 120px;
    margin: 0 auto 6px;
  }

  .footer-column {
    border-left: 0;
    padding-left: 0;
  }
}


/* ==========================================================
   PHONE
   ========================================================== */

@media (max-width: 560px) {
  .crew-top {
    width: 108px;
    margin-right: 42px;
  }

  .brand {
    width: 136px;
  }

  .hero-inner {
    min-height: 600px;
  }

  .hero-copy {
    top: 30px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-copy p br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 235px;
    min-height: 52px;
    font-size: 18px;
  }

  .hero-character {
    top: 330px;
    width: 105vw;
  }

  .endless-sign {
    display: none;
  }

  .hero-crab {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    width: min(330px, calc(100% - 34px));
  }

  .feature-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .feature-card {
    min-height: 190px;
  }

  .book-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }

  .book-cover-wrap {
    padding: 0;
  }

  .book-cover {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 12px;
    transform: none !important;
  }

  .book-copy h2 {
    margin-top: 3px;
  }

  .book-actions {
    justify-content: center;
  }

  .gummy-decoration {
    width: 48px;
    left: 5px;
    bottom: 3px;
  }

  .new-badge {
    width: 82px;
    right: -5px;
    top: -18px;
  }

  .paint-decoration {
    width: 65%;
  }

  .crew-copy h2 {
    font-size: 31px;
  }

  .signup-form {
    height: auto;
    flex-direction: column;
    filter: none;
  }

  .signup-form input {
    height: 48px;
    border: 1px solid rgba(122,78,29,.28);
    border-radius: 999px;
    text-align: center;
  }

  .signup-form button {
    width: 180px;
    height: 44px;
    margin: 8px auto 0;
    border-radius: 999px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column {
    min-height: 0;
    margin-bottom: 12px;
  }

  .footer-column > a {
    width: auto;
  }

  .socials,
  .friend-note {
    justify-content: center;
  }

  .friend-note {
    width: fit-content;
    margin: 0 auto;
  }
}

/* ==========================================================
   MOBILE APP PROMO
   ========================================================== */

.app-promo {
  padding: 48px 20px 50px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    linear-gradient(180deg, #eef5f4, #e6f0ee);
  background-size: 22px 22px, auto;
}

.app-promo-inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.app-promo-kicker {
  margin: 0 0 6px;
  color: #a52b21;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.app-promo h2 {
  margin: 0 0 10px;
  color: #143452;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.05;
  font-weight: 400;
}

.app-promo-text {
  max-width: 620px;
  margin: 0 auto 14px;
  color: #37424a;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
}

.app-promo-coming {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: #a52b21;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 11px;
  font-weight: 700;
}

.google-play-link {
  width: fit-content;
  margin: 0 auto;
  display: block;
}

.google-play-badge {
  width: 210px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .app-promo {
    padding: 39px 18px 42px;
  }

  .app-promo h2 {
    font-size: 31px;
  }

  .app-promo-text {
    font-size: 15px;
  }

  .google-play-badge {
    width: 190px;
  }
}

