:root {
  color-scheme: dark;
  --bg: #06110d;
  --bg-deep: #030906;
  --surface: #0b1c15;
  --surface-2: #10251c;
  --ink: #f4fff9;
  --muted: #9eb2a7;
  --line: rgba(216, 255, 235, .12);
  --accent: #5bf1ad;
  --accent-bright: #99ffd1;
  --accent-ink: #052016;
  --blue: #6e92ff;
  --shell: min(1180px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 8%, rgba(54, 224, 148, .14), transparent 27rem),
    radial-gradient(circle at 5% 45%, rgba(62, 105, 255, .1), transparent 30rem),
    linear-gradient(180deg, #07130f 0%, var(--bg-deep) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 99; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.header-inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-weight: 780; letter-spacing: -.025em; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
nav { display: flex; align-items: center; justify-content: center; gap: 30px; }
nav a, .header-cta { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .92rem; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.header-cta { justify-self: end; gap: 8px; color: var(--ink); }
nav a:hover, .header-cta:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

.hero { position: relative; min-height: 850px; display: flex; align-items: center; padding: 148px 0 84px; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 44rem; height: 44rem; right: -17rem; bottom: -22rem; border: 1px solid rgba(91, 241, 173, .13); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(91, 241, 173, .02), 0 0 0 14rem rgba(91, 241, 173, .018); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(400px, .94fr); align-items: center; gap: clamp(46px, 8vw, 100px); }
.kicker { margin: 0; color: var(--accent); font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero-copy > .kicker { display: flex; align-items: center; gap: 10px; }
.hero-copy > .kicker span { width: 28px; height: 1px; background: var(--accent); }
h1 { max-width: 760px; margin: 24px 0 28px; font-size: clamp(4.2rem, 8vw, 7.5rem); line-height: .84; letter-spacing: -.078em; }
h1 em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.06em; }
.hero-lead { max-width: 680px; margin: 0; color: #bdcec5; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.66; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 22px; border-radius: 14px; font-weight: 820; text-decoration: none; }
.button-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 18px 50px rgba(46, 218, 142, .2); transition: transform .2s ease, background .2s ease; }
.button-primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.button small { display: block; font-size: .62rem; font-weight: 700; line-height: 1; }
.button span:not(.apple-mark) { line-height: 1.15; }
.apple-mark { width: 23px; height: 23px; display: grid; place-items: center; font-size: 1.1rem; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #cfddd6; font-weight: 760; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.hero-meta strong { display: block; color: var(--ink); font-size: .96rem; margin-bottom: 4px; }

.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(125, 255, 191, .13); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 400px; height: 400px; border-style: dashed; animation: spin 50s linear infinite; }
.art-card { position: relative; z-index: 2; width: min(380px, 86%); min-height: 485px; padding: 34px; border: 1px solid rgba(215, 255, 235, .2); border-radius: 42px; background: linear-gradient(155deg, rgba(23, 58, 44, .92), rgba(7, 24, 17, .88)); box-shadow: 0 48px 100px rgba(0, 0, 0, .48), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(18px); transform: rotate(2.2deg); }
.art-icon { display: block; width: 198px; height: 198px; margin: 20px auto 42px; border-radius: 27%; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.visualizer { height: 62px; display: flex; align-items: center; justify-content: center; gap: 7px; padding-inline: 12px; }
.visualizer i { width: 5px; height: var(--h); min-height: 8px; border-radius: 10px; background: linear-gradient(to top, var(--blue), var(--accent)); opacity: .9; }
.now-playing { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.now-playing small { display: block; margin-bottom: 6px; color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.now-playing strong { display: block; font-size: .95rem; line-height: 1.35; }
.play-control { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .8rem; }
.floating-pill { position: absolute; z-index: 3; padding: 13px 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(9, 29, 21, .82); box-shadow: 0 15px 38px rgba(0,0,0,.3); backdrop-filter: blur(16px); color: #d9e8e1; font-size: .78rem; font-weight: 750; }
.pill-left { left: 0; top: 23%; }
.pill-right { right: -10px; bottom: 19%; }
@keyframes spin { to { transform: rotate(360deg); } }

.proof { border-block: 1px solid var(--line); background: rgba(5, 17, 12, .7); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { min-height: 184px; padding: 40px 34px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { border-left: 1px solid var(--line); }
.proof-grid span { display: block; margin-bottom: 25px; color: var(--accent); font: italic 1rem Georgia, serif; }
.proof-grid strong { display: block; margin-bottom: 9px; font-size: 1.1rem; }
.proof-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

.section { padding: 120px 0; }
.section-heading { margin-bottom: 52px; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
h2 { margin: 15px 0 0; font-size: clamp(2.8rem, 5vw, 5.15rem); line-height: .95; letter-spacing: -.065em; }
.section-heading > p, .split-heading > p { max-width: 510px; margin: 0 0 6px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.bento-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.bento { position: relative; min-height: 310px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(150deg, rgba(14, 37, 27, .9), rgba(7, 20, 15, .92)); }
.bento-large { min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; grid-row: span 2; }
.feature-number { position: absolute; top: 29px; right: 31px; color: rgba(255,255,255,.28); font: italic 1.05rem Georgia, serif; }
.eyebrow { margin: 0 0 13px; color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.bento h3 { max-width: 650px; margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.04; letter-spacing: -.045em; }
.bento p:not(.eyebrow) { max-width: 610px; margin: 0; color: var(--muted); line-height: 1.65; }
.folder-visual { width: min(390px, 90%); margin: 54px auto 10px; padding: 28px; border: 1px solid rgba(146,255,202,.18); border-radius: 12px 24px 24px 24px; background: linear-gradient(145deg, rgba(91, 241, 173, .14), rgba(51, 92, 74, .15)); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.folder-visual::before { content: ""; display: block; width: 86px; height: 16px; margin: -44px 0 24px; border-radius: 9px 9px 0 0; background: rgba(91, 241, 173, .2); }
.folder-visual span { float: left; width: 42px; height: 42px; margin-right: 14px; border: 10px solid var(--accent); border-radius: 50%; }
.folder-visual strong, .folder-visual small { display: block; }
.folder-visual small { margin-top: 5px; color: var(--muted); }
.progress-visual { position: absolute; left: 32px; right: 32px; bottom: 36px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.1); }
.progress-visual span { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.bento-accent { background: linear-gradient(145deg, rgba(32, 113, 78, .82), rgba(16, 59, 42, .9)); }
.recognize-disc { position: absolute; right: 32px; bottom: 28px; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 13px rgba(91, 241, 173, .09); color: var(--accent-ink); font-size: 2.2rem; }
.bento-wide { min-height: 240px; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.bento-wide ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin: 0; padding: 0; list-style: none; }
.bento-wide li { padding: 12px 15px; border: 1px solid var(--line); border-radius: 999px; color: #cee1d7; background: rgba(255,255,255,.025); font-size: .86rem; font-weight: 710; }

.news { position: relative; background: #eef6f1; color: #0a1812; }
.news::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 14%, rgba(91, 241, 173, .22), transparent 25rem), radial-gradient(circle at 90% 90%, rgba(75, 110, 255, .12), transparent 30rem); }
.news .shell { position: relative; }
.news .kicker { color: #07894f; }
.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.news-heading > p { color: #64756c; }
.news-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; }
.news-card { position: relative; padding: 34px; border: 1px solid rgba(7, 30, 20, .11); border-radius: 26px; background: rgba(255,255,255,.73); box-shadow: 0 24px 70px rgba(23, 50, 36, .06); overflow: hidden; }
.news-featured { min-height: 520px; display: flex; flex-direction: column; justify-content: flex-start; background: #092319; color: var(--ink); }
.news-featured::after { content: ""; position: absolute; width: 400px; height: 400px; right: -180px; bottom: -230px; border-radius: 50%; border: 55px solid rgba(91, 241, 173, .14); }
.news-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 72px; color: #65746c; font-size: .76rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.news-topline span { padding: 7px 10px; border-radius: 999px; background: rgba(6, 137, 79, .11); color: #087b4a; }
.news-featured .news-topline { color: #9eb9aa; }
.news-featured .news-topline span { background: var(--accent); color: var(--accent-ink); }
.version { margin: 0 0 13px; color: #07894f; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.news-featured .version { color: var(--accent); }
.news-card h3 { max-width: 650px; margin: 0 0 18px; font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.05em; }
.news-card > p:not(.version) { max-width: 580px; margin: 0 0 28px; color: #687a70; line-height: 1.68; }
.news-featured > p:not(.version) { color: #aec4b8; }
.news-card a { width: fit-content; margin-top: auto; font-weight: 830; text-decoration: none; }
.news-card a:hover { color: #07894f; }
.news-featured a:hover { color: var(--accent); }
.release-mark { position: absolute; right: 28px; bottom: -52px; color: rgba(91, 241, 173, .07); font-size: 13rem; font-weight: 900; letter-spacing: -.12em; }
.news-rail { display: grid; gap: 18px; }
.launch-card { min-height: 390px; display: flex; flex-direction: column; }
.launch-card .news-topline { margin-bottom: 35px; }
.launch-card h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.minor-release { padding: 25px 28px; border: 1px solid rgba(7, 30, 20, .11); border-radius: 20px; background: rgba(255,255,255,.54); }
.minor-release div { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 9px; }
.minor-release time { color: #65756d; font-size: .8rem; text-transform: uppercase; }
.minor-release p { margin: 0; color: #65756d; line-height: 1.55; }

.languages { padding-bottom: 60px; }
.languages-panel { min-height: 480px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 80px; padding: 76px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(140deg, rgba(15, 46, 33, .88), rgba(8, 23, 17, .9)); }
.languages-panel > div:first-child > p:last-child { max-width: 520px; color: var(--muted); font-size: 1.02rem; line-height: 1.68; }
.language-cloud { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 12px; }
.language-cloud span { padding: 15px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); font-size: clamp(.85rem, 1.5vw, 1rem); font-weight: 730; }
.language-cloud span:nth-child(2), .language-cloud span:nth-child(5), .language-cloud span:nth-child(8) { color: var(--accent); transform: translateY(-8px); }

.final-cta { padding-top: 60px; }
.final-card { min-height: 440px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; padding: 70px; border-radius: 34px; background: linear-gradient(125deg, #60efae 0%, #78f0c1 42%, #6c96ff 120%); color: #06140d; overflow: hidden; }
.final-card .kicker { color: #095534; }
.final-copy { justify-self: end; max-width: 390px; }
.final-copy p { margin: 0 0 26px; color: #234e3b; font-size: 1.05rem; line-height: 1.65; }
.final-card .button-primary { background: #071710; color: #effff6; box-shadow: none; }
.final-card .button-primary:hover { background: #173b2b; }

footer { padding: 60px 0 72px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 36px; align-items: start; padding-top: 34px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { color: var(--ink); }
.footer-inner p { margin: 0; font-size: .9rem; line-height: 1.6; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { width: fit-content; color: #d2e1da; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-inner small { justify-self: end; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-art { max-width: 620px; width: 100%; margin: 0 auto; }
  .split-heading, .languages-panel, .final-card { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-row: auto; }
  .bento-wide { grid-column: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .languages-panel { gap: 50px; padding: 54px; }
  .final-card { gap: 44px; }
  .final-copy { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner small { justify-self: start; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-inner { min-height: 76px; }
  .brand span { font-size: .9rem; }
  .brand img { width: 34px; height: 34px; }
  .header-cta { font-size: .82rem; }
  .hero { padding: 122px 0 62px; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.5rem); }
  .hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-art { min-height: 470px; }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 325px; height: 325px; }
  .art-card { width: 300px; min-height: 405px; padding: 26px; border-radius: 34px; }
  .art-icon { width: 150px; height: 150px; margin-bottom: 30px; }
  .pill-left { left: -7px; top: 20%; }
  .pill-right { right: -5px; bottom: 15%; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid > div:first-child { border-left: 0; }
  .section { padding: 84px 0; }
  .split-heading { gap: 25px; }
  .bento { min-height: 290px; padding: 26px; }
  .bento-large { min-height: 460px; }
  .bento-wide { display: block; }
  .bento-wide ul { justify-content: flex-start; margin-top: 30px; }
  .news-heading { display: block; }
  .news-heading > p { margin-top: 20px; }
  .news-card { padding: 27px; }
  .news-featured { min-height: 500px; }
  .minor-release div { display: block; }
  .minor-release strong { display: block; margin-top: 7px; }
  .languages-panel { padding: 34px 26px; border-radius: 26px; }
  .language-cloud { justify-content: flex-start; }
  .language-cloud span:nth-child(n) { transform: none; }
  .final-card { min-height: 500px; padding: 38px 27px; border-radius: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-two { animation: none; }
  .button-primary { transition: none; }
}
