:root {
  --black: #080808;
  --surface: #111111;
  --line: #292929;
  --line-strong: #3d3d3d;
  --text: #f3f3f3;
  --muted: #9f9f9f;
  --blue: #159bd7;
  --bright: #43afe7;
  --font: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--black); }
body { min-height: 100vh; margin: 0; color: var(--text); background: var(--black); font-family: var(--font); }
a { color: inherit; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.13);
  z-index: 10;
}
.home-header { position: absolute; left: 50%; transform: translateX(-50%); }
.inner-header { position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 600; }
.brand img { width: 15px; height: 21px; }
.site-header nav { display: flex; gap: 30px; font-size: 11px; }
.site-header nav a { position: relative; color: #ababab; text-decoration: none; }
.site-header nav a:hover, .site-header nav a.current { color: #fff; }
.site-header nav a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 1px; background: var(--bright); }

.home-hero {
  height: 100svh;
  min-height: 670px;
  display: flex;
  align-items: center;
  position: relative;
  background: url("assets/hero-workstation-temporary.png") center / cover no-repeat;
  overflow: hidden;
}
.home-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.home-content { position: relative; z-index: 2; }
.home-copy { width: min(590px, 100%); }
.home-copy h1 { margin: 0; font-size: clamp(65px, 7.2vw, 100px); line-height: .95; letter-spacing: -.065em; font-weight: 500; }
.home-tagline { margin: 22px 0 0; font-size: 20px; }
.home-summary { max-width: 540px; margin: 17px 0 0; color: #adadad; font-size: 15px; line-height: 1.7; }
.home-actions { display: flex; align-items: center; gap: 26px; margin-top: 31px; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; min-width: 128px; height: 48px; padding: 0 18px; border: 1px solid #1a9dd8; border-radius: 3px; background: #168bc5; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.primary-action:hover { background: #1c9bd3; }
.text-action { color: #dddddd; font-size: 12px; text-decoration: none; }
.text-action span { margin-left: 6px; color: var(--bright); transition: margin .16s; }
.text-action:hover span { margin-left: 11px; }

.inner-page { background: var(--black); }
.about-main { padding: 84px 0 130px; }
.about-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding-bottom: 92px; }
.about-hero h1, .download-intro h1 { margin: 0; font-size: clamp(52px, 6vw, 82px); line-height: 1; letter-spacing: -.06em; font-weight: 500; }
.about-lead { padding-top: 9px; }
.about-lead p { max-width: 620px; margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.about-lead p:first-child { color: #d6d6d6; font-size: 21px; line-height: 1.55; }
.tilt-window { margin: 0; transform-style: preserve-3d; will-change: transform; transition: transform .14s ease-out; filter: drop-shadow(0 35px 38px rgba(0,0,0,.7)); clip-path: inset(0 round 8px); }
.tilt-window img { display: block; width: 100%; pointer-events: none; }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--glare-x,50%) var(--glare-y,50%), rgba(255,255,255,.13), transparent 38%); transition: opacity .2s; }
.tilt-window:hover .tilt-glare { opacity: 1; }

.tool-detail { min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 92px; border-top: 1px solid var(--line); padding: 92px 0; perspective: 1100px; }
.tool-copy h2 { margin: 0; font-size: clamp(46px, 5vw, 68px); font-weight: 500; letter-spacing: -.055em; }
.tool-summary { margin: 22px 0 34px; color: #b8b8b8; font-size: 15px; line-height: 1.75; }
.detail-list > div { display: grid; grid-template-columns: 135px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.detail-list > div:last-child { border-bottom: 1px solid var(--line); }
.detail-list h3 { margin: 1px 0 0; color: #e6e6e6; font-size: 12px; font-weight: 600; }
.detail-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.detail-visual { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.macro-detail .detail-visual { max-width: 590px; }
.tool-choice { display: grid; grid-template-columns: 180px 1fr auto; gap: 50px; align-items: start; border-top: 1px solid var(--line); padding-top: 42px; }
.tool-choice h2 { margin: 0; font-size: 13px; }
.tool-choice > div { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.tool-choice p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tool-choice strong { color: #e4e4e4; font-weight: 600; }

.download-main { min-height: calc(100vh - 74px); padding: 76px 0 110px; }
.download-intro { max-width: 760px; }
.download-intro h1 { font-size: clamp(56px, 7vw, 92px); }
.download-intro p { max-width: 560px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.download-content { width: min(920px, 100%); margin: 64px 0 0 auto; border-top: 1px solid var(--line-strong); }
.terms-check { min-height: 76px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); color: #bcbcbc; font-size: 12px; }
.terms-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.terms-check a { color: #69bde7; }
.download-options article { min-height: 124px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.download-options svg { width: 27px; height: 27px; fill: #eeeeee; }
.download-options h2 { margin: 0 0 7px; font-size: 18px; font-weight: 550; }
.download-options p { margin: 0; color: #888888; font-size: 11px; }
.terms-download { display: inline-flex; align-items: center; justify-content: center; min-width: 126px; min-height: 40px; padding: 0 16px; border: 1px solid #484848; border-radius: 2px; color: #ededed; font-size: 11px; text-align: center; text-decoration: none; cursor: pointer; }
.terms-download:not([aria-disabled="true"]):hover { border-color: var(--bright); background: #141414; }
.terms-download[aria-disabled="true"] { opacity: .32; cursor: not-allowed; }
.download-footer { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.download-status { margin: 0; color: #7e7e7e; font-size: 11px; }
.portable-link { min-height: auto; min-width: 0; padding: 0; border: 0; color: #69bde7; }

.terms-main { width: min(760px, calc(100% - 40px)); margin: auto; padding: 68px 0 110px; }
.terms-main h1 { margin: 0; font-size: 48px; letter-spacing: -.045em; }
.terms-main .updated { color: #808080; font-size: 11px; }
.terms-main h2 { margin: 35px 0 8px; font-size: 16px; }
.terms-main p { color: #a5a5a5; font-size: 13px; line-height: 1.75; }
.terms-main .primary-action { margin-top: 30px; }
.terms-main a:not(.primary-action) { color: #69bde7; }
.support-form { display: grid; gap: 20px; margin-top: 36px; }
.support-form > label { display: grid; gap: 8px; color: #d3d3d3; font-size: 12px; }
.support-form > label > span { color: #777; }
.support-form input:not([type="checkbox"]), .support-form select, .support-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #3d3d3d; border-radius: 3px; padding: 11px 12px; color: #ededed; background: #111417; font: inherit; }
.support-form textarea { resize: vertical; min-height: 150px; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { outline: 1px solid var(--blue); border-color: var(--blue); }
.support-form .support-consent { grid-template-columns: 18px 1fr; align-items: start; line-height: 1.6; }
.support-form .support-consent input { margin: 3px 0 0; accent-color: var(--blue); }
.support-form .support-consent span { color: #a5a5a5; }
.support-form .primary-action { justify-self: start; border: 0; cursor: pointer; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .about-hero, .tool-detail { grid-template-columns: 1fr; }
  .about-hero { gap: 40px; }
  .tool-detail { gap: 60px; }
  .macro-detail .detail-visual { order: 2; }
  .detail-visual { width: min(620px, 90%); }
  .tool-choice { grid-template-columns: 1fr; }
  .download-content { margin-left: 0; }
}

@media (max-width: 650px) {
  .page-width, .site-header { width: calc(100% - 30px); }
  .site-header nav { gap: 17px; }
  .home-hero { background-position: 67% center; }
  .home-overlay { background: rgba(0,0,0,.42); }
  .home-copy { margin: auto; text-align: center; }
  .home-copy h1 { font-size: 57px; }
  .home-actions { justify-content: center; }
  .about-main { padding-top: 48px; }
  .about-hero { padding-bottom: 58px; }
  .about-hero h1 { font-size: 50px; }
  .about-lead p:first-child { font-size: 18px; }
  .tool-detail { min-height: 0; padding: 64px 0; }
  .detail-list > div { grid-template-columns: 1fr; gap: 8px; }
  .detail-visual { width: 100%; }
  .tool-choice > div { grid-template-columns: 1fr; gap: 20px; }
  .download-main { padding-top: 50px; }
  .download-options article { grid-template-columns: 32px 1fr; padding: 22px 0; }
  .download-options article > .terms-download { grid-column: 1 / -1; width: 100%; }
  .download-footer { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .terms-main h1 { font-size: 40px; }
}
