:root {
  color-scheme: light;
  --navy: #12243d;
  --navy-soft: #253a58;
  --gold: #b98a34;
  --gold-soft: #f4e7c7;
  --ink: #172033;
  --muted: #667085;
  --paper: #f7f8fb;
  --line: #dde3eb;
  --white: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 251, .92);
  border-bottom: 1px solid rgba(221, 227, 235, .8);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { color: var(--navy-soft); font-size: 14px; font-weight: 700; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  min-height: 760px;
  padding: 80px clamp(24px, 7vw, 110px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 14%, rgba(185, 138, 52, .22), transparent 25%),
    linear-gradient(135deg, #0c1a30 0%, #1b3453 68%, #254465 100%);
}

.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .18em; }
.hero h1 { margin: 0; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.08; letter-spacing: -.055em; }
.hero-lead { max-width: 710px; margin: 28px 0 0; color: #d8e0eb; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store-button, .secondary-button { min-height: 58px; border-radius: 16px; text-decoration: none; }
.store-button { display: inline-flex; align-items: center; gap: 12px; padding: 9px 20px; color: #111; background: #fff; }
.store-button small { display: block; font-size: 10px; letter-spacing: .12em; }
.store-button span:last-child { font-weight: 800; }
.secondary-button { display: inline-flex; align-items: center; padding: 0 22px; border: 1px solid rgba(255,255,255,.3); font-weight: 800; }
.availability { margin: 18px 0 0; color: #aebdce; font-size: 13px; }
.hero-device { width: min(360px, 78vw); margin: 0 auto; transform: rotate(2deg); }
.hero-device img { border: 9px solid #0a1220; border-radius: 42px; box-shadow: 0 36px 80px rgba(0,0,0,.42); }

.section { padding: 110px clamp(24px, 7vw, 110px); }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2, .trust-section h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid article { min-height: 260px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgba(18, 36, 61, .07); }
.feature-number { color: var(--gold); font-weight: 900; letter-spacing: .16em; }
.feature-grid h3 { margin: 54px 0 12px; color: var(--navy); font-size: 22px; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.75; }

.devices-section { background: #fff; }
.device-showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.device-card { overflow: hidden; padding: 30px; border-radius: 30px; background: var(--paper); border: 1px solid var(--line); }
.device-card h3 { max-width: 600px; margin: 8px 0 24px; color: var(--navy); font-size: clamp(22px, 2.8vw, 36px); line-height: 1.25; }
.device-label { margin: 0; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.device-card img { margin: auto; border-radius: 18px; box-shadow: 0 18px 44px rgba(18, 36, 61, .14); }
.iphone-card { grid-column: span 4; }
.iphone-card img { max-height: 640px; }
.ipad-card { grid-column: span 8; }
.ipad-card img { max-height: 640px; }
.mac-card { grid-column: span 9; }
.watch-card { grid-column: span 3; background: #101114; color: #fff; }
.watch-card h3 { color: #fff; }
.watch-card img { width: min(100%, 320px); border-radius: 36px; }

.trust-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 60px; align-items: start; }
.trust-section > p { margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.trust-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-links a { padding: 13px 18px; color: var(--navy); background: var(--gold-soft); border-radius: 999px; font-weight: 800; text-decoration: none; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 42px clamp(24px, 7vw, 110px); color: #cbd4e0; background: #0c1a30; }
footer p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .iphone-card, .ipad-card, .mac-card, .watch-card { grid-column: span 6; }
  .trust-section { grid-template-columns: 1fr; }
  .trust-links { grid-column: 1; }
}

@media (max-width: 640px) {
  .site-header nav a:not(:last-child) { display: none; }
  .hero { min-height: 0; padding-top: 64px; }
  .hero h1 { font-size: 42px; word-break: keep-all; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .feature-grid { grid-template-columns: 1fr; }
  .device-showcase { display: block; }
  .device-card + .device-card { margin-top: 18px; }
  footer { display: block; }
  footer > p { margin-top: 24px; }
}
