:root {
  color-scheme: dark;
  --bg: #101012;
  --surface: #19191b;
  --surface-raised: #202023;
  --line: #303034;
  --text: #f5f3ef;
  --muted: #aaa8a5;
  --accent: #ff562d;
  --accent-hover: #ff754f;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { color: #101012; background: var(--accent); }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 16px; padding: 12px 16px; color: #101012; background: var(--accent); font-weight: 700; }
.skip-link:focus { top: 12px; }
.accent, .brand-period { color: var(--accent); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 1.65rem; font-weight: 760; letter-spacing: -.075em; line-height: 1; }
.brand img { width: 42px; height: 42px; }
.brand-period { padding-right: .08em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 4vw, 42px); }
.main-nav a { color: #d6d3cf; font-size: .875rem; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover, .footer-column a:hover, .legal-content a:hover { color: var(--accent-hover); }

.hero { display: grid; gap: 36px; align-items: center; min-height: 620px; padding-block: 88px 98px; }
.eyebrow, .section-kicker { margin: 0; color: var(--accent); font-size: .72rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-line { width: 25px; height: 1px; background: currentColor; }
.hero h1 { max-width: 850px; margin: 24px 0 22px; font-size: clamp(3.4rem, 8.2vw, 6.9rem); font-weight: 760; letter-spacing: -.075em; line-height: .99; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 530px; margin: 0 0 34px; color: #c1beba; font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 14px 19px; font-size: .9rem; font-weight: 720; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #16100e; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button span { font-size: 1.25rem; line-height: 1; }
.hero-art { position: relative; width: min(100%, 430px); justify-self: center; }
.hero-art-frame { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #3b302d; background: #151517; overflow: hidden; }
.hero-art-frame::before { content: ""; position: absolute; inset: 15px; border: 1px solid #2b2929; pointer-events: none; }
.hero-art-frame img { width: 78%; height: auto; }
.art-caption { position: absolute; right: 14px; bottom: -10px; padding: 0 10px; color: #aaa6a2; background: var(--bg); font-size: .59rem; font-weight: 700; letter-spacing: .16em; }

.section { scroll-margin-top: 24px; padding-block: 88px 100px; }
.products-section { border-top: 1px solid var(--line); background: #151517; }
.section-heading { display: grid; gap: 20px; align-items: end; margin-bottom: 40px; }
.section-heading h2, .about-grid h2 { max-width: 660px; margin: 18px 0 0; font-size: clamp(2.3rem, 5vw, 4.25rem); font-weight: 730; letter-spacing: -.065em; line-height: 1.08; }
.section-heading > p { max-width: 310px; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.65; }
.product-grid { display: grid; gap: 16px; }
.product-card { display: flex; flex-direction: column; min-height: 320px; padding: 28px; border: 1px solid #333337; background: var(--surface-raised); transition: border-color .2s ease, transform .2s ease; }
.product-card:hover, .product-card:focus-within { border-color: #a5432d; transform: translateY(-3px); }
.card-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.card-number { color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .08em; }
.card-type { padding: 6px 9px; border: 1px solid #454144; color: #b9b5b2; font-size: .65rem; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
.card-content { flex: 1; margin-bottom: 30px; padding-top: 35px; }
.card-content h3 { margin: 0 0 12px; font-size: clamp(1.65rem, 4vw, 2.25rem); font-weight: 710; letter-spacing: -.05em; }
.card-content p { max-width: 430px; margin: 0; color: #b7b3b0; font-size: .96rem; line-height: 1.65; }
.product-details { display: grid; gap: 18px; margin: 25px 0 0; padding-top: 22px; border-top: 1px solid #414044; }
.product-details dt { margin-bottom: 5px; color: var(--text); font-size: .78rem; font-weight: 750; }
.product-details dd { margin: 0; color: #b7b3b0; font-size: .9rem; line-height: 1.6; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 43px; padding-top: 15px; border-top: 1px solid #414044; color: var(--text); font-size: .89rem; font-weight: 710; }
.card-link span { color: var(--accent); font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.card-link:hover span { transform: translate(2px, -2px); }
.card-domain { margin-top: 7px; color: #a09b96; font-size: .72rem; overflow-wrap: anywhere; }

.guide-section { border-top: 1px solid var(--line); background: #111113; }
.guide-section h2 { max-width: 750px; margin: 18px 0 42px; font-size: clamp(2.15rem, 4.5vw, 3.7rem); font-weight: 730; letter-spacing: -.06em; line-height: 1.1; }
.guide-grid { display: grid; gap: 24px; }
.guide-item { padding-top: 24px; border-top: 1px solid #424043; }
.guide-item h3 { margin: 0 0 14px; font-size: 1.18rem; letter-spacing: -.025em; }
.guide-item p { max-width: 520px; margin: 0; color: #bcb9b6; font-size: .97rem; line-height: 1.7; }
.guide-item strong { color: var(--text); font-weight: 650; }

.about-section { padding-block: 104px 116px; }
.about-grid { display: grid; gap: 28px; }
.about-copy { max-width: 575px; }
.about-copy p { margin: 0; color: #bcb9b6; font-size: 1.08rem; line-height: 1.78; }
.about-copy p:first-child { margin-bottom: 20px; color: var(--text); font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.5; }

.site-footer { border-top: 1px solid var(--line); background: #0c0c0e; }
.footer-grid { display: grid; gap: 42px; padding-block: 65px 70px; }
.footer-identity p { max-width: 240px; margin: 20px 0 0; color: #96928f; font-size: .9rem; line-height: 1.6; }
.footer-identity .brand img { width: 38px; height: 38px; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.footer-column h2 { margin: 0 0 7px; color: var(--text); font-size: .9rem; font-weight: 750; }
.footer-column a, .footer-column p { margin: 0; color: #aaa6a2; font-size: .88rem; line-height: 1.5; overflow-wrap: anywhere; transition: color .2s ease; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 23px 28px; border-top: 1px solid #272729; color: #908c88; font-size: .78rem; }

.legal-main { padding-block: 75px 105px; }
.legal-main h1 { max-width: 760px; margin: 16px 0 22px; font-size: clamp(2.65rem, 6vw, 5rem); letter-spacing: -.07em; line-height: 1.04; }
.legal-lead { max-width: 760px; margin: 0 0 45px; color: #c1beba; font-size: 1.07rem; line-height: 1.72; }
.legal-lead strong { color: var(--text); }
.legal-content { max-width: 780px; border-top: 1px solid var(--line); }
.legal-content section { padding-block: 28px 30px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 15px; font-size: 1.35rem; letter-spacing: -.035em; }
.legal-content p, .legal-content li { color: #b8b4b0; font-size: .97rem; line-height: 1.75; }
.legal-content p { margin: 0 0 12px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--text); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.legal-content ul { margin: 0; padding-left: 21px; }
.legal-content li + li { margin-top: 8px; }
.text-back { display: inline-block; margin-top: 40px; color: var(--accent); font-size: .9rem; font-weight: 700; }
.text-back:hover { color: var(--accent-hover); }

@media (min-width: 720px) {
  .container { width: min(calc(100% - 72px), var(--max-width)); }
  .section-heading { grid-template-columns: minmax(0, 1fr) 310px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 35px; }
  .about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 65px; }
}

@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 24px; }
  .hero-art { justify-self: end; }
}

@media (max-width: 719px) {
  .header-inner { justify-content: center; padding-block: 13px 17px; }
  .brand { font-size: 1.52rem; }
  .brand img { width: 38px; height: 38px; }
  .main-nav { width: 100%; justify-content: center; padding-top: 8px; }
  .hero { padding-block: 68px 76px; min-height: 0; }
  .hero-art { width: min(100%, 290px); margin-top: 12px; }
  .section { padding-block: 72px 82px; }
  .about-section { padding-block: 78px 88px; }
  .product-card { min-height: 300px; }
  .legal-main { padding-block: 65px 80px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 3.1rem; }
  .product-card { padding: 22px; }
}

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