:root {
  color-scheme: light;
  --paper: #f0f6f8;
  --mist: #e0edf5;
  --surface: #ffffff;
  --ink: #0a1b22;
  --muted: #465d66;
  --line: rgba(10, 27, 34, 0.14);
  --teal: #087f85;
  --teal-dark: #056166;
  --water: #0a78ad;
  --coral: #ff754f;
  --solar: #ffc843;
  --summer-primary: #056ba8;
  --summer-primary-dark: #054775;
  --summer-primary-light: #148ccc;
  --shadow: rgba(8, 42, 54, 0.16);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(240, 246, 248, 0.96) 42rem),
    var(--paper);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(240, 246, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

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

.brand-link img {
  display: block;
  border-radius: 8px;
}

.site-nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a,
.site-footer a,
.plain-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

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

.hero {
  position: relative;
  min-height: clamp(820px, 70vw, 920px);
  overflow: hidden;
  padding: clamp(58px, 9vw, 118px) clamp(20px, 5vw, 72px) 90px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(240, 246, 248, 0.98) 0%, rgba(240, 246, 248, 0.90) 39%, rgba(240, 246, 248, 0.20) 69%),
    linear-gradient(180deg, rgba(255, 200, 67, 0.24), rgba(8, 127, 133, 0.10));
  pointer-events: none;
}

.motif-tide-chart::after {
  content: "";
  position: absolute;
  top: clamp(54px, 10vw, 118px);
  right: clamp(-120px, -5vw, -36px);
  z-index: 0;
  width: min(78vw, 960px);
  aspect-ratio: 960 / 360;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 360'%3E%3Cg fill='none' stroke='%23056ba8' stroke-linecap='round'%3E%3Cpath opacity='.16' stroke-width='2' d='M64 296H900M116 48V316M116 248H900M116 174H900M116 100H900'/%3E%3Cpath opacity='.48' stroke-width='5' d='M116 232C184 104 246 84 318 184s126 132 204-20 170-174 266-54 112 116 150 72'/%3E%3Cpath opacity='.18' stroke-width='4' d='M116 286c112-44 174-38 248-6s148 46 252-16 178-82 282-36'/%3E%3C/g%3E%3Cg fill='%23148ccc' opacity='.44'%3E%3Ccircle cx='116' cy='232' r='8'/%3E%3Ccircle cx='318' cy='184' r='8'/%3E%3Ccircle cx='522' cy='164' r='8'/%3E%3Ccircle cx='788' cy='110' r='8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.20;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.79rem;
  font-weight: 780;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 11vw, 7.8rem);
}

.hero-deck {
  max-width: 670px;
  color: #233f49;
  font-size: clamp(1.18rem, 2.3vw, 1.72rem);
}

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

.button-link,
.mail-panel {
  border: 1px solid rgba(5, 97, 102, 0.22);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 28px var(--shadow);
  font-weight: 760;
  text-decoration: none;
}

.button-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 210px;
  min-height: 81px;
  padding: 20px 36px;
  width: fit-content;
  font-size: 1.5em;
  line-height: 1.05;
  overflow: hidden;
  isolation: isolate;
}

.button-link > span {
  position: relative;
  z-index: 1;
}

.plain-link {
  color: var(--teal-dark);
  font-weight: 700;
}

.phone-shot {
  position: relative;
  display: block;
  margin: 0;
  padding: clamp(5px, 0.9vw, 8px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 16%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(150deg, #081218, #152f37 46%, #061017 100%);
  border: 1px solid rgba(6, 18, 23, 0.72);
  border-radius: clamp(42px, 6.2vw, 58px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 3px rgba(0, 0, 0, 0.30),
    inset 0 -14px 24px rgba(0, 0, 0, 0.24),
    0 30px 80px rgba(5, 97, 102, 0.24);
}

.phone-shot::before,
.phone-shot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.phone-shot::before {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(40px, 6vw, 56px);
}

.phone-shot::after {
  top: clamp(4px, 0.6vw, 6px);
  left: 50%;
  width: 18%;
  height: 2px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: clamp(36px, 5.4vw, 50px);
}

.hero-screen {
  position: absolute;
  right: clamp(-40px, 5vw, 104px);
  bottom: -72px;
  z-index: 1;
  width: clamp(340px, 34vw, 400px);
}

.intro-section,
.screen-stories,
.source-band,
.document-main,
.site-footer {
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
}

.intro-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 980px;
  padding-top: 86px;
  padding-bottom: 56px;
}

.intro-section > *,
.screen-story > *,
.source-band > * {
  position: relative;
  z-index: 1;
}

.motif-weather::before,
.screen-story::before,
.screen-story::after,
.source-band::after {
  content: "";
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.motif-weather::before {
  inset: 18px clamp(-70px, -3vw, -20px) 4px clamp(120px, 18vw, 260px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 340'%3E%3Ccircle cx='706' cy='74' r='44' fill='%23ffc843' opacity='.42'/%3E%3Cg fill='none' stroke='%23056ba8' stroke-linecap='round'%3E%3Cpath stroke-width='5' opacity='.26' d='M58 94h318c70 0 70-66 0-66'/%3E%3Cpath stroke-width='4' opacity='.24' d='M122 154h454c96 0 96 78 8 78'/%3E%3Cpath stroke-width='4' opacity='.20' d='M16 224h366c72 0 72 54 6 54'/%3E%3Cpath stroke-width='4' opacity='.20' d='M520 192h260'/%3E%3Cpath stroke-width='3' opacity='.22' d='M676 166l26 42M734 158l28 46M792 178l24 38M616 186l22 34'/%3E%3C/g%3E%3Cg fill='%23148ccc' opacity='.22'%3E%3Ccircle cx='164' cy='286' r='7'/%3E%3Ccircle cx='214' cy='306' r='5'/%3E%3Ccircle cx='662' cy='282' r='6'/%3E%3Ccircle cx='818' cy='248' r='5'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.29;
}

.intro-section h2,
.source-band h2,
.document h1,
.contact-hero h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.intro-section p,
.source-band p,
.document > p,
.contact-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.feature-list {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  font-size: 1.05rem;
}

.feature-list span {
  color: var(--muted);
}

.screen-stories {
  padding-top: 54px;
  padding-bottom: 40px;
}

.screen-stories > h2 {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.screen-story {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 560px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  max-width: 1030px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.screen-story::before {
  inset: 18px clamp(-22px, -1.5vw, -10px);
}

.screen-story::after {
  inset: 28px clamp(12px, 4vw, 52px);
  border: 1px solid rgba(5, 107, 168, 0.10);
  border-radius: 18px;
  opacity: 0.26;
}

.motif-wave-crash::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 420'%3E%3Cg fill='none' stroke='%23056ba8' stroke-linecap='round'%3E%3Cpath opacity='.34' stroke-width='7' d='M24 292c116-96 218-98 310-2s198 96 304-4 186-104 318-12'/%3E%3Cpath opacity='.22' stroke-width='5' d='M66 348c122-44 226-42 328 0s250 44 514-18'/%3E%3Cpath opacity='.24' stroke-width='5' d='M560 250c30-96 118-156 218-128 76 22 124 76 148 154'/%3E%3Cpath opacity='.18' stroke-width='4' d='M600 306c92-52 164-50 230 6'/%3E%3Cpath opacity='.16' stroke-width='4' d='M116 222c86-44 154-42 214 6'/%3E%3C/g%3E%3Cg fill='%23148ccc' opacity='.24'%3E%3Ccircle cx='624' cy='92' r='8'/%3E%3Ccircle cx='690' cy='62' r='5'/%3E%3Ccircle cx='754' cy='86' r='7'/%3E%3Ccircle cx='818' cy='126' r='5'/%3E%3Ccircle cx='842' cy='178' r='4'/%3E%3Ccircle cx='520' cy='138' r='5'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.28;
}

.motif-wave-crash::after {
  background:
    radial-gradient(circle at 77% 34%, rgba(20, 140, 204, 0.18), transparent 18%),
    radial-gradient(circle at 22% 72%, rgba(255, 200, 67, 0.15), transparent 24%);
}

.motif-calm-water::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 420'%3E%3Cg fill='none' stroke='%23056ba8' stroke-linecap='round'%3E%3Cpath opacity='.24' stroke-width='5' d='M38 128c104-30 206-30 304 0s208 30 322 0 194-30 296-8'/%3E%3Cpath opacity='.20' stroke-width='5' d='M14 196c130-26 236-26 338 0s230 26 358 0 174-26 238-10'/%3E%3Cpath opacity='.19' stroke-width='5' d='M72 272c132-20 250-20 374 0s228 20 474-12'/%3E%3Cpath opacity='.14' stroke-width='4' d='M150 334c148-18 282-18 402 0s230 16 340-8'/%3E%3C/g%3E%3Cg fill='%23054775' opacity='.18'%3E%3Cpath d='M118 306c42-70 94-76 146 0z'/%3E%3Cpath d='M550 298c34-54 96-64 144 0z'/%3E%3Cpath d='M710 326c52-88 130-94 198 0z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.27;
}

.motif-calm-water::after {
  background:
    linear-gradient(90deg, rgba(255, 200, 67, 0.14), transparent 42%),
    radial-gradient(circle at 24% 64%, rgba(5, 107, 168, 0.16), transparent 28%);
}

.motif-widget-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 420'%3E%3Cg fill='none' stroke='%23056ba8' stroke-linecap='round'%3E%3Crect x='92' y='82' width='214' height='92' rx='24' opacity='.18' stroke-width='4'/%3E%3Crect x='346' y='76' width='252' height='122' rx='28' opacity='.16' stroke-width='4'/%3E%3Crect x='116' y='226' width='324' height='108' rx='30' opacity='.15' stroke-width='4'/%3E%3Cpath opacity='.24' stroke-width='5' d='M128 144c34-40 72-46 112-10'/%3E%3Cpath opacity='.22' stroke-width='5' d='M380 164c46-56 82-56 130 0s92 46 132-18'/%3E%3Cpath opacity='.18' stroke-width='4' d='M156 292h232M156 262h148M640 126h238M640 172h168M650 260h226M650 306h176'/%3E%3C/g%3E%3Cg fill='%23ffc843' opacity='.24'%3E%3Ccircle cx='750' cy='94' r='28'/%3E%3Ccircle cx='224' cy='264' r='9'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.23;
}

.motif-widget-phone::after {
  top: clamp(24px, 4vw, 48px);
  right: clamp(-58px, -2vw, -16px);
  width: min(30vw, 260px);
  aspect-ratio: 552 / 1200;
  background-image: url("/assets/widgets.png");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(5, 107, 168, 0.16);
  border-radius: 30px;
  box-shadow: 0 24px 58px rgba(5, 71, 117, 0.14);
  opacity: 0.14;
  transform: rotate(-12deg);
}

.motif-source-grid::after {
  inset: 20px clamp(20px, 5vw, 72px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 320'%3E%3Cg fill='none' stroke='%23056ba8' stroke-linecap='round'%3E%3Cpath opacity='.12' stroke-width='2' d='M42 58h900M42 122h900M42 186h900M42 250h900M118 32v248M268 32v248M418 32v248M568 32v248M718 32v248M868 32v248'/%3E%3Cpath opacity='.26' stroke-width='5' d='M82 216c104-122 198-152 284-82s168 64 260-30 178-116 286-48'/%3E%3Ccircle opacity='.28' cx='366' cy='134' r='10'/%3E%3Ccircle opacity='.24' cx='626' cy='104' r='8'/%3E%3Ccircle opacity='.20' cx='802' cy='68' r='7'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.23;
}

.screen-story-reverse {
  grid-template-columns: minmax(0, 560px) minmax(230px, 360px);
}

.screen-story-reverse .screen-shot {
  order: 2;
}

.screen-shot {
  width: min(100%, 320px);
}

.screen-story h3 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
}

.screen-story p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.08rem;
}

.source-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(420px, 560px) minmax(0, 680px);
  gap: clamp(28px, 4vw, 56px);
  padding-top: 70px;
  padding-bottom: 78px;
  background:
    linear-gradient(180deg, rgba(10, 120, 173, 0.10), rgba(255, 255, 255, 0)),
    var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.source-band h2 {
  max-width: 17ch;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
}

.document-main {
  padding-top: 66px;
  padding-bottom: 80px;
}

.document,
.contact-hero,
.contact-details {
  max-width: 920px;
}

.document {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 54px);
}

.document h1 {
  max-width: 100%;
}

.document section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.document h2,
.contact-details h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

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

.document a {
  color: var(--teal-dark);
  font-weight: 700;
}

.install-page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

.install-card {
  margin: 0 0 18px;
  padding: clamp(20px, 5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 36px rgba(8, 42, 54, 0.08);
}

.install-card h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 15vw, 5.5rem);
  overflow-wrap: anywhere;
}

.install-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 6vw, 2.15rem);
}

.install-deck {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 4.4vw, 1.28rem);
}

.install-meta {
  margin: 22px 0 0;
}

.install-meta div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.install-meta dt {
  color: var(--ink);
  font-weight: 780;
}

.install-meta dd {
  margin: 0;
  color: var(--muted);
}

.install-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.install-card li + li {
  margin-top: 8px;
}

.install-action {
  display: grid;
  gap: 16px;
}

.install-action p {
  margin: 0;
  color: var(--muted);
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 56px;
  padding: 16px 22px;
  border: 1px solid rgba(5, 97, 102, 0.22);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 28px var(--shadow);
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 6vw, 70px);
  align-items: end;
  margin-bottom: 58px;
}

.mail-panel {
  display: grid;
  gap: 7px;
  padding: 20px 24px;
  border-color: rgba(5, 107, 168, 0.30);
  background:
    linear-gradient(135deg, rgba(20, 140, 204, 0.18), rgba(255, 200, 67, 0.20)),
    rgba(255, 255, 255, 0.76);
  color: var(--summer-primary-dark);
  box-shadow: 0 12px 30px rgba(5, 71, 117, 0.14);
}

.mail-panel span {
  color: var(--summer-primary);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.mail-panel strong {
  color: var(--summer-primary-dark);
  font-size: clamp(0.8rem, 3.9vw, 1.08rem);
  line-height: 1.15;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.contact-details {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.bottom-cta {
  display: flex;
  justify-content: center;
  padding: 54px clamp(20px, 5vw, 72px) 58px;
  background: var(--paper);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 34px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 760;
}

.site-footer nav {
  gap: 20px;
}

@media (max-width: 1179px) {
  .hero {
    min-height: auto;
    padding-bottom: clamp(650px, 160vw, 760px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(240, 246, 248, 0.98) 0%, rgba(240, 246, 248, 0.88) 52%, rgba(240, 246, 248, 0.18) 100%),
      linear-gradient(180deg, rgba(255, 200, 67, 0.22), rgba(8, 127, 133, 0.10));
  }

  .motif-tide-chart::after {
    top: 330px;
    right: auto;
    left: clamp(18px, 7vw, 52px);
    width: min(88vw, 560px);
    opacity: 0.14;
  }

  .hero-screen {
    right: 50%;
    bottom: -72px;
    width: min(78vw, 360px);
    transform: translateX(50%);
  }
}

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

  .motif-weather::before {
    inset: 16px -118px 8px 26px;
    opacity: 0.20;
  }

  .screen-story::before {
    inset: 18px -82px;
  }

  .screen-story::after {
    inset: 24px 10px;
    opacity: 0.20;
  }

  .motif-wave-crash::before {
    opacity: 0.21;
  }

  .motif-calm-water::before {
    opacity: 0.20;
  }

  .motif-widget-phone::before {
    opacity: 0.18;
  }

  .motif-widget-phone::after {
    top: 58px;
    right: -62px;
    width: min(34vw, 160px);
    opacity: 0.11;
  }

  .motif-source-grid::after {
    inset: 18px -60px;
    opacity: 0.16;
  }

  .feature-list li,
  .screen-story,
  .screen-story-reverse,
  .source-band,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .screen-story-reverse .screen-shot {
    order: 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 18px 28px;
    justify-content: flex-start;
  }

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

  h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > * {
    position: relative;
    z-index: 1;
  }

  .motif-tide-chart::after {
    top: 300px;
  }

  .hero-screen {
    position: relative;
    right: auto;
    bottom: auto;
    order: 4;
    align-self: center;
    width: min(84vw, 318px);
    margin-top: 26px;
    transform: none;
  }

  .hero-actions {
    order: 5;
    width: 100%;
    margin-top: 28px;
  }

  .button-link {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 17px 22px;
    border-color: rgba(255, 255, 255, 0.42);
    color: #f7fdff;
    font-size: 1.56rem;
    line-height: 1.05;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 168'%3E%3Cfilter id='soften'%3E%3CfeGaussianBlur stdDeviation='2.6'/%3E%3C/filter%3E%3Cg filter='url(%23soften)'%3E%3Cpath fill='%23054775' d='M0 112c74 28 137 30 200 5s110-41 184-14 160 56 256 12v53H0z'/%3E%3Cpath fill='%23056ba8' opacity='.92' d='M0 90c82 34 151 37 220 12s119-48 197-14 144 54 223 23v57H0z'/%3E%3Cpath fill='%23087f85' opacity='.9' d='M0 74c64 31 132 36 203 8 88-35 129-74 214-24 66 39 139 54 223 21v89H0z'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='13' stroke-linecap='round' opacity='.72' d='M-10 83C58 116 133 116 208 56c91-72 139-59 194 14 69 91 157 91 248 39'/%3E%3Cpath fill='none' stroke='%23d7f7ff' stroke-width='5' opacity='.58' stroke-linecap='round' d='M-10 83C58 116 133 116 208 56c91-72 139-59 194 14 69 91 157 91 248 39'/%3E%3C/g%3E%3C/svg%3E"),
      linear-gradient(180deg, #056ba8 0%, #087f85 48%, #054775 100%);
    background-position: center;
    background-size: cover;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      inset 0 -1px 0 rgba(5, 71, 117, 0.26),
      0 14px 30px rgba(5, 107, 168, 0.22);
    text-shadow: 0 1px 10px rgba(5, 45, 72, 0.58);
  }

  .button-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(225, 248, 255, 0.34);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    pointer-events: none;
  }

  .plain-link {
    width: fit-content;
    max-width: 100%;
    text-align: left;
  }

  .screen-shot {
    width: min(100%, 270px);
  }

  .document {
    padding: 22px;
  }

  .install-page {
    padding-right: max(14px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .install-card {
    padding: 20px 18px;
  }

  .install-card h1 {
    font-size: clamp(3rem, 17vw, 4.2rem);
  }

  .app-store-link {
    width: 100%;
  }
}
