@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black-400.woff2") format("woff2");
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-var.woff2") format("woff2");
}

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

:root {
  --sea: #0f6e8c;
  --foam: #e9f6f4;
  --coral: #ff6f59;
  --sun: #ffc857;
  --sand: #f6e7c8;
  --deep: #0b3443;
  --crab: #c23f2b;
  --shell: #fffdf8;
  --curve: 18px;
}

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

body {
  margin: 0;
  background: var(--foam);
  color: var(--deep);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-weight: 400;
  color: var(--sea);
  line-height: 1.15;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 14px;
}

a {
  color: var(--sea);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--deep);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}

.top a:focus-visible,
.foot a:focus-visible,
.foot button:focus-visible,
.reminder button:focus-visible {
  outline-color: var(--sun);
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.top {
  background: var(--sea);
  border-bottom: 3px dotted var(--coral);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 12px 0;
}

.mark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #fff;
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-size: 1.5rem;
  text-decoration: none;
}

.brand:hover {
  color: var(--sun);
}

.sun {
  flex: none;
}

.sun circle {
  fill: var(--sun);
}

.sun path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pill {
  background: var(--sun);
  color: var(--deep);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 1rem;
  font-weight: 700;
}

.top nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.top nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.top nav a[aria-current="page"] {
  background: var(--foam);
  color: var(--sea);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--crab);
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--deep);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -150px;
  width: min(560px, 95vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0 58%, rgba(255, 200, 87, 0.45) 59% 72%, rgba(255, 200, 87, 0.18) 73% 100%);
}

.hero .wrap {
  position: relative;
}

.hero h1 {
  max-width: 820px;
}

.hero p {
  max-width: 640px;
  font-size: 1.125rem;
}

.band {
  padding: 56px 0;
}

.sand {
  background: var(--sand);
}

.lead {
  max-width: 700px;
}

.wave,
.shore,
.gate-wave {
  display: block;
  width: 100%;
}

.wave {
  height: 56px;
  background: var(--sand);
}

.wave .swell {
  fill: var(--sea);
}

.wave .wash {
  fill: var(--foam);
}

.flip {
  transform: scaleY(-1);
}

.huts {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hut {
  --paint: var(--coral);
  --trim: var(--foam);
  --roof: var(--coral);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease;
}

.hut:hover {
  transform: translateY(-3px);
}

.hut.sunny {
  --paint: var(--sea);
  --trim: var(--sun);
  --roof: var(--sun);
}

.hut.sea {
  --paint: var(--sea);
  --trim: var(--foam);
  --roof: var(--sea);
}

.hut.sand {
  --paint: var(--coral);
  --trim: var(--sand);
  --roof: var(--sand);
}

.hut-face {
  display: flex;
  flex-direction: column;
}

.roof {
  position: relative;
  height: 62px;
  background: var(--deep);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.roof::after {
  content: "";
  position: absolute;
  inset: 8px 13px 0;
  background: var(--roof);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.stripes {
  display: grid;
  place-items: center;
  flex: 1;
  padding: 22px;
  background: repeating-linear-gradient(90deg, var(--paint) 0 22px, var(--trim) 22px 44px);
  border-inline: 4px solid var(--deep);
}

.stripes img {
  display: block;
  width: 128px;
  height: 128px;
  padding: 6px;
  border-radius: 50%;
  border: 4px solid var(--deep);
  background: var(--shell);
}

.hut-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  padding: 20px;
  background: var(--shell);
  border: 4px solid var(--deep);
  border-top: 0;
  border-radius: 0 0 var(--curve) var(--curve);
}

.hut-body h2,
.hut-body h3 {
  margin: 0;
  font-size: 1.35rem;
}

.by {
  margin: 0 0 6px;
  font-weight: 600;
}

.facts {
  list-style: none;
  margin: 6px 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.facts li {
  padding: 2px 12px;
  border-radius: var(--curve);
  background: var(--sand);
  font-weight: 600;
}

.hut-body .btn {
  margin-top: auto;
}

.row {
  list-style: none;
  max-width: 920px;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 44px;
}

.tide {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tide div {
  padding: 10px 14px;
  border-top: 4px solid var(--sea);
  border-radius: var(--curve);
  background: repeating-linear-gradient(180deg, var(--shell) 0 15px, #dcefeb 15px 16px);
}

.tide dt {
  color: var(--sea);
  font-weight: 700;
}

.tide dd {
  margin: 0;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.steps li {
  counter-increment: step;
  padding: 22px;
  border-radius: var(--curve);
  background: var(--shell);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--deep);
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-size: 1.3rem;
}

.bare {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bare li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 600;
}

.bare li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--crab);
}

.kiosk {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.kiosk div {
  padding: 20px 22px;
  border-left: 6px solid var(--sun);
  border-radius: var(--curve);
  background: var(--shell);
}

.kiosk h3 {
  font-size: 1.15rem;
}

.kiosk p {
  margin: 0;
}

.cool {
  max-width: 760px;
  padding: 24px;
  border: 3px dashed var(--sea);
  border-radius: var(--curve);
  background: var(--shell);
}

.cool p:last-child {
  margin: 0;
}

.page {
  padding: 40px 0 24px;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 40px;
}

.prose ul:not([class]) {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.stamp {
  font-weight: 700;
}

.crumbs ol {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.crumbs li + li::before {
  content: "›";
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.demo-by {
  font-weight: 700;
  font-size: 1.125rem;
}

.frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 28px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid var(--sea);
  border-radius: var(--curve);
  background: var(--deep);
}

.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.frame-note {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--foam);
  font-weight: 600;
  background: repeating-linear-gradient(90deg, var(--deep) 0 30px, #0e3d4e 30px 60px);
}

.frame-line {
  max-width: 1000px;
  margin: 12px auto 0;
  text-align: center;
}

.chart {
  width: 100%;
  max-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--curve);
  background: var(--shell);
  overflow: hidden;
}

.chart th,
.chart td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #cfe5e1;
}

.chart tr:last-child th,
.chart tr:last-child td {
  border-bottom: 0;
}

.chart th {
  width: 36%;
  color: var(--sea);
}

.next {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.next a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 14px 18px;
  border-radius: var(--curve);
  background: var(--shell);
  border: 3px solid var(--sea);
  text-decoration: none;
  font-weight: 700;
}

.next span {
  color: var(--deep);
  font-weight: 400;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.form {
  display: grid;
  gap: 6px;
  max-width: 620px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--curve);
  background: var(--shell);
}

.form label {
  margin-top: 10px;
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid var(--sea);
  border-radius: var(--curve);
  background: #fff;
  color: var(--deep);
  font: inherit;
  font-size: 1rem;
}

.form .btn {
  justify-self: start;
  margin-top: 16px;
}

.notice {
  position: absolute;
  right: 16px;
  z-index: 20;
  width: min(340px, 100% - 32px);
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: var(--curve);
  background: var(--sun);
  color: var(--deep);
  box-shadow: 0 10px 28px rgba(11, 52, 67, 0.25);
}

.notice a {
  color: var(--deep);
}

.reminder {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: var(--curve);
  background: var(--deep);
  color: var(--foam);
  box-shadow: 0 10px 28px rgba(11, 52, 67, 0.35);
}

.gate {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  height: 70vh;
  flex-direction: column;
  animation: rise 0.5s ease-out;
}

.gate:not([hidden]) {
  display: flex;
}

.gate-wave {
  flex: none;
  height: 40px;
  margin-bottom: -1px;
}

.gate-wave path {
  fill: var(--sea);
}

.gate-panel {
  flex: 1;
  overflow: auto;
  padding: 24px 0 28px;
  border-top: 6px solid var(--sea);
  background: var(--foam);
}

.gate-panel .wrap {
  max-width: 760px;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 8px;
}

.gate-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

@keyframes rise {
  from {
    transform: translateY(40px);
  }

  to {
    transform: none;
  }
}

.foot {
  margin-top: 56px;
  background: var(--sea);
  color: #fff;
}

.shore {
  height: 70px;
  background: var(--foam);
}

.shore .swell {
  fill: #5d9fb3;
}

.shore .surf {
  fill: var(--sea);
}

.foot .wrap {
  padding: 8px 0 40px;
}

.foot a {
  color: #fff;
}

.foot a:hover {
  color: var(--sun);
}

.foot-mark {
  padding-bottom: 24px;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.55);
}

.foot-mark .brand {
  font-size: clamp(2rem, 7vw, 3.2rem);
}

.foot-mark p {
  max-width: 640px;
  margin: 6px 0 0;
}

.foot-cols {
  display: grid;
  gap: 24px;
  padding: 28px 0;
}

.foot h2 {
  display: inline-block;
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--sun);
  color: #fff;
  font-size: 1.2rem;
}

.foot-cols ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.foot-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.pledges {
  list-style: none;
  margin: 0;
  padding: 20px 22px;
  display: grid;
  gap: 8px;
  border-radius: var(--curve);
  background: #0c5a73;
}

.foot-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.foot-end p {
  margin: 0;
}

.badge {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--deep);
  box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.35);
  font-family: "Archivo Black", "Manrope", sans-serif;
  font-size: 1.2rem;
}

.reset {
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.reset:hover {
  background: var(--deep);
}

@media (min-width: 640px) {
  .huts {
    grid-template-columns: repeat(2, 1fr);
  }

  .next {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 699px) {
  .frame {
    aspect-ratio: 3 / 4;
    min-height: 480px;
  }
}

@media (min-width: 760px) {
  .gate {
    height: 45vh;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .tide {
    grid-template-columns: repeat(4, 1fr);
  }

  .hut.wide {
    display: grid;
    grid-template-columns: 250px 1fr;
  }

  .hut.wide .stripes {
    border-right: 0;
    border-bottom: 4px solid var(--deep);
    border-radius: 0 0 0 var(--curve);
  }

  .hut.wide .hut-body {
    border-top: 4px solid var(--deep);
    border-radius: var(--curve) var(--curve) var(--curve) 0;
  }

  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1080px) {
  .huts {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hut {
    transition: none;
  }

  .hut:hover {
    transform: none;
  }

  .gate {
    animation: none;
  }
}
