:root {
  color-scheme: light;
  --ink: #172027;
  --muted: #59666d;
  --paper: #e7bd76;
  --surface: #ffffff;
  --line: rgba(23, 32, 39, 0.12);
  --teal: #2f9786;
  --coral: #e65745;
  --amber: #f0b34c;
  --deep: #13242c;
  --shadow: 0 22px 60px rgba(23, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(45, 124, 132, 0.28), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(196, 91, 49, 0.24), transparent 30rem),
    linear-gradient(180deg, #d59a55 0%, #e7bd76 44%, #f1d6a2 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(241, 214, 162, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep);
  color: #fffaf0;
  font-size: 0.95rem;
  line-height: 1;
}

.site-nav {
  gap: clamp(12px, 3vw, 26px);
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: min(720px, calc(100svh - 110px));
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(19, 36, 44, 0.92), rgba(19, 36, 44, 0.58) 46%, rgba(19, 36, 44, 0.2)),
    url("assets/coast-background.jpg") center / cover no-repeat;
  color: #fffaf0;
}

.hero-inner {
  display: grid;
  width: min(1280px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
}

.hero-content {
  max-width: 700px;
}

.hero-apps {
  display: grid;
  width: min(100%, 650px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
  gap: clamp(18px, 3vw, 34px);
  min-width: 0;
}

.hero-app-column {
  display: grid;
  justify-items: center;
  align-content: start;
  width: min(100%, 260px);
  gap: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd281;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  background: var(--amber);
  color: #1f2020;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fffaf0;
}

.section,
.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(62px, 9vw, 108px) 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.phone-frame {
  position: relative;
  width: min(100%, 248px);
  aspect-ratio: 9 / 19.2;
  justify-self: center;
  padding: 10px;
  border: 9px solid #11191f;
  border-radius: 36px;
  background: #11191f;
  box-shadow: 0 28px 60px rgba(17, 25, 31, 0.34);
}

.phone-frame::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 74px;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #11191f;
  content: "";
  transform: translateX(-50%);
  z-index: 2;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
  object-position: top center;
}

.hero-phone {
  width: clamp(178px, 18vw, 236px);
  padding: 8px;
  border-width: 8px;
  border-radius: 30px;
}

.hero-phone::before {
  top: 10px;
  width: 62px;
  height: 15px;
}

.hero-phone img {
  border-radius: 21px;
}

.download-set {
  min-width: 0;
  width: 100%;
  text-align: center;
}

.download-set span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.82rem;
  font-weight: 850;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-badges a {
  display: block;
  width: 154px;
  height: 46px;
  border-radius: 8px;
  transition: transform 160ms ease;
}

.store-badges a:hover {
  transform: translateY(-2px);
}

.store-badges img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-badges.compact-badges {
  margin-top: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content-panel a,
.contact-section a {
  color: #176f64;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 720px);
}

.contact-section h2 {
  color: #18242a;
}

.contact-section p {
  color: rgba(23, 32, 39, 0.76);
}

.page-shell {
  padding: clamp(54px, 8vw, 92px) 0;
}

.page-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.page-hero h1 {
  color: var(--deep);
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.page-hero p,
.content-panel p,
.plain-list {
  color: var(--muted);
  font-size: 1.05rem;
}

.content-panel {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.content-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 10px;
}

.muted {
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(23, 32, 39, 0.14);
  color: rgba(23, 32, 39, 0.68);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: min(680px, calc(100svh - 138px));
    background:
      linear-gradient(180deg, rgba(19, 36, 44, 0.92), rgba(19, 36, 44, 0.62)),
      url("assets/coast-background.jpg") center / cover no-repeat;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-apps {
    width: min(100%, 560px);
    justify-items: center;
  }

}

@media (max-width: 520px) {
  .brand {
    font-size: 0.98rem;
  }

  .site-nav {
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .hero-apps {
    gap: 12px;
  }

  .hero-app-column {
    width: 100%;
    gap: 12px;
  }

  .hero-phone {
    width: min(42vw, 174px);
    padding: 6px;
    border-width: 6px;
    border-radius: 24px;
  }

  .hero-phone::before {
    top: 8px;
    width: 48px;
    height: 12px;
  }

  .hero-phone img {
    border-radius: 17px;
  }

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

  .button {
    width: 100%;
    text-align: center;
  }

  .store-badges a {
    width: 148px;
    height: 44px;
  }
}
