:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --quiet: #8a8a8a;
  --line: #e6e6e6;
  --focus: #111111;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

html {
  scrollbar-gutter: stable;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text);
  text-decoration: none;
}

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

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

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

.site-nav {
  position: fixed;
  top: 28px;
  left: 48px;
  right: 48px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  line-height: 1;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  min-height: 44px;
  color: #6f6f6f;
  padding: 0;
  line-height: 1;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 4em;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.72);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:first-child::after {
  width: 2em;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

main {
  overflow: hidden;
}

.hero {
  min-height: 88vh;
  width: min(100% - 192px, 1180px);
  margin: 0 auto;
  padding: 184px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: clamp(56px, 6vw, 88px);
  align-items: center;
}

.hero-copy {
  transform: none;
}

h1 {
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1;
  font-weight: 600;
}

.hero-title {
  margin-top: 34px;
  max-width: 640px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.18;
  font-weight: 600;
}

.hero-desc {
  margin-top: 30px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.78;
}

.quiet {
  margin-top: 16px;
  color: var(--quiet);
  font-size: 15px;
  line-height: 1.7;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}

.app-store-link:hover {
  background: #272727;
}

.hero-mark {
  width: min(100%, 340px);
  height: auto;
  justify-self: center;
}

.showcase {
  width: min(100% - 192px, 1180px);
  margin: 0 auto;
  padding: 56px 0 132px;
}

.product-section {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
  padding: clamp(92px, 10vw, 140px) 0;
}

.product-section + .product-section {
  border-top: 1px solid var(--line);
}

.product-section-life {
  min-height: 78vh;
  grid-template-columns: minmax(0, 0.48fr) minmax(520px, 0.52fr);
  padding-block: clamp(108px, 11vw, 156px);
}

.product-section-life .product-copy {
  order: 2;
  justify-self: start;
}

.product-section-life .phone-shot {
  order: 1;
  justify-self: center;
}

.product-section-widget {
  grid-template-columns: minmax(320px, 0.38fr) minmax(0, 0.62fr);
}

.product-copy h3 {
  max-width: 720px;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.22;
  font-weight: 600;
}

.product-section-today .product-copy h3 {
  max-width: none;
  white-space: nowrap;
}

.product-section-life .product-copy h3 {
  max-width: 820px;
  font-size: clamp(32px, 2.8vw, 42px);
  white-space: nowrap;
}

.product-copy p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.52;
}

.product-section-widget .product-copy p {
  max-width: none;
  white-space: nowrap;
}

.product-copy p + p {
  margin-top: 12px;
}

.phone-shot,
.widget-shot {
  margin: 0;
}

.phone-shot {
  justify-self: center;
  width: auto;
}

.phone-shot img {
  width: auto;
  height: clamp(560px, 60vh, 700px);
  max-width: 100%;
}

.phone-shot-large img {
  height: clamp(590px, 63vh, 730px);
}

.widget-shot {
  justify-self: center;
  width: auto;
}

.widget-shot img {
  width: auto;
  height: clamp(560px, 60vh, 700px);
  max-width: 100%;
}

.letter-inner {
  width: min(100% - 192px, 1180px);
  margin: 0 auto;
  padding: clamp(112px, 12vw, 164px) 0;
  border-top: 1px solid var(--line);
}

.letter-inner h2,
.creator-inner h2 {
  margin-bottom: clamp(48px, 6vw, 72px);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.28;
  font-weight: 600;
}

.letter-copy,
.creator-copy {
  color: var(--muted);
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.78;
  font-weight: 400;
}

.letter-copy p,
.creator-copy p {
  max-width: 920px;
}

.letter-copy p + p,
.creator-copy p + p {
  margin-top: clamp(18px, 2.5vw, 28px);
}

.letter-copy .letter-emphasis {
  margin-top: clamp(24px, 3vw, 34px);
  color: var(--muted);
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
}

.letter-copy .letter-closing {
  margin-top: clamp(36px, 5vw, 52px);
  color: var(--muted);
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
}

.creator-inner {
  width: min(100% - 192px, 1180px);
  margin: 0 auto;
  padding: clamp(104px, 11vw, 148px) 0 clamp(120px, 13vw, 172px);
  border-top: 1px solid var(--line);
}

.site-footer {
  width: min(100% - 192px, 1180px);
  margin: 0 auto;
  padding: 82px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.45;
}

.footer-brand {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
}

.footer-tagline {
  margin: 0 0 44px;
  color: var(--text);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  font-weight: 600;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 760px;
}

.site-footer a {
  color: #555555;
}

.site-footer a:hover {
  color: var(--text);
}

.public-security-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}

.public-security-record img {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .hero,
  .showcase,
  .letter-inner,
  .creator-inner,
  .site-footer {
    width: min(100% - 128px, 1080px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
  }

  .product-section,
  .product-section-life,
  .product-section-widget {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: clamp(24px, 7vw, 48px);
  }

  .site-nav {
    position: static;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 22px;
    padding: 12px var(--page-gutter) 0;
  }

  .hero {
    min-height: auto;
    width: auto;
    margin: 0;
    padding: 80px var(--page-gutter) 92px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    transform: none;
  }

  .hero-mark {
    width: min(66vw, 250px);
    justify-self: center;
  }

  .showcase {
    width: auto;
    margin: 0;
    padding: 52px var(--page-gutter) 104px;
  }

  .product-section,
  .product-section-life,
  .product-section-widget {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 74px 0;
  }

  .product-section-life .product-copy,
  .product-section-life .phone-shot {
    order: initial;
  }

  .product-copy h3 {
    max-width: 100%;
    font-size: clamp(30px, 5.8vw, 36px);
  }

  .product-section-today .product-copy h3 {
    white-space: normal;
  }

  .product-section-life .product-copy h3 {
    white-space: normal;
  }

  .product-section-widget .product-copy p {
    max-width: 100%;
    white-space: normal;
  }

  .phone-shot,
  .phone-shot-large,
  .widget-shot {
    justify-self: center;
  }

  .phone-shot img,
  .phone-shot-large img,
  .widget-shot img {
    width: min(100%, 360px);
    height: auto;
  }

  .letter-inner,
  .creator-inner {
    width: auto;
    margin: 0;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .site-footer {
    width: auto;
    margin: 0 var(--page-gutter);
    padding-top: 70px;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-top: 58px;
  }

  .hero-title {
    font-size: clamp(32px, 9.5vw, 39px);
  }

  .hero-desc br,
  .product-copy p br {
    display: none;
  }

  .product-copy h3 {
    font-size: clamp(27px, 8vw, 32px);
  }

  .product-copy p {
    font-size: 17px;
  }

  .phone-shot img,
  .phone-shot-large img,
  .widget-shot img {
    width: min(100%, 320px);
  }

  .letter-inner h2 {
    margin-bottom: 46px;
  }

  .letter-copy {
    font-size: 17px;
    line-height: 1.76;
  }

  .letter-copy .letter-emphasis,
  .letter-copy .letter-closing {
    font-size: inherit;
  }

  .creator-copy {
    font-size: 17px;
    line-height: 1.72;
  }
}
