:root {
  color-scheme: light;
  --ink: #1d2923;
  --muted: #66736c;
  --green: #173b32;
  --green-soft: #e7eee8;
  --paper: #f7f5ef;
  --card: #fffefa;
  --line: #e3e1d8;
  --accent: #c08a5b;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.7; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }

.site-header, .site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 88px; gap: 24px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green); font-weight: 750; text-decoration: none; letter-spacing: -.03em; }
.brand img { display: block; border-radius: 13px; }
.brand span { font-size: 19px; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a, .site-footer nav a { color: #526158; text-decoration: none; font-size: 14px; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--green); text-decoration: underline; }
.site-header nav .nav-support { color: var(--green); font-weight: 700; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 32px;
  width: min(1320px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  padding: 72px max(8.5%, 48px);
  border-radius: 28px;
  color: #f7f5ef;
  background: radial-gradient(circle at 78% 24%, #416750 0, transparent 27%), linear-gradient(120deg, #153b31, #214b3c 70%, #315943);
}
.hero-copy, .hero-collage { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: #d5c3a6; font-size: 11px; font-weight: 750; letter-spacing: .22em; }
.hero h1, .intro h2, .privacy-note h2, .support-main h1, .legal-main h1 {
  margin: 0;
  font-family: Iowan Old Style, "Palatino Linotype", "AppleMyungjo", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.16;
}
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); }
.hero-text { max-width: 460px; margin: 24px 0 30px; color: #e0e7dc; font-size: 16px; line-height: 1.9; }
.button { display: inline-flex; align-items: center; gap: 18px; padding: 13px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button-light { color: var(--green); background: #f4f0e7; }
.button-light:hover { background: #fff; }
.hero-grain { position: absolute; inset: 0; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-collage { width: min(100%, 470px); height: 470px; margin: 0 auto; }
.hero-phone { position: absolute; top: 22px; padding: 5px; overflow: hidden; border: 1px solid #c9b894; border-radius: 30px; background: #141715; box-shadow: 0 22px 48px #091a1450; }
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
.hero-phone-left { z-index: 1; top: 66px; left: 2%; width: 38%; transform: rotate(-11deg); }
.hero-phone-main { z-index: 3; left: 29%; width: 42%; transform: rotate(-1deg); }
.hero-phone-right { z-index: 2; top: 66px; right: 2%; width: 38%; transform: rotate(11deg); }

.section-wrap { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.intro { padding: 96px 0 48px; text-align: center; }
.eyebrow-muted { color: #8f785f; }
.intro h2, .privacy-note h2 { font-size: clamp(34px, 4vw, 48px); }
.intro > p:last-child { max-width: 520px; margin: 18px auto 0; color: var(--muted); }
.mobile-only { display: none; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 18px 0 42px; }
.feature-card { position: relative; min-height: 245px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.feature-number { position: absolute; top: 24px; right: 25px; color: #9b9a8d; font: 12px Georgia, serif; }
.feature-symbol { display: flex; align-items: end; gap: 4px; height: 57px; margin-bottom: 22px; color: var(--green); }
.symbol-shelf i { display: block; width: 12px; border: 1px solid #688577; border-radius: 3px 3px 0 0; background: #e1e9df; }
.symbol-shelf i:nth-child(1) { height: 34px; }.symbol-shelf i:nth-child(2) { height: 47px; background: #c6d3c4; }.symbol-shelf i:nth-child(3) { height: 39px; background: #efe4d0; }
.symbol-note { align-items: center; flex-direction: column; justify-content: center; gap: 6px; width: 47px; height: 57px; border: 1px solid #8ca094; border-radius: 5px; background: #f2f2e9; }
.symbol-note i { width: 25px; height: 1px; background: #9aaa9b; }
.symbol-quote { align-items: start; height: 48px; color: #b38662; font: 76px Georgia, serif; line-height: 1; }
.symbol-sync { align-items: center; color: #b38662; font: 56px Georgia, serif; line-height: 1; }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.04em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.app-screenshots { padding: 48px 0 88px; }
.screenshots-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 26px; }
.screenshots-heading h2 { margin: 0; font-family: Iowan Old Style, "Palatino Linotype", "AppleMyungjo", Georgia, serif; font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -.055em; line-height: 1.16; }
.screenshots-heading > p { max-width: 330px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.app-shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--green); transition: transform .2s ease, box-shadow .2s ease; }
.app-shot:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #18231a12; }
.app-shot img { display: block; width: 100%; height: auto; }
.privacy-note { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 22px 48px; padding: 44px; border-radius: 22px; background: var(--green-soft); }
.privacy-note h2 { font-size: 38px; }
.privacy-note-copy { display: grid; gap: 16px; min-width: 0; }
.privacy-note-copy > p { margin: 0; color: #53645a; line-height: 1.9; }
.icloud-facts { display: grid; margin: 0; padding: 0; list-style: none; }
.icloud-facts li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid #d2ded3; color: #53645a; font-size: 13px; line-height: 1.7; }
.icloud-facts li:last-child { border-bottom: 1px solid #d2ded3; }
.icloud-facts strong { color: var(--green); }
.privacy-note-copy .privacy-note-secondary { color: #748077; font-size: 12px; }
.text-link { color: var(--green); font-size: 14px; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.site-footer { flex-wrap: wrap; gap: 16px; padding: 38px 0 42px; margin-top: 64px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 14px; }.footer-brand span { color: #778178; font-weight: 500; }
.copyright { margin: 0; color: #848b83; font-size: 12px; }

.legal-main, .support-main { width: min(790px, calc(100% - 48px)); margin: 38px auto 0; }
.back-link { display: inline-block; margin-bottom: 36px; color: #66736c; font-size: 13px; text-decoration: none; }
.back-link:hover { color: var(--green); text-decoration: underline; }
.legal-main h1, .support-main h1 { font-size: clamp(38px, 6vw, 60px); }
.legal-meta { margin: 16px 0 28px; color: var(--muted); font-size: 14px; }
.draft-notice { display: flex; gap: 12px; align-items: baseline; padding: 14px 16px; border: 1px solid #e4c99b; border-radius: 10px; color: #664820; background: #fbf3df; font-size: 13px; }
.draft-notice strong { white-space: nowrap; }
.legal-content { padding-top: 28px; }
.legal-content > p { color: #48564d; }
.legal-content section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.legal-content h2, .support-card h2, .support-contact h2 { margin: 0 0 13px; font-size: 20px; letter-spacing: -.035em; }
.legal-content p, .legal-content li { color: #4e5b53; font-size: 14px; line-height: 1.95; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { display: grid; gap: 10px; padding-left: 20px; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fffefa; font-size: 13px; line-height: 1.75; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--green); background: #edf1eb; font-size: 12px; }
tr:last-child td { border-bottom: 0; }
.external-links { list-style: disc; }

.support-main { padding-bottom: 28px; }
.support-main h1 { margin-bottom: 18px; }
.support-lede { max-width: 570px; margin: 0 0 26px; color: var(--muted); }
.support-card, .support-contact { margin-top: 24px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.support-card details { border-top: 1px solid var(--line); }
.support-card summary { padding: 16px 0; color: var(--green); font-size: 14px; font-weight: 700; cursor: pointer; }
.support-card details p, .support-contact p { color: #536057; font-size: 14px; line-height: 1.85; }
.support-card details p { margin: -4px 0 16px; }
.support-contact p { margin: 8px 0; }
.support-links { display: flex; gap: 20px; margin-top: 22px; font-size: 13px; }

@media (max-width: 720px) {
  .site-header, .site-footer { width: calc(100% - 36px); }
  .site-header { min-height: 74px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 12px; }
  .brand { gap: 9px; }.brand img { width: 36px; height: 36px; }.brand span { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 54px 30px 34px; border-radius: 20px; }
  .hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-text { font-size: 15px; }
  .hero-collage { width: min(100%, 360px); height: 385px; }
  .hero-phone { top: 10px; border-radius: 24px; padding: 4px; }
  .hero-phone img { border-radius: 18px; }
  .hero-phone-left, .hero-phone-right { top: 54px; width: 38%; }
  .hero-phone-main { left: 29%; width: 42%; }
  .section-wrap { width: calc(100% - 40px); }
  .intro { padding: 70px 0 34px; }.intro h2 { font-size: 36px; }.mobile-only { display: initial; }
  .feature-grid { grid-template-columns: 1fr; padding-bottom: 64px; }
  .feature-card { min-height: 205px; }
  .app-screenshots { padding: 16px 0 64px; }
  .screenshots-heading { display: grid; gap: 14px; margin-bottom: 20px; }
  .screenshots-heading h2 { font-size: 36px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .app-shot { border-radius: 12px; transition: none; }
  .app-shot:hover { transform: none; box-shadow: none; }
  .privacy-note { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
  .privacy-note h2 { font-size: 34px; }
  .privacy-note-copy { gap: 14px; }
  .icloud-facts li { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 28px 0; margin-top: 44px; }
  .site-footer nav { flex-wrap: wrap; gap: 12px 20px; }
  .legal-main, .support-main { width: calc(100% - 40px); margin-top: 22px; }
  .back-link { margin-bottom: 27px; }
  .draft-notice { display: grid; gap: 3px; }
  .support-card, .support-contact { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
