/* Deal Sharks: the website and press kit. "The tank at night": deep water under studio lights, money in gold. */
@font-face {
  font-family: 'Big Shoulders';
  src: url('fonts/BigShoulders-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Big Shoulders';
  src: url('fonts/BigShoulders-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --deep: #071a25;
  --deep2: #0a2230;
  --surface: #0f2f42;
  --surface2: #163f57;
  --water: #7fc4d6;
  --line: rgba(150, 196, 214, 0.18);
  --text: #e7f0f3;
  --muted: #93aebb;
  --faint: #5e7c8a;
  --gold: #f2c14e;
  --gold-deep: #c9952b;
  --red: #f25f5c;
  --green: #5bd68a;
  --display: 'Big Shoulders', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--deep);
  color: var(--text);
  font: 17px/1.6 var(--body);
}

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

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.narrow {
  max-width: 720px;
}

/* The top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 26, 37, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  height: 44px;
  width: auto;
}
.nav {
  display: flex;
  gap: 20px;
  font: 700 15px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--gold);
}

/* The studio, behind the first lines */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 37, 0.2) 0%, rgba(7, 26, 37, 0.55) 45%, var(--deep) 100%),
    url('img/studio.jpg') center 35% / cover no-repeat;
}
.hero .wrap {
  position: relative;
  padding-block: clamp(96px, 18vw, 200px) clamp(48px, 8vw, 88px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 15px/1 var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(54px, 11vw, 112px);
  text-transform: uppercase;
  margin-top: 14px;
}
h1 .gold {
  color: var(--gold);
}
.lede {
  max-width: 34em;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--text);
  margin: 18px 0 0;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font: 800 19px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--gold);
  color: var(--deep2);
  border: 2px solid var(--gold);
}
.button.ghost {
  background: rgba(7, 26, 37, 0.5);
  color: var(--text);
  border-color: var(--line);
}
.button.soon {
  cursor: default;
}
.date {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

/* Sections */
section {
  padding-block: clamp(56px, 9vw, 96px);
}
section + section {
  border-top: 1px solid var(--line);
}
h2 {
  font-size: clamp(38px, 6vw, 60px);
  text-transform: uppercase;
}
h2 .gold {
  color: var(--gold);
}
.intro {
  color: var(--muted);
  max-width: 40em;
  margin: 14px 0 0;
}

/* The phone screens */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-top: 36px;
  scroll-snap-type: x mandatory;
}
.shots figure {
  margin: 0;
  scroll-snap-align: start;
}
.shots img {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--deep2);
}
.shots figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

/* What you do */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.card {
  min-width: 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--deep2) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 24px;
}
.card h3 {
  font-size: 30px;
  text-transform: uppercase;
  color: var(--gold);
}
.card p {
  margin: 10px 0 0;
  color: var(--text);
}
.card .small {
  color: var(--muted);
  font-size: 15px;
}

/* The four sharks */
.sharks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.shark {
  min-width: 0;
  border-left: 4px solid var(--c);
  background: var(--deep2);
  border-radius: 12px;
  padding: 16px 18px;
}
.shark b {
  display: block;
  font: 800 30px/1 var(--display);
  text-transform: uppercase;
  color: var(--c);
}
.shark span {
  display: block;
  font: 700 14px/1.2 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.shark p {
  margin: 10px 0 0;
  font-size: 15px;
}

/* A wide picture with words over it */
.band {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid var(--line);
}
.band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 37, 0.92));
  color: var(--text);
  font-size: 15px;
}

/* Facts in two columns */
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 22px;
  margin: 28px 0 0;
}
.facts dt {
  font: 700 15px/1.6 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  min-width: 0;
}

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

/* Long text (privacy, support) */
.prose h1 {
  font-size: clamp(46px, 8vw, 76px);
}
.prose h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-top: 44px;
}
.prose p,
.prose li {
  color: var(--text);
}
.prose .muted {
  color: var(--muted);
}
.prose ul {
  padding-left: 1.2em;
}
.prose li + li {
  margin-top: 6px;
}
details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  background: var(--deep2);
}
details + details {
  margin-top: 10px;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
details p {
  margin: 10px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 48px;
  color: var(--faint);
  font-size: 15px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}
footer a {
  color: var(--muted);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
    font-size: 14px;
  }
  .brand img {
    height: 36px;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .facts dd {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: transform 0.15s ease;
  }
  .button:not(.soon):hover {
    transform: translateY(-2px);
  }
}
