@font-face {
  font-family: Gaegu;
  src: url("/assets/Gaegu-Regular.c60ad38d36.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Gochi Hand";
  src: url("/assets/GochiHand-Regular.7f6855a46a.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: light;
  background: #fcf1aa;
  color: #0d0d0d;
  font-family: Gaegu, system-ui, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid #0d0d0d; outline-offset: 5px; border-radius: 3px; }

.home {
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.home-mark {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px 32px;
}

.wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.home-brand {
  --brand-width: clamp(220px, 55vw, 320px);
  width: var(--brand-width);
  max-width: 100%;
  text-align: center;
}
.home-brand .wordmark { margin: 0 auto; }
.tagline {
  margin: calc(var(--brand-width) * 0.065) 0 0;
  font-size: calc(var(--brand-width) * 0.084);
  line-height: 1.3;
}

.home-footer {
  padding: 12px 20px max(22px, env(safe-area-inset-bottom));
}

.legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 17px;
  line-height: 1;
}

.legal-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.legal-links a:hover, .legal-links a[aria-current="page"] { text-decoration: underline; }

.placeholder { max-width: 100%; text-align: center; }
.placeholder h1 {
  margin: 0 0 12px;
  font-family: "Gochi Hand", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
}
.placeholder p { margin: 0; font-size: 24px; line-height: 1.4; }

.doodle-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 68px;
  padding: 12px 24px 17px;
  background: url("/assets/doodle-button.svg") center / 100% 100% no-repeat;
  font-size: 27px;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 120ms ease;
}
.doodle-button:hover { transform: rotate(-1deg); }
.doodle-button:active { transform: translateY(3px) scale(0.98); }
.doodle-button:focus-visible { outline-offset: 6px; border-radius: 22px; }
.download-button { min-width: 210px; max-width: 100%; margin-top: 32px; }
.support-copy { max-width: 28ch; }
.support-email { max-width: 100%; margin-top: 28px; font-size: 25px; }

.policy-main {
  flex: 1;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 40px 24px 56px;
}
.policy-brand { display: inline-flex; margin-bottom: 32px; }
.policy-brand img { display: block; width: 80px; height: auto; }
.policy-copy { font-size: 23px; line-height: 1.5; overflow-wrap: anywhere; }
.policy-copy h1, .policy-copy h2 {
  font-family: "Gochi Hand", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.25;
}
.policy-copy h1 { margin: 0 0 10px; font-size: clamp(36px, 6vw, 48px); }
.policy-copy h2 { margin: 0 0 14px; font-size: 29px; }
.policy-copy section { margin-top: 36px; }
.policy-copy p { margin: 0 0 16px; }
.policy-copy .policy-date { margin-bottom: 32px; font-size: 20px; }
.policy-copy ul { padding-left: 24px; margin: 0 0 16px; }
.policy-copy li { margin-bottom: 8px; }
.policy-copy address { font-style: normal; }
.policy-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; overflow-wrap: normal; }
.policy-table th, .policy-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid #0d0d0d40;
  font-weight: 400;
}
.policy-table th:last-child, .policy-table td:last-child { padding-right: 0; }
.policy-table thead th { font-family: "Gochi Hand", system-ui, sans-serif; font-size: 22px; }
.policy-table th:first-child { width: 19%; }
.policy-table td:last-child { width: 25%; }
@media (max-width: 480px) {
  .policy-main { padding: 28px 20px 40px; }
  .policy-copy { font-size: 21px; }
  .policy-copy h2 { font-size: 27px; }
  .policy-table { font-size: 19px; line-height: 1.4; }
  .policy-table th, .policy-table td { padding-right: 10px; }
  .policy-table thead th { font-size: 20px; }
  .policy-table th:first-child { width: 26%; }
  .policy-table th:first-child, .policy-table td:first-child { overflow-wrap: normal; }
}
@media (max-width: 360px) {
  .policy-table { font-size: 17px; }
  .policy-table thead th { font-size: 18px; }
  .policy-table th, .policy-table td { padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .doodle-button { transition: none; }
  .doodle-button:hover, .doodle-button:active { transform: none; }
}

@media (max-height: 480px) and (orientation: landscape) {
  .home-mark { padding-top: 16px; padding-bottom: 8px; }
  .home-footer { padding-top: 4px; padding-bottom: 8px; }
  .home-brand {
    --brand-width: clamp(160px, 48svh, 200px);
  }
  .download-button { margin-top: 16px; min-height: 56px; }
}
