@font-face {
  font-family: Pretendard;
  src: url("assets/pretendard.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #242832;
  --muted: #596170;
  --blue: #326bd0;
  --soft: #edf2fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: white; font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.8; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { word-break: keep-all; overflow-wrap: break-word; }
p { word-break: keep-all; overflow-wrap: break-word; }
.page-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; background: white; padding: 8px 16px; z-index: 30; }
.skip:focus { top: 12px; }
header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #f0f2f5; background: rgb(255 255 255 / 92%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -.04em; }
.brand img { border-radius: 10px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; background: var(--blue); color: white; border-radius: 100px; font-size: 14px; font-weight: 650; text-decoration: none; }
.download-button:hover { background: #2457b1; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 66px 100px; }
h1 { font-size: clamp(36px, 3.8vw, 52px); font-weight: 750; line-height: 1.3; letter-spacing: -.055em; }
.accent { color: var(--blue); }
.hero-description { margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.85; letter-spacing: -.025em; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.store-badges a { display: inline-flex; align-items: center; min-height: 48px; transition: opacity .15s; }
.store-badges a:hover { opacity: .78; }
.store-badges img { width: auto; height: 48px; max-width: 100%; }
.hero-visual { position: relative; display: grid; place-items: center; padding-block: 12px; }
.halo { position: absolute; width: 100%; height: 82%; max-width: 490px; background: var(--soft); border-radius: 48% 52% 46% 54% / 47% 42% 58% 53%; z-index: -1; }
.screen-button { display: block; width: min(100%, 312px); padding: 0; margin: 0 auto; border: 0; border-radius: 30px; background: white; cursor: zoom-in; box-shadow: 0 22px 64px #25416e14, 0 4px 12px #25416e08; }
.screen-button:hover { box-shadow: 0 24px 70px #25416e22; }
.screen { width: 100%; height: auto; border: 6px solid white; border-radius: 30px; }
.hero-screen { width: min(100%, 326px); }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px; align-items: center; padding-block: 86px; }
.feature-copy { max-width: 450px; grid-column: 1; grid-row: 1; }
.feature-visual { grid-column: 2; grid-row: 1; }
.feature:has(.visual-first) .feature-copy { grid-column: 2; }
.visual-first { grid-column: 1; }
h2 { font-size: 36px; font-weight: 720; letter-spacing: -.045em; line-height: 1.35; }
.eyebrow { color: var(--blue); font-size: 15px; font-weight: 650; margin-bottom: 16px; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.85; margin-top: 22px; }
.comparison-panel { border-radius: 40px; background: #f5f7fa; padding: 16px 64px; margin-block: 20px; }
.comparison-panel .feature { gap: 56px; padding-block: 64px; }
.comparison-panel .feature + .feature { border-top: 1px solid #e2e7ed; }
.comparison-panel h2 { font-size: 32px; }
.diary { padding-block: 104px; }
.download-section { background: var(--soft); padding-block: 80px 88px; text-align: center; }
.download-icon { border-radius: 19px; margin: 0 auto 26px; }
.download-content h2 { font-size: 38px; }
.download-content > p { color: var(--muted); font-size: 17px; margin-top: 24px; }
.download-content .store-badges { justify-content: center; }
.site-footer { padding-block: 28px; border-top: 1px solid #e2e7ed; background: #f5f7fa; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 620px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.image-dialog { width: min(96vw, 660px); max-height: 94dvh; padding: 56px 20px 20px; border: 0; border-radius: 20px; background: #f5f7fa; }
.image-dialog::backdrop { background: #111c30b8; }
.image-dialog img { width: 100%; height: auto; border-radius: 8px; }
.close-dialog { display: block; position: sticky; top: 0; margin: -42px 0 12px auto; min-height: 44px; padding: 6px 18px; border: 1px solid #d5dce6; border-radius: 24px; background: white; cursor: pointer; color: var(--ink); }
@media (max-width: 1020px) and (min-width: 901px) {
  .hero { gap: 32px; }
  h1 { font-size: 39px; }
  .hero-description { font-size: 17px; }
  .hero-description .desktop-break { display: none; }
  .feature { gap: 48px; }
  h2 { font-size: 32px; }
  .comparison-panel { padding-inline: 36px; }
  .comparison-panel h2 { font-size: 29px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }
  .page-width { width: calc(100% - 40px); }
  nav { min-height: 68px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  .download-button { padding-inline: 15px; font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 44px 64px; gap: 42px; }
  h1 { font-size: 34px; line-height: 1.35; letter-spacing: -.045em; }
  .desktop-break { display: none; }
  .hero-description { font-size: 17px; line-height: 1.8; margin-top: 22px; }
  .store-badges { gap: 10px; margin-top: 24px; }
  .hero-visual { padding-block: 18px; }
  .halo { width: min(100%, 410px); height: 86%; }
  .hero-screen, .screen-button { width: min(100%, 300px); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 56px; }
  .feature .feature-copy, .feature:has(.visual-first) .feature-copy { grid-column: 1; grid-row: 1; max-width: none; }
  .feature .feature-visual { grid-column: 1; grid-row: 2; }
  h2 { font-size: 29px; line-height: 1.4; }
  .eyebrow { margin-bottom: 12px; }
  .feature-copy > p:not(.eyebrow) { margin-top: 18px; }
  .comparison-panel { padding: 0 24px; border-radius: 26px; margin-block: 16px; }
  .comparison-panel .feature { gap: 32px; padding-block: 44px; }
  .comparison-panel h2 { font-size: 28px; }
  .diary { padding-block: 64px; }
  .download-section { padding-block: 60px; }
  .download-content h2 { font-size: 29px; }
  .download-content > p { font-size: 16px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 32px); }
  h1 { font-size: 32px; }
  .brand { font-size: 16px; }
  .download-button { padding-inline: 12px; }
  .store-badges { gap: 8px; }
  .store-badges img { height: 40px; }
  .store-badges a { min-height: 44px; }
  .comparison-panel { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce2ec; border-radius: 50%; text-decoration: none; font-size: 14px; font-weight: 650; }
.language-switch:hover { background: var(--soft); }
:lang(en) h1, :lang(en) h2 { word-break: normal; overflow-wrap: normal; letter-spacing: -.035em; }
:lang(en) p { word-break: normal; }
@media (max-width: 360px) {
  nav { gap: 8px; }
  .nav-actions { gap: 8px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
}
