:root {
  --ink: #11120f;
  --paper: #f4f2eb;
  --white: #ffffff;
  --muted: #5e605a;
  --footer: #DDDDDD;
  --social-background: #444444;
  --social-icon: #aaaaaa;
  --social-hover: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}

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

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  letter-spacing: -0.035em;
}

/* Hero */

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
  padding: 72px 0;
}

.hero-logo {
  width: 100%;
  height: auto;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.9rem, 3.95vw, 3.76rem);
  font-weight: 650;
  line-height: 1.05;
}

.hero p {
  max-width: 690px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  font-weight: 350;
  line-height: 1.65;
}

/* Main statement */

.statement {
  padding: clamp(84px, 12vw, 150px) 0;
}

.statement-grid {
  width: min(760px, 100% - 48px);
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
}

.statement h2 {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(2.57rem, 3.56vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  text-align: left;
}

.statement p {
  width: 100%;
  max-width: none;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  font-weight: 350;
  line-height: 1.7;
  text-align: left;
}

/* Social links */

.social {
  padding: 14px 0;
  background: var(--social-background);
}

.social ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  width: 45px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--social-icon);
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.social a:visited {
  color: var(--social-icon);
}

.social a:hover {
  color: var(--social-hover);
  transform: translateY(-2px);
}

.social a:focus-visible {
  color: var(--social-hover);
  outline: 3px solid currentColor;
  outline-offset: 4px;
  border-radius: 3px;
}

.social-icon {
  display: block;
  width: 36px;
  height: 36px;
  fill: currentColor;
}

/* Footer */

.status {
  padding: 28px 0;
  background: var(--footer);
}

.status-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 28px;
}

.status img {
  width: 64px;
  height: 64px;
}

.status p {
  font-size: 1rem;
  font-weight: 550;
}

.status span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 350;
  white-space: nowrap;
}

/* Phones and small tablets */

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 620px);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 46px 0 70px;
  }

  /*
   * Previous mobile width: 220px
   * New target: 385px, which is 75% larger.
   * max-width prevents overflow on narrow phones.
   */
  .hero-logo {
    width: 385px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .statement-grid {
    width: min(100% - 32px, 620px);
  }

  .statement h2 {
    font-size: 2.64rem;
  }

.social {
  padding: 14px 0;
}

  .social ul {
    gap: 16px;
  }

  .status-row {
    grid-template-columns: 52px 1fr;
    gap: 20px;
  }

  .status img {
    width: 52px;
    height: 52px;
  }

  .status span {
    grid-column: 2;
    white-space: normal;
  }
}

/* Prevent the large headline from crowding very narrow phones */

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.7rem;
  }

  .statement h2 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  .social a {
    transition: none;
  }
}