
:root {
  --bg: #07080c;
  --bg-deep: #050609;
  --surface: #0d0f16;
  --line: rgba(255, 255, 255, 0.09);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #f5f6fa;
  --muted: #9297a8;
  --violet: #8068ff;
  --violet-light: #a696ff;
  --green: #7be6a7;
  --container: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: rgba(128, 104, 255, 0.38); color: white; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }

.noise { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(7, 8, 12, .72); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 67px; height: 67px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(255,255,255,.08)); }
.desktop-nav { display: flex; align-items: center; gap: 31px; }
.desktop-nav a { position: relative; padding: 28px 0; color: #aeb2c0; font-size: 12px; transition: color .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 1px; background: var(--violet-light); transition: right .2s ease; }
.desktop-nav a:hover { color: white; }
.desktop-nav a:hover::after { right: 0; }
.nav-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line-bright); border-radius: 8px; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 700; transition: .2s ease; }
.nav-button:hover { border-color: rgba(128, 104, 255, .55); background: rgba(128, 104, 255, .1); }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 860px; padding: 150px 0 98px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black 20%, transparent 92%); }
.grid-glow { position: absolute; width: 650px; height: 650px; top: -235px; right: 3%; border-radius: 50%; background: var(--violet); filter: blur(135px); opacity: .18; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 78px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #a9adbb; font-size: 10px; font-weight: 750; letter-spacing: .2em; }
.eyebrow > i { width: 25px; height: 1px; background: var(--violet-light); box-shadow: 0 0 12px rgba(128, 104, 255, .8); }
h1 { margin: 23px 0 24px; max-width: 720px; font-size: clamp(51px, 6.7vw, 88px); line-height: .98; letter-spacing: -.06em; }
h1 span, .about-title h2 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.53); }
.hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; gap: 11px; margin-top: 34px; }
.button { display: inline-flex; min-height: 49px; padding: 0 20px; justify-content: center; align-items: center; gap: 12px; border-radius: 9px; font-size: 12px; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, #846cff, #6d50f3); box-shadow: 0 13px 38px rgba(128, 104, 255, .22); }
.button.primary:hover { background: linear-gradient(135deg, #947fff, #7d62fa); }
.button.secondary { border: 1px solid var(--line-bright); background: rgba(255,255,255,.035); color: #d8dbe4; }
.button.secondary:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.26); }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 43px; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; color: #777c8d; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-points i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(123, 230, 167, .7); }

.code-card { position: relative; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: linear-gradient(145deg, rgba(21,23,34,.96), rgba(9,10,15,.98)); box-shadow: 0 38px 95px rgba(0,0,0,.45), 0 0 75px rgba(128, 104, 255, .08); overflow: hidden; transform: perspective(1100px) rotateY(-5deg) rotateX(2deg); }
.code-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.07), transparent 34%); }
.code-header, .code-footer { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: #757a8b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .08em; }
.code-header { border-bottom: 1px solid rgba(255,255,255,.065); }
.code-footer { border-top: 1px solid rgba(255,255,255,.065); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #30333e; }
.code-status { display: inline-flex; align-items: center; gap: 7px; color: #79d79c; }
.code-status i { width: 5px; height: 5px; border-radius: 50%; background: #78e39f; box-shadow: 0 0 9px #78e39f; }
.code-card pre { position: relative; margin: 0; min-height: 372px; padding: 39px 30px; overflow: auto; }
.code-card code { color: #d5d8e3; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.95; }
.comment { color: #565c6d; }
.keyword { color: #b29fff; }
.function { color: #7ab4ff; }
.string { color: #7de3a6; }

.product-section, .service-section, .about-section, .history-section, .discord-section { padding: 116px 0; border-bottom: 1px solid var(--line); }
.product-section { background: var(--bg-deep); }
.service-section { background: #08090d; }
.section-head { display: grid; grid-template-columns: 1fr .68fr; align-items: end; gap: 60px; margin-bottom: 54px; }
.section-head.compact { grid-template-columns: 1fr; }
.section-head h2, .about-title h2, .contact-box h2 { margin: 15px 0 0; font-size: clamp(37px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.section-head > p { margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.85; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-card { position: relative; min-height: 390px; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(128,104,255,.36); background: #11131c; }
.product-top { display: flex; justify-content: space-between; color: #646979; font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.product-top span:first-child { color: var(--violet-light); }
.product-visual { position: relative; height: 170px; margin: 25px 0; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.055); border-radius: 10px; background: #090a0f; }
.product-visual::before { content: ""; position: absolute; width: 165px; height: 165px; border-radius: 50%; background: var(--card-accent, #8068ff); filter: blur(65px); opacity: .25; }
.product-visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 27px 27px; }
.product-visual div { width: 88px; height: 88px; z-index: 1; border: 1px solid color-mix(in srgb, var(--card-accent, #8068ff) 55%, transparent); border-radius: 14px; transform: rotate(45deg); box-shadow: inset 0 0 28px color-mix(in srgb, var(--card-accent, #8068ff) 14%, transparent), 0 0 35px color-mix(in srgb, var(--card-accent, #8068ff) 10%, transparent); }
.product-visual span { position: absolute; z-index: 2; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.product-card.blue { --card-accent: #4c8dff; }
.product-card.rose { --card-accent: #e26092; }
.product-card.amber { --card-accent: #efa84e; }
.product-card.green { --card-accent: #63dc92; }
.product-card.cyan { --card-accent: #47cad2; }
.product-card h3 { margin: 0 0 11px; font-size: 18px; letter-spacing: -.02em; }
.product-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.free-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 19px; margin-top: 14px; padding: 20px 22px; border: 1px solid rgba(123,230,167,.17); border-radius: 12px; background: rgba(123,230,167,.035); }
.free-badge { display: grid; place-items: center; width: 48px; height: 30px; border-radius: 5px; background: rgba(123,230,167,.12); color: var(--green); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.free-strip div { display: flex; flex-direction: column; gap: 4px; }
.free-strip strong { font-size: 12px; }
.free-strip div span { color: #747a8a; font-size: 10px; }
.free-strip > a { color: #b9becb; font-size: 11px; font-weight: 700; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 305px; padding: 29px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: .25s ease; }
.service-card::after { content: ""; position: absolute; right: -100px; bottom: -145px; width: 245px; height: 245px; border-radius: 50%; background: var(--violet); filter: blur(82px); opacity: 0; transition: opacity .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(128,104,255,.34); }
.service-card:hover::after { opacity: .12; }
.service-number { position: absolute; top: 25px; right: 26px; color: #4e5362; font-size: 10px; letter-spacing: .14em; }
.service-kicker { display: block; margin-top: 52px; color: var(--violet-light); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.service-card h3 { margin: 15px 0 13px; font-size: 20px; letter-spacing: -.025em; }
.service-card p { max-width: 310px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.card-arrow { position: absolute; right: 27px; bottom: 25px; z-index: 1; color: #565b6a; font-size: 17px; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 105px; }
.about-title h2 { max-width: 520px; }
.about-copy { padding-top: 27px; }
.about-copy p { margin: 0 0 19px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.about-copy .lead { color: #d3d6df; font-size: 17px; line-height: 1.7; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--line); overflow: hidden; }
.about-facts div { min-height: 126px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); }
.about-facts strong { color: #eeeefe; font-size: 23px; letter-spacing: -.03em; }
.about-facts span { color: #717686; font-size: 9px; line-height: 1.55; text-transform: uppercase; letter-spacing: .1em; }

.history-section { background: #08090d; }
.history-head { margin-bottom: 44px; }
.history-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 14px; align-items: stretch; }
.timeline { display: grid; gap: 10px; }
.timeline-item { display: grid; grid-template-columns: auto 1fr; gap: 23px; align-items: start; min-height: 145px; padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); transition: transform .22s ease, border-color .22s ease; }
.timeline-item:hover { transform: translateX(4px); border-color: rgba(128,104,255,.34); }
.timeline-marker { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(128,104,255,.28); border-radius: 10px; background: rgba(128,104,255,.09); color: var(--violet-light); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .08em; }
.timeline-label { color: var(--violet-light); font-size: 8px; font-weight: 800; letter-spacing: .19em; }
.timeline-item h3 { margin: 9px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.timeline-item p { max-width: 560px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.team-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; }
.owner-card { position: relative; min-height: 220px; padding: 23px; border: 1px solid rgba(128,104,255,.3); border-radius: 14px; background: linear-gradient(145deg, rgba(128,104,255,.12), rgba(13,15,22,.98) 52%); overflow: hidden; }
.owner-card::after { content: ""; position: absolute; width: 220px; height: 220px; top: -145px; right: -125px; border-radius: 50%; background: var(--violet); filter: blur(70px); opacity: .2; }
.owner-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #6f7484; font-size: 8px; font-weight: 750; letter-spacing: .18em; }
.owner-top span:first-child { color: var(--violet-light); }
.owner-avatar { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 22px 0 17px; border: 1px solid rgba(128,104,255,.42); border-radius: 14px; background: linear-gradient(135deg, #856eff, #5d43d8); box-shadow: 0 13px 35px rgba(128,104,255,.2); font-size: 16px; font-weight: 850; letter-spacing: .05em; }
.owner-role { color: var(--violet-light); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.owner-card h3 { margin: 9px 0 8px; font-size: 24px; letter-spacing: -.04em; }
.owner-alias { display: block; margin: -3px 0 9px; color: #707687; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.owner-card > p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.owner-skills { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.owner-skills span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.025); color: #858a9a; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.owner-card.secondary { border-color: rgba(76,141,255,.24); background: linear-gradient(145deg, rgba(76,141,255,.09), rgba(13,15,22,.98) 52%); }
.owner-card.secondary::after { background: #4c8dff; opacity: .14; }
.owner-card.secondary .owner-avatar { border-color: rgba(76,141,255,.4); background: linear-gradient(135deg, #4c8dff, #315db3); box-shadow: 0 13px 35px rgba(76,141,255,.17); }
.owner-card.secondary .owner-role, .owner-card.secondary .owner-top span:first-child { color: #80aeff; }

.legacy-archive { margin-top: 14px; padding: 25px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: #0b0c12; }
.legacy-copy { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.legacy-badge { display: grid; place-items: center; min-width: 58px; height: 31px; padding: 0 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: #858a98; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.legacy-copy h3 { margin: 0 0 7px; font-size: 18px; letter-spacing: -.02em; }
.legacy-copy p, .legacy-operations { margin: 0; color: #777c8c; font-size: 11px; line-height: 1.7; }
.legacy-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.legacy-tags span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 6px; background: rgba(255,255,255,.018); color: #666b7a; font-size: 8px; letter-spacing: .04em; }
.legacy-operations { margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.06); }

.discord-section { background: #06070a; }
.discord-grid { display: grid; grid-template-columns: 1fr 390px; gap: 88px; align-items: center; }
.discord-copy h2 { margin: 15px 0 20px; max-width: 690px; font-size: clamp(39px, 5.2vw, 61px); line-height: 1.04; letter-spacing: -.052em; }
.discord-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.discord-actions { display: flex; align-items: center; gap: 20px; margin-top: 31px; }
.discord-button { background: linear-gradient(135deg, #6672f2, #4e5bd8); box-shadow: 0 13px 38px rgba(88,101,242,.2); }
.discord-button:hover { background: linear-gradient(135deg, #7380ff, #5c69e8); }
.guild-id { display: flex; flex-direction: column; gap: 5px; color: #6e7383; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .06em; }
.guild-id strong { color: #a1a6b5; font-family: Inter, ui-sans-serif, sans-serif; font-size: 7px; letter-spacing: .18em; }
.discord-points { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 39px; }
.discord-points span { display: inline-flex; align-items: center; gap: 7px; color: #727788; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.discord-points i { width: 5px; height: 5px; border-radius: 50%; background: #6571f2; box-shadow: 0 0 10px rgba(88,101,242,.75); }
.discord-widget-shell { width: 100%; padding: 13px; border: 1px solid rgba(88,101,242,.28); border-radius: 16px; background: linear-gradient(145deg, rgba(88,101,242,.09), rgba(13,15,22,.98)); box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.discord-widget-head { display: flex; justify-content: space-between; align-items: center; padding: 3px 4px 13px; color: #6f7484; font-size: 8px; font-weight: 750; letter-spacing: .15em; }
.discord-widget-head span:last-child { display: inline-flex; align-items: center; gap: 7px; color: #7f88f7; }
.discord-widget-head i { width: 5px; height: 5px; border-radius: 50%; background: #6d78f4; box-shadow: 0 0 9px rgba(88,101,242,.8); }
.discord-widget-shell iframe { display: block; width: 100%; height: 500px; border: 0; border-radius: 10px; background: #11131a; }
.discord-consent-placeholder { min-height: 500px; padding: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 10px; background: #11131a; }
.discord-consent-placeholder .consent-lock { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 19px; border: 1px solid rgba(88,101,242,.34); border-radius: 50%; background: rgba(88,101,242,.1); color: #7f88f7; font-size: 24px; }
.discord-consent-placeholder strong { font-size: 15px; }
.discord-consent-placeholder p { max-width: 260px; margin: 11px 0 21px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.discord-consent-placeholder > a { margin-top: 14px; color: #777d90; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.discord-consent-placeholder button, .cookie-actions button, .legal-link { cursor: pointer; border: 0; }

.contact-section { padding: 87px 0; background: var(--bg-deep); }
.contact-box { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 49px; border: 1px solid rgba(128,104,255,.26); border-radius: 17px; background: linear-gradient(135deg, rgba(128,104,255,.11), rgba(255,255,255,.022)); overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -160px; top: -210px; width: 380px; height: 380px; border-radius: 50%; background: var(--violet); filter: blur(100px); opacity: .16; }
.contact-box h2 { font-size: clamp(35px, 4.2vw, 48px); }
.contact-box p { max-width: 650px; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.contact-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; min-width: 184px; }

.contact-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.contact-modal:target { display: flex; }
.contact-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 8, .84); backdrop-filter: blur(12px); }
.contact-modal-card { position: relative; z-index: 1; width: min(100%, 620px); padding: 38px; border: 1px solid rgba(128,104,255,.34); border-radius: 18px; background: linear-gradient(145deg, #151722, #0a0b10 62%); box-shadow: 0 35px 120px rgba(0,0,0,.65), 0 0 70px rgba(128,104,255,.11); }
.contact-modal-card h2 { margin: 18px 44px 12px 0; font-size: clamp(30px, 5vw, 43px); line-height: 1.06; letter-spacing: -.045em; }
.contact-modal-card > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.contact-modal-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-bright); border-radius: 9px; color: #b5bac8; font-size: 24px; line-height: 1; transition: background .2s ease, color .2s ease; }
.contact-modal-close:hover { background: rgba(255,255,255,.07); color: white; }
.contact-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 28px; }
.contact-option { position: relative; min-height: 125px; padding: 21px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; border: 1px solid var(--line-bright); border-radius: 12px; background: rgba(255,255,255,.028); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.contact-option:hover { transform: translateY(-3px); border-color: rgba(128,104,255,.5); background: rgba(128,104,255,.09); }
.contact-option span { color: var(--violet-light); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.contact-option strong { max-width: 205px; font-size: 13px; line-height: 1.45; }
.contact-option > i { position: absolute; top: 19px; right: 20px; color: #777c8d; font-style: normal; }
.contact-option.discord { border-color: rgba(88,101,242,.3); }
.contact-option.discord span { color: #7f88f7; }

footer { padding: 29px 0; border-top: 1px solid var(--line); background: #06070a; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner .brand-logo { width: 82px; height: 82px; }
.footer-inner p, .back-top { color: #5e6372; font-size: 10px; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 17px; }
.footer-links a, .legal-link { padding: 0; background: none; color: #737888; font-size: 10px; transition: color .2s ease; }
.footer-links a:hover, .legal-link:hover { color: white; }
.back-top { transition: color .2s ease; }
.back-top:hover { color: white; }

.cookie-banner { position: fixed; z-index: 300; left: 50%; bottom: 18px; width: min(calc(100% - 36px), 940px); padding: 21px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; transform: translateX(-50%); border: 1px solid rgba(128,104,255,.36); border-radius: 15px; background: rgba(13,15,22,.97); box-shadow: 0 25px 90px rgba(0,0,0,.65), 0 0 60px rgba(128,104,255,.1); backdrop-filter: blur(18px); }
.cookie-copy strong { display: block; margin-bottom: 7px; font-size: 14px; }
.cookie-copy p { max-width: 610px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.cookie-copy a { color: #b1a5ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 9px; }
.cookie-actions .button { white-space: nowrap; }

.legal-page { min-height: 100vh; background: var(--bg-deep); }
.legal-hero { position: relative; padding: 154px 0 72px; overflow: hidden; border-bottom: 1px solid var(--line); background: #08090d; }
.legal-hero .grid-glow { top: -390px; right: 10%; opacity: .13; }
.legal-hero .container { position: relative; }
.legal-hero h1 { margin: 20px 0 0; font-size: clamp(49px, 8vw, 82px); }
.legal-content { padding-top: 72px; padding-bottom: 92px; }
.legal-content section { max-width: 850px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; }
.legal-content h2 { margin: 0 0 15px; font-size: 22px; letter-spacing: -.025em; }
.legal-content p, .legal-content address { margin: 0 0 12px; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.85; }
.legal-content strong { color: #e9eaf0; }
.legal-content a { color: #b1a5ff; text-decoration: underline; text-underline-offset: 3px; }
.legal-content code { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.03); color: #c7c9d3; font-size: 11px; }
.legal-note { margin-top: 31px !important; color: #5f6474 !important; font-size: 10px !important; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .code-card { max-width: 650px; transform: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .section-head > p { max-width: 620px; }
  .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .about-copy { padding-top: 0; }
  .history-layout { grid-template-columns: 1fr; }
  .discord-grid { grid-template-columns: 1fr; gap: 45px; }
  .discord-widget-shell { max-width: 390px; }
  .contact-box { align-items: flex-start; flex-direction: column; }
  .contact-actions { flex-direction: row; }
  .contact-modal-card { padding: 34px; }
  .cookie-banner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .desktop-nav, .nav-button { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 18px; height: 1px; background: white; transition: .2s ease; }
  .mobile-nav[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-nav[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav > div { position: fixed; left: 0; right: 0; top: 76px; padding: 18px 20px 23px; display: flex; flex-direction: column; background: #090a0f; border-bottom: 1px solid var(--line); box-shadow: 0 25px 60px rgba(0,0,0,.5); }
  .mobile-nav > div a { padding: 11px 4px; color: #bec2ce; font-size: 13px; }
  .hero { padding: 124px 0 74px; }
  .hero-grid { gap: 55px; }
  h1 { font-size: clamp(45px, 14vw, 63px); }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .hero-points { gap: 14px; }
  .code-card pre { min-height: 340px; padding: 29px 20px; }
  .code-card code { font-size: 10px; }
  .product-section, .service-section, .about-section, .history-section, .discord-section { padding: 82px 0; }
  .product-grid, .service-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 375px; }
  .free-strip { grid-template-columns: auto 1fr; }
  .free-strip > a { grid-column: 1 / -1; padding-top: 4px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div { min-height: 100px; }
  .timeline-item { grid-template-columns: 1fr; }
  .owner-card { min-height: auto; padding: 24px; }
  .legacy-copy { grid-template-columns: 1fr; }
  .discord-actions { flex-direction: column; align-items: flex-start; }
  .contact-section { padding: 61px 0; }
  .contact-box { padding: 31px 23px; }
  .contact-modal { padding: 14px; }
  .contact-modal-card { padding: 29px 21px 21px; }
  .contact-modal-actions { grid-template-columns: 1fr; }
  .contact-option { min-height: 105px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .cookie-banner { bottom: 10px; width: calc(100% - 20px); padding: 18px; }
  .cookie-actions { width: 100%; flex-direction: column; }
  .cookie-actions .button { width: 100%; }
  .legal-hero { padding: 130px 0 55px; }
  .legal-content { padding-top: 52px; padding-bottom: 70px; }
  .legal-content section { padding: 24px 0; }
}

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