:root{
  --bg: #ffffff;
  --text: #000000;

  --pad-x: clamp(20px, 5.4vw, 96px);
  --pad-top: clamp(36px, 5.2vw, 80px);
  --pad-bottom: clamp(28px, 5vw, 72px);

  --logo-w: clamp(150px, 14vw, 240px);

  --statement-size: clamp(52px, 7.05vw, 131px);

  --footer-size: clamp(12px, 1vw, 16px);
}

*{
  box-sizing: border-box;
}

html,
body{
  min-height: 100%;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page{
  min-height: 100svh;
  width: 100%;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
}

.header{
  display: flex;
  align-items: flex-start;
}

.brand{
  display: inline-flex;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.brand__logo{
  display: block;
  width: var(--logo-w);
  height: auto;
}

.hero{
  align-self: center;
  margin-top: clamp(40px, 10vh, 160px);
  transform: translateY(clamp(0px, 2.2vh, 28px));
}

.statement{
  margin: 0;
  max-width: 100%;
}

.statement__headline,
.statement__subhead{
  display: block;
  font-size: var(--statement-size);
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.statement__headline{
  font-weight: 700;
  line-height: 0.86;
  margin-bottom: 10px;
}

.statement__subhead{
  font-weight: 300;
  line-height: 0.9;
}

.footer{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2px, 0.35vw, 6px);
}

.link{
  color: var(--text);
  font-size: var(--footer-size);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.05em;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}

.link:focus-visible,
.brand:focus-visible{
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

@media (max-width: 1100px){
  :root{
    --statement-size: clamp(48px, 7.6vw, 82px);
  }

  .statement__headline,
  .statement__subhead{
    white-space: normal;
    max-width: 12ch;
  }

  .statement__headline{
    line-height: 0.9;
    margin-bottom: 12px;
  }

  .statement__subhead{
    line-height: 0.94;
  }
}

@media (max-width: 720px){
  :root{
    --pad-x: 22px;
    --pad-top: 30px;
    --pad-bottom: 28px;

    --logo-w: 138px;

    --statement-size: clamp(46px, 14.5vw, 82px);

    --footer-size: 13px;
  }

  .page{
    min-height: 100dvh;
  }

  .hero{
    margin-top: 0;
    transform: translateY(0);
  }

  .statement__headline,
  .statement__subhead{
    max-width: 8.8ch;
    white-space: normal;
  }

  .statement__headline{
    line-height: 0.88;
    margin-bottom: 14px;
  }

  .statement__subhead{
    line-height: 0.96;
  }

  .footer{
    gap: 4px;
  }
}
