@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("./offon-download/PretendardVariable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --background: #fff;
  --ink: #132522;
  --accent: #146e63;
  --muted: #546561;
  --rule: #e8eeeb;
  --hero-base: #faf7ef;
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--background);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

img {
  display: block;
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, 100% - 48px);
  min-height: 80px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}

.platforms {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.landing {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  place-items: center;
  padding: clamp(56px, 8vh, 108px) 0;
  background: var(--hero-base);
}

.hero-photo,
.landing::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  z-index: -2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 51%;
}

.landing::before {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #faf7ef 0%, #faf7eff0 22%, #faf7efd0 37%, #faf7ef58 53%, #faf7ef00 68%);
}

.hero {
  width: min(1120px, 100% - 80px);
  word-break: keep-all;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(13px, 3.6vw, 16px);
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 5.8vw, 84px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.062em;
}

h1 span {
  color: var(--accent);
}

.intro {
  margin: clamp(18px, 4vw, 30px) 0 clamp(24px, 6vw, 36px);
  color: var(--muted);
  font-size: clamp(14px, 3.9vw, 18px);
  line-height: 1.7;
  letter-spacing: -.03em;
}

.downloads {
  --badge-height: clamp(40px, 12vw, 56px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: max(12px, calc(var(--badge-height) / 4));
}

.store-link {
  display: flex;
  align-items: center;
  min-height: max(44px, var(--badge-height));
  border-radius: 8px;
}

.store-link img {
  height: var(--badge-height);
  width: auto;
}

/* The official Google PNG includes transparent space above and below the badge. */
.google-play img {
  height: calc(var(--badge-height) * 1.3020833);
}

.search-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: -.02em;
}

.search-note strong {
  color: var(--ink);
}

.site-footer {
  padding: 18px 20px max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 10px 0 0;
}

.site-footer .trademarks {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.45;
  word-break: keep-all;
}

@media (max-width: 600px) {
  .header-inner {
    width: calc(100% - 36px);
    min-height: 66px;
  }

  .platforms {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .landing {
    --photo-height: clamp(212px, 62vw, 350px);
    align-items: start;
    padding: clamp(160px, 46vw, 266px) 0 clamp(26px, 5vh, 48px);
  }

  .hero-photo,
  .landing::before {
    inset: 0 0 auto;
    height: var(--photo-height);
  }

  .hero-photo img {
    object-position: center 30%;
  }

  .landing::before {
    background: linear-gradient(180deg, #faf7ef00 34%, #faf7ef33 52%, #faf7efe8 78%, var(--hero-base));
  }

  .hero {
    width: min(590px, 100% - 40px);
    text-align: center;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(39px, 10.5vw, 62px);
  }

  .downloads {
    justify-content: center;
  }
}
