:root {
  --airpad-bg: #f5f5f3;
  --airpad-surface: rgba(255, 255, 255, 0.82);
  --airpad-ink: #101113;
  --airpad-muted: #656970;
  --airpad-line: rgba(16, 17, 19, 0.12);
  --airpad-blue: #087eff;
  --airpad-blue-dark: #0062d2;
  --airpad-green: #28c665;
  --airpad-radius: 28px;
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 7%, rgba(8, 126, 255, 0.1), transparent 30rem),
    var(--airpad-bg);
  color: var(--airpad-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.05em;
}

.airpad-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #101113;
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.airpad-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 17, 19, 0.08);
  background: rgba(245, 245, 243, 0.82);
  backdrop-filter: blur(22px) saturate(140%);
}

.airpad-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.airpad-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.airpad-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.airpad-brand small {
  color: var(--airpad-muted);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0;
}

.airpad-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  color: #45484d;
  font-size: 14px;
  font-weight: 620;
}

.airpad-nav-links a:hover,
.airpad-footer-links a:hover,
.text-link:hover {
  color: var(--airpad-blue);
}

.nav-cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: #111316;
  color: #fff !important;
}

.airpad-hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 72px;
  padding-block: 76px 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--airpad-blue-dark);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--airpad-green);
  box-shadow: 0 0 0 5px rgba(40, 198, 101, 0.11);
}

.airpad-hero h1 {
  margin-bottom: 26px;
  font-size: clamp(54px, 6.2vw, 86px);
  font-weight: 760;
  line-height: 0.98;
}

.hero-lede {
  max-width: 590px;
  margin: 0;
  color: var(--airpad-muted);
  font-size: 19px;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

.availability-note {
  margin: 19px 0 0;
  color: var(--airpad-muted);
  font-size: 14px;
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--airpad-blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(8, 126, 255, 0.22);
}

.button.primary:hover {
  background: var(--airpad-blue-dark);
}

.button.secondary {
  border-color: var(--airpad-line);
  background: rgba(255, 255, 255, 0.78);
}

.product-visual {
  min-width: 0;
}

.phone-frame {
  position: relative;
  aspect-ratio: 1.98 / 1;
  padding: 13px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 46px;
  background: #08090b;
  box-shadow: 0 46px 80px rgba(17, 22, 30, 0.25), inset 0 0 0 2px #2a2c31;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.island {
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 2;
  width: 25px;
  height: 76px;
  border-radius: 999px;
  background: #020304;
  transform: translateY(-50%);
}

.track-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid #292d34;
  border-radius: 34px 12px 12px 34px;
  background: radial-gradient(circle at 60% 40%, #20242a, #101216 65%);
}

.connection-chip {
  position: absolute;
  top: 20px;
  left: 26px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #b9bcc2;
  background: rgba(5, 6, 8, 0.65);
  font-size: 11px;
}

.connection-chip i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--airpad-green);
}

.touch-ripple {
  position: absolute;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(32, 146, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(8, 126, 255, 0.1);
}

.touch-ripple.one {
  left: 47%;
  top: 39%;
}

.touch-ripple.two {
  left: 59%;
  top: 50%;
  width: 38px;
  height: 38px;
}

.key-grid,
.shortcut-grid {
  display: grid;
  gap: 6px;
  padding: 2px;
}

.key-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shortcut-grid {
  grid-template-columns: repeat(3, 1fr);
}

.key-grid span,
.shortcut-grid span {
  min-width: 0;
  display: grid;
  place-items: center;
  border: 1px solid #30343b;
  border-radius: 9px;
  background: #181b20;
  color: #e6e7e9;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  font-size: clamp(12px, 1.4vw, 20px);
}

.shortcut-grid span {
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: clamp(13px, 1.65vw, 23px);
  font-weight: 720;
}

.shortcut-grid .shortcut-text {
  font-size: clamp(8px, 0.9vw, 13px);
  letter-spacing: -0.02em;
}

.shortcut-blue { background: #1688f7 !important; }
.shortcut-purple { background: #5d58e6 !important; }
.shortcut-cyan { background: #32aec0 !important; }
.shortcut-orange { background: #ff9d0a !important; color: #111316 !important; }
.shortcut-dark { background: #393a3d !important; }

.visual-caption {
  margin: 24px 0 0;
  color: #85888e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.content-band {
  padding-block: 104px;
  border-top: 1px solid var(--airpad-line);
}

.content-band.alt {
  background: rgba(255, 255, 255, 0.38);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading h2,
.trust-grid h2 {
  margin-bottom: 16px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
}

.section-heading > p:last-child,
.trust-copy {
  color: var(--airpad-muted);
  font-size: 18px;
  line-height: 1.72;
}

.feature-grid,
.gesture-grid,
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gesture-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.gesture-card,
.connection-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--airpad-line);
  border-radius: var(--airpad-radius);
  background: var(--airpad-surface);
  box-shadow: 0 18px 50px rgba(16, 17, 19, 0.05);
}

.feature-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.feature-number,
.gesture-count {
  color: var(--airpad-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.feature-card h3 {
  margin: auto 0 14px;
}

.feature-card h3,
.gesture-card h3,
.connection-card h3 {
  font-size: 25px;
  line-height: 1.12;
}

.feature-card p,
.gesture-card p,
.connection-card p {
  margin-bottom: 0;
  color: var(--airpad-muted);
  line-height: 1.68;
}

.gesture-card h3,
.connection-card h3 {
  margin: 35px 0 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}

.trust-copy a {
  display: inline-block;
  margin-top: 20px;
  color: var(--airpad-ink);
  font-weight: 700;
}

.notice {
  margin-block: 0 104px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  border-radius: 20px;
  background: #17191d;
  color: #f5f6f7;
}

.notice p {
  margin: 0;
  line-height: 1.65;
}

.notice-kicker {
  color: #56a8ff;
  font-weight: 720;
}

.document-page {
  min-height: 75vh;
  padding-block: 88px 120px;
}

.document-hero {
  max-width: 860px;
  margin-bottom: 90px;
}

.document-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 8vw, 96px);
  line-height: 0.98;
}

.document-hero > p:last-child {
  max-width: 700px;
  color: var(--airpad-muted);
  font-size: 20px;
  line-height: 1.65;
}

.receiver-hero {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: center;
  gap: 50px;
}

.receiver-icon {
  position: relative;
  width: 220px;
  height: 168px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background: #111317;
  box-shadow: 0 30px 60px rgba(16, 17, 19, 0.18);
}

.receiver-screen {
  position: absolute;
  left: 30px;
  top: 30px;
  width: 120px;
  height: 82px;
  border: 2px solid #81858c;
  border-radius: 10px;
}

.receiver-screen::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: -18px;
  width: 36px;
  height: 16px;
  border-bottom: 2px solid #81858c;
}

.receiver-phone {
  position: absolute;
  right: 28px;
  bottom: 25px;
  width: 43px;
  height: 82px;
  border: 2px solid #48a1ff;
  border-radius: 12px;
  background: #0c1016;
}

.document-section {
  padding-block: 52px;
  border-top: 1px solid var(--airpad-line);
}

.document-section h2 {
  margin-bottom: 24px;
  font-size: clamp(28px, 3.5vw, 42px);
}

.document-section p,
.document-section li,
.contact-card p,
.inline-note {
  color: var(--airpad-muted);
  font-size: 17px;
  line-height: 1.75;
}

.document-section ul,
.document-section ol {
  margin: 0;
  padding-left: 22px;
}

.document-section li + li {
  margin-top: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 90px;
}

.lead {
  max-width: 900px;
  color: var(--airpad-ink) !important;
  font-size: 25px !important;
  letter-spacing: -0.025em;
}

.step-list {
  margin-bottom: 34px !important;
  padding: 0 !important;
  list-style: none;
}

.step-list li {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  border-bottom: 1px solid var(--airpad-line);
}

.step-list li span {
  color: var(--airpad-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.step-list li p {
  margin: 0;
  color: var(--airpad-ink);
}

.contact-card,
.download-panel {
  margin-top: 58px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: var(--airpad-radius);
  background: #111317;
  color: #f6f7f8;
}

.contact-card h2,
.download-panel h2 {
  margin-bottom: 12px;
  font-size: 36px;
}

.contact-card p,
.download-panel p {
  margin-block: 0;
  color: #aeb1b6;
}

.contact-card .button.secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.contact-note,
.download-integrity {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-note {
  font-size: 13px !important;
}

.download-panel {
  margin-bottom: 70px;
}

.download-integrity summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  color: #f6f7f8;
  font-size: 15px;
  font-weight: 720;
}

.download-integrity summary::-webkit-details-marker {
  display: none;
}

.download-integrity summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #7ebaff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.download-integrity[open] summary::after {
  content: "−";
}

.download-integrity summary small {
  margin-left: auto;
  color: #8f939a;
  font-size: 12px;
  font-weight: 560;
}

.download-integrity-content {
  padding-top: 16px;
}

.download-integrity-content > p {
  max-width: 70ch;
  font-size: 13px;
  line-height: 1.7;
}

.download-hash {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.download-hash span {
  color: #7ebaff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.download-hash code {
  overflow-wrap: anywhere;
  color: #d7d9dc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.65;
}

.inline-note {
  padding: 24px 28px;
  border: 1px solid var(--airpad-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  font-weight: 700;
}

.airpad-footer {
  border-top: 1px solid var(--airpad-line);
  color: var(--airpad-muted);
}

.footer-grid {
  min-height: 210px;
  padding-block: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 30px 70px;
}

.footer-grid p {
  margin: 0;
}

.footer-brand {
  margin-bottom: 8px !important;
  color: var(--airpad-ink);
  font-size: 18px;
  font-weight: 760;
}

.airpad-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid var(--airpad-line);
  font-size: 13px;
}

@media (max-width: 980px) {
  .airpad-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 72px;
    padding-top: 72px;
  }

  .product-visual {
    width: min(100%, 660px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connection-grid {
    grid-template-columns: 1fr;
  }

  .gesture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 230px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .airpad-shell {
    width: min(100% - 30px, 1180px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .airpad-header {
    position: static;
  }

  .airpad-nav {
    min-height: 64px;
  }

  .airpad-brand small,
  .airpad-nav-links > a:not(.nav-cta):not([lang]):not(.hub-link) {
    display: none;
  }

  .airpad-nav-links {
    gap: 12px;
  }

  .airpad-nav-links a {
    white-space: nowrap;
  }

  .airpad-nav-links > a[lang] {
    display: none;
  }

  .airpad-hero {
    padding-block: 56px 76px;
  }

  .airpad-hero h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .phone-frame {
    padding: 8px;
    gap: 6px;
    border-radius: 28px;
  }

  .track-surface {
    border-radius: 20px 8px 8px 20px;
  }

  .island {
    left: 10px;
    width: 16px;
    height: 48px;
  }

  .connection-chip {
    top: 11px;
    left: 16px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .key-grid,
  .shortcut-grid {
    gap: 3px;
  }

  .key-grid span,
  .shortcut-grid span {
    border-radius: 5px;
  }

  .content-band {
    padding-block: 76px;
  }

  .gesture-grid {
    grid-template-columns: 1fr;
  }

  .notice {
    grid-template-columns: 1fr;
    margin-bottom: 76px;
  }

  .document-page {
    padding-block: 60px 86px;
  }

  .document-hero {
    margin-bottom: 64px;
  }

  .document-hero h1 {
    font-size: 50px;
  }

  .receiver-hero {
    grid-template-columns: 1fr;
  }

  .receiver-icon {
    width: 180px;
    height: 138px;
  }

  .receiver-screen {
    width: 96px;
    height: 64px;
  }

  .receiver-phone {
    width: 35px;
    height: 67px;
  }

  .contact-card,
  .download-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .contact-card .button,
  .download-panel .button {
    width: 100%;
  }

  .download-panel h2 {
    font-size: 32px;
    word-break: keep-all;
  }

  .download-integrity summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
  }

  .download-integrity summary small {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0;
  }

  .download-integrity summary::after {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --airpad-bg: #08090b;
    --airpad-surface: rgba(21, 23, 27, 0.84);
    --airpad-ink: #f4f5f6;
    --airpad-muted: #a5a8ad;
    --airpad-line: rgba(255, 255, 255, 0.11);
  }

  body {
    background:
      radial-gradient(circle at 78% 7%, rgba(8, 126, 255, 0.14), transparent 30rem),
      var(--airpad-bg);
  }

  .airpad-header {
    border-color: var(--airpad-line);
    background: rgba(8, 9, 11, 0.82);
  }

  .airpad-nav-links {
    color: #b4b7bc;
  }

  .button.secondary,
  .inline-note {
    background: rgba(255, 255, 255, 0.06);
  }

  .content-band.alt {
    background: rgba(255, 255, 255, 0.025);
  }

  .nav-cta {
    background: #f4f5f6;
    color: #111316 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
