:root {
  --bg: #ffffff;
  --surface: #f5f8fa;
  --surface-2: #edf4f7;
  --text: #203d46;
  --text-strong: #18343d;
  --muted: #667b82;
  --line: #dce6e9;
  --blue: #08749a;
  --blue-dark: #075f7e;
  --blue-soft: #e9f5f9;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(26, 64, 77, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-logo { display: block; flex: 0 1 350px; text-decoration: none; }
.site-logo img { width: 100%; max-width: 350px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: var(--blue); }
.main-nav .nav-cta { color: #fff; background: var(--blue); padding: 10px 17px; border-radius: 999px; }
.main-nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }
.nav-toggle, .nav-button { display: none; }

.hero { overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f6fafb 100%); border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 500px; display: block; padding-block: 70px; }
.hero-copy { width: 100%; max-width: 1060px; }
.kicker, .eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; margin: 0 0 12px; }
.hero h1 { color: var(--text-strong); font-size: clamp(44px, 6vw, 76px); line-height: .99; letter-spacing: -3px; margin: 0; }
.slogan { font-size: 20px; font-style: italic; color: var(--blue); margin: 22px 0 8px; }
.lead { font-size: 21px; color: var(--text-strong); max-width: 940px; margin: 20px 0 10px; }
.hero-copy > p:not(.kicker):not(.slogan):not(.lead) { max-width: 920px; }
.noncommercial { display: inline-flex; align-items: center; gap: 9px; margin-top: 13px; padding: 10px 14px; border: 1px solid #b8dbe7; background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; font-size: 14px; }
.noncommercial span { width: 21px; height: 21px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 800; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: #fff; border: 1px solid var(--line); color: var(--text); }
.button.secondary:hover { border-color: #9dcbd9; color: var(--blue-dark); }
.section { padding-block: 84px; }
.section-soft { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading.compact { margin-bottom: 26px; }
.section-heading h2, .domain-panel h2 { margin: 0; color: var(--text-strong); font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -1.5px; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin: 12px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { position: relative; min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(26,64,77,.04); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: #9bcbd9; box-shadow: var(--shadow); }
.card-index { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.card h3 { margin: 30px 48px 4px 0; color: var(--text-strong); font-size: 20px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.arrow { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); }

.domain-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.domain-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.domain-panel h2 { font-size: 29px; letter-spacing: -1px; }
.domain-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.domain-cloud span { border: 1px solid #c9e4eb; background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; padding: 8px 12px; font-size: 13px; }
.domain-cloud.small span { font-size: 12px; }
.sale-note { margin-top: 20px; }
.sale-note p { margin: 0; color: var(--muted); font-size: 13px; }
.sale-note a { color: var(--blue-dark); font-weight: 700; }

.tech-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.tech-logo { min-height: 180px; display: grid; place-items: center; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tech-logo img { max-height: 112px; width: auto; object-fit: contain; }

.site-footer { padding-block: 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a, .back-link { color: var(--text); text-decoration: none; font-weight: 700; font-size: 13px; }
.footer-links a:hover, .back-link:hover { color: var(--blue); }
.site-footer p { margin: 0; color: var(--muted); font-size: 13px; }

.legal-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--surface); }
.legal-header { min-height: 82px; }
.legal-main { flex: 1; display: grid; align-items: start; padding-block: 70px; }
.legal-card { max-width: 920px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.legal-card h1 { margin: 0 0 10px; color: var(--text-strong); font-size: 42px; letter-spacing: -1px; }
.legal-card address { font-style: normal; color: var(--text); font-size: 16px; line-height: 1.75; }
.legal-intro { max-width: 760px; margin: 0 0 32px; color: var(--muted); font-size: 17px; }
.legal-section { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 10px; color: var(--text-strong); font-size: 21px; line-height: 1.25; letter-spacing: -.25px; }
.legal-section p { margin: 0 0 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-updated { margin: 34px 0 0; color: var(--muted); font-size: 13px; }
.legal-card a { color: var(--blue-dark); font-weight: 700; }

:focus-visible { outline: 3px solid #70bad0; outline-offset: 4px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .domain-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .site-logo { flex-basis: 250px; }
  .site-logo img { max-width: 250px; }
  .nav-button { display: flex; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; }
  .nav-button span { width: 17px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: .2s ease; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 14px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 25px rgba(26,64,77,.08); }
  .main-nav a { padding: 12px 10px; }
  .main-nav .nav-cta { margin-top: 6px; text-align: center; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero-inner { padding-block: 56px; }
  .hero h1 { letter-spacing: -2px; }
  .lead { font-size: 19px; }
  .section { padding-block: 60px; }
  .cards { grid-template-columns: 1fr; }
  .tech-strip { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-header .site-logo { flex-basis: 210px; }
  .legal-header .site-logo img { max-width: 210px; }
  .legal-card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
