* { box-sizing: border-box; }

:root {
  --page-bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #e9eef2;
  --ink: #12161d;
  --muted: #5d6876;
  --line: #dce3ea;
  --brand: #0b6b4f;
  --brand-strong: #064b38;
  --brand-soft: #dff4ec;
  --accent: #d97817;
  --accent-soft: #fff1df;
  --up: #d4322f;
  --down: #2869d8;
  --shadow: 0 18px 42px rgba(16, 24, 40, 0.09);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  min-width: 320px;
}

a {
  color: var(--brand-strong);
}

.site-shell {
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-nav-inner,
.content-inner,
.hero-inner,
.site-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-strong);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  display: block;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 120, 23, 0.16), transparent 28%),
    linear-gradient(135deg, #073c32 0%, #0d1a22 58%, #17202b 100%);
  color: #fff;
}

.hero-product {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 120, 23, 0.13), transparent 26%),
    linear-gradient(135deg, #f7fbf8, #eef4f7);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: 56px;
  padding: 78px 0 72px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #aef1d7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brand);
}

.hero-product .eyebrow {
  color: var(--brand);
}

.hero h1,
.page-head h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead,
.page-head p,
.section-lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.hero-product .hero-lead {
  color: var(--muted);
}

.section-lead,
.page-head p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.hero-actions .primary {
  background: #fff;
  color: var(--ink);
}

.hero-actions .secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
}

.hero-product .hero-actions .primary {
  background: var(--brand-strong);
  color: #fff;
}

.hero-product .hero-actions .secondary {
  border-color: var(--line);
  color: var(--brand-strong);
}

.hero-actions.light .primary {
  background: var(--brand-strong);
  color: #fff;
}

.hero-actions.light .secondary {
  border-color: var(--line);
  color: var(--brand-strong);
}

.phone-showcase {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(330px, 100%);
  min-height: 600px;
  padding: 18px;
  border: 10px solid #f8fafc;
  border-radius: 34px;
  background: #f6f8fa;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(16, 24, 40, 0.18);
  transform: rotate(2deg);
}

.phone-status,
.app-top,
.metric-row,
.sector-card,
.stock-list div,
.tab-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  color: #7c8795;
  font-size: 11px;
  font-weight: 800;
}

.app-top {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #0c141b;
  color: #fff;
}

.app-top span {
  color: #9ba9b8;
  font-size: 12px;
}

.metric-row {
  gap: 10px;
  margin-top: 14px;
}

.metric-row div {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.metric-row span,
.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-row strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.sector-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--brand-soft);
  border: 1px solid #bfe7d7;
}

.sector-card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.rank {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 900;
}

.stock-list {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.stock-list div {
  min-height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.stock-list div:last-child {
  border-bottom: 0;
}

.tab-preview {
  margin-top: 18px;
  padding: 8px;
  border-radius: 16px;
  background: #e9eef3;
  gap: 6px;
}

.tab-preview span {
  flex: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #6d7785;
  font-size: 12px;
  font-weight: 900;
}

.tab-preview .active {
  background: #fff;
  color: var(--brand-strong);
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.08);
}

.up {
  color: var(--up);
}

.down {
  color: var(--down);
}

.content-band {
  padding: 62px 0;
}

.content-band.compact {
  padding-top: 26px;
}

.content-band.soft {
  background: var(--surface-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.feature-item,
.info-panel,
.policy,
.side-note,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-item {
  min-height: 210px;
  padding: 22px;
}

.feature-number {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.feature-item h3,
.info-panel h2,
.side-note h2,
.contact-card strong {
  margin: 16px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.feature-item p,
.info-panel p,
.info-panel li,
.side-note p,
.side-note li,
.policy p,
.policy li,
.faq-list p {
  color: var(--muted);
  font-size: 15px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.78fr);
  gap: 24px;
  align-items: start;
}

.info-panel,
.side-note,
.contact-card {
  padding: 24px;
}

.info-panel h2,
.side-note h2 {
  margin-top: 0;
}

.notice-panel {
  border-color: #f1c27c;
  background: #fffaf3;
}

.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}

.page-head {
  padding: 76px 0 54px;
  background:
    linear-gradient(135deg, rgba(223, 244, 236, 0.95), rgba(255, 255, 255, 0.92)),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 820px;
  color: var(--ink);
}

.page-head p {
  max-width: 740px;
}

.support-head {
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 120, 23, 0.13), transparent 26%),
    linear-gradient(135deg, #f7fbf8, #eef4f7);
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.policy-summary div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.policy-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.policy-summary dd {
  margin: 6px 0 0;
  font-weight: 900;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.policy {
  padding: 34px;
}

.policy h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy ul,
.side-note ul {
  padding-left: 20px;
}

.side-note {
  position: sticky;
  top: 88px;
}

.contact-card {
  background: #fff;
}

.contact-card strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.support-grid .feature-item {
  min-height: 190px;
}

.faq-list {
  max-width: 880px;
}

.faq-list details {
  border-top: 1px solid var(--line);
  background: #fff;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 4px 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-inner,
  .intro-grid,
  .split-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 0 60px;
  }

  .phone-frame {
    transform: none;
  }

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

  .side-note {
    position: static;
  }
}

@media (max-width: 520px) {
  .site-nav-inner,
  .content-inner,
  .hero-inner,
  .site-footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav-links a {
    padding: 0 8px;
    font-size: 13px;
  }

  .hero h1,
  .page-head h1 {
    font-size: 34px;
  }

  .hero-lead,
  .page-head p,
  .section-lead {
    font-size: 16px;
  }

  .phone-frame {
    min-height: 560px;
    border-width: 8px;
  }

  .content-band {
    padding: 46px 0;
  }

  .feature-item,
  .info-panel,
  .policy,
  .side-note,
  .contact-card {
    padding: 20px;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
