/* Loaded only by index.html. Shared navigation and application pages keep their styles. */
html body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body .page-bg { padding-bottom: 0; background: var(--kyro-bg); }
body .page-bg::before { display: none; }
body .content-wrap { width: 100%; max-width: none; padding: 0; animation: none; }
body .flash-stack { width: min(1160px, calc(100% - 48px)); margin: 24px auto; }

#homepage { --home-width: 1160px; color: var(--kyro-text); }
#homepage :is(h1, h2, h3, p) { margin-top: 0; }
#homepage :is(h1, h2, h3) { text-wrap: balance; }
#homepage p { color: var(--kyro-muted); line-height: 1.7; }
body :is(a, button, select, summary):focus-visible { outline: 3px solid var(--kyro-cyan); outline-offset: 6px; }
#homepage .hero-section { position: relative; padding: 104px 0 32px; overflow: hidden; }
#homepage .hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 65%, rgba(37,99,235,.16), transparent 65%); }
#homepage .hero-inner { position: relative; width: min(1200px, calc(100% - 48px)); margin: auto; }
#homepage .hero-copy { text-align: center; max-width: 1100px; margin: auto; }
#homepage .hero-eyebrow { color: var(--kyro-cyan); font-size: .82rem; font-weight: 700; letter-spacing: .22em; margin-bottom: 26px; }
#homepage .hero-title { font-size: clamp(2.7rem, 6.1vw, 5.7rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 750; margin-bottom: 30px; }
#homepage .hero-subtitle { max-width: 690px; margin: 0 auto 32px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
#homepage .hero-buttons { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
#homepage .hero-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border: 1px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 650; line-height: 1.4; text-align: center; transition: background .2s ease, transform .2s ease; }
#homepage .hero-button:hover { transform: translateY(-2px); }
#homepage .hero-primary { background: linear-gradient(135deg, var(--kyro-blue), #1d4ed8); color: #fff; }
#homepage .hero-primary:hover { background: #1d4ed8; }
#homepage .hero-secondary { color: #dbeafe; border-color: rgba(148,163,184,.32); background: rgba(15,23,42,.45); }
#homepage .hero-secondary:hover { background: rgba(37,99,235,.16); }

/* An abstract network illustration, not a connection status or product screenshot. */
#homepage .network-visual { position: relative; height: 410px; max-width: 1000px; margin: 48px auto 0; isolation: isolate; }
#homepage .network-orbit { position: absolute; left: 50%; top: 46%; border: 1px solid rgba(96,165,250,.19); border-radius: 50%; transform: translate(-50%, -50%) rotate(-13deg); }
#homepage .network-orbit--outer { width: 90%; height: 76%; }
#homepage .network-orbit--inner { width: 65%; height: 55%; border-color: rgba(103,232,249,.24); transform: translate(-50%, -50%) rotate(13deg); }
#homepage .network-path { position: absolute; top: 46%; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #60a5fa 20%, #67e8f9 50%, #60a5fa 80%, transparent); }
#homepage .network-core { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); width: 220px; height: 154px; border-radius: 30px; border: 1px solid rgba(103,232,249,.4); background: linear-gradient(145deg, #15294a, #0b1220); box-shadow: 0 30px 75px rgba(2,6,23,.7), 0 0 90px rgba(37,99,235,.15), inset 0 1px rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
#homepage .network-wordmark { font-size: 2.8rem; font-weight: 750; letter-spacing: .13em; padding-left: .13em; color: #f8fafc; }
#homepage .network-protocol { color: var(--kyro-cyan); font-size: .82rem; letter-spacing: .12em; }
#homepage .network-node { position: absolute; top: 46%; width: 66px; height: 90px; transform: translate(-50%, -50%) rotate(-8deg); background: #0b172b; border: 1px solid rgba(96,165,250,.5); border-radius: 13px; box-shadow: 0 16px 40px rgba(2,6,23,.7); }
#homepage .network-node::before { content: ""; position: absolute; inset: 8px 7px 18px; border: 1px solid rgba(103,232,249,.18); border-radius: 5px; background: linear-gradient(145deg, rgba(37,99,235,.25), transparent); }
#homepage .network-node span { position: absolute; bottom: 7px; left: 45%; width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; }
#homepage .network-node--left { left: 15%; }
#homepage .network-node--right { left: 85%; transform: translate(-50%, -50%) rotate(8deg); }

#homepage .section-block { padding: 112px 0; scroll-margin-top: 100px; }
#homepage .section-dark { background: var(--kyro-bg-soft); }
#homepage .section-darker { background: var(--kyro-bg); }
#homepage .section-title { width: min(950px, calc(100% - 48px)); margin: 0 auto 28px; text-align: center; font-size: clamp(2.1rem, 4.5vw, 4.1rem); line-height: 1.1; letter-spacing: -.045em; }
#homepage .section-subtitle { width: min(690px, calc(100% - 48px)); margin: 0 auto 52px; text-align: center; font-size: 1.12rem; }
#homepage :is(.feature-grid, .landing-container, .faq-grid) { width: min(var(--home-width), calc(100% - 48px)); margin-left: auto; margin-right: auto; }
#homepage .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
#homepage .info-card { min-width: 0; }
#homepage .info-card h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 16px; }
#homepage .info-card p { margin-bottom: 0; }
#homepage #benefits { padding-bottom: 0; }
#homepage #benefits .feature-grid { display: block; }
#homepage .benefit-story { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding: 76px 0; }
#homepage .benefit-story + .benefit-story { border-top: 1px solid var(--kyro-border); }
#homepage .benefit-story:nth-child(even) .story-art { order: 2; }
#homepage .story-copy h3 { font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.12; }
#homepage .story-copy p { font-size: 1.12rem; max-width: 440px; }
#homepage .story-art { position: relative; min-height: 240px; display: grid; place-items: center; overflow: hidden; }
#homepage .story-number { font-size: clamp(7rem, 15vw, 13rem); font-weight: 750; line-height: 1; letter-spacing: -.08em; color: #60a5fa; opacity: .85; }
#homepage .story-line { position: absolute; width: 82%; height: 74%; border: 1px solid rgba(103,232,249,.35); border-radius: 50%; transform: rotate(-26deg); }
#homepage .story-line::after { content: ""; position: absolute; inset: 20px -16px; border: 1px solid rgba(96,165,250,.16); border-radius: 50%; transform: rotate(45deg); }
#homepage .setup-steps { list-style: none; padding: 16px 0 0; counter-reset: setup; }
#homepage .setup-steps li { counter-increment: setup; padding-top: 24px; border-top: 1px solid rgba(96,165,250,.3); }
#homepage .setup-steps li::before { content: "0" counter(setup); display: block; margin-bottom: 30px; color: var(--kyro-cyan); font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; }
#homepage #preview .feature-grid { padding-top: 16px; gap: 0; }
#homepage #preview .info-card { padding: 8px 32px 8px 0; }
#homepage #preview .info-card + .info-card { border-left: 1px solid var(--kyro-border); padding-left: 32px; }
#homepage .preview-note { margin-top: 48px; margin-bottom: 0; color: var(--kyro-muted-2); font-size: .9rem; }
#homepage .home-text-link { color: #93c5fd; text-decoration: underline; text-underline-offset: 6px; padding: 8px 0; }
#homepage #transparency > .hero-buttons { width: calc(100% - 48px); margin: auto; }
#homepage .home-news { margin-top: 64px; max-width: 800px; }
#homepage .home-news article { padding: 24px 0; border-top: 1px solid var(--kyro-border); }
#homepage .home-news h4 { margin: 0 0 8px; }
#homepage .home-news time { display: block; margin-top: 12px; font-size: .9rem; color: var(--kyro-muted-2); }
#homepage .home-plans { margin-top: 56px; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
#homepage .home-plans .info-card { display: flex; flex-direction: column; align-items: flex-start; padding: 38px 32px; border: 1px solid var(--kyro-border); border-radius: 26px; background: var(--kyro-bg); }
#homepage .home-plans h3 { color: #dbeafe; font-size: 1.12rem; margin-bottom: 24px; }
#homepage .home-plans h3 + p { color: #f8fafc; font-size: clamp(1.5rem, 2.35vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.38; margin-bottom: 28px; }
#homepage .home-plans .plan-state { font-size: .94rem; color: #bae6fd; margin-bottom: 26px; }
#homepage .home-plans .hero-button { margin-top: auto; width: 100%; }
#homepage .home-plans .premium-plan { border-color: rgba(103,232,249,.42); background: linear-gradient(150deg, rgba(37,99,235,.13), #0b1220 65%); }
#homepage .plan-note { max-width: 900px; margin-top: 30px; margin-bottom: 0; font-size: .9rem; }
#homepage .faq-grid { max-width: 900px; margin-top: 50px; }
#homepage .faq-card { border-bottom: 1px solid var(--kyro-border); }
#homepage .faq-card:first-child { border-top: 1px solid var(--kyro-border); }
#homepage .faq-card summary { position: relative; padding: 26px 45px 26px 0; font-size: 1.15rem; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
#homepage .faq-card summary::-webkit-details-marker { display: none; }
#homepage .faq-card summary::after { content: "+"; position: absolute; right: 8px; top: 22px; color: var(--kyro-blue-light); font-size: 1.65rem; font-weight: 400; }
#homepage .faq-card[open] summary::after { content: "−"; }
#homepage .faq-card p { padding-right: 45px; margin: 0 0 28px; max-width: 800px; }
#homepage #get-started { padding: 140px 0; background: radial-gradient(ellipse at 50% 100%, rgba(37,99,235,.18), transparent 70%), var(--kyro-bg-soft); }
#homepage .cta-strip { width: min(900px, calc(100% - 48px)); margin: auto; text-align: center; }
#homepage .cta-strip h2 { font-size: clamp(2.8rem, 5.7vw, 5.1rem); line-height: 1.06; letter-spacing: -.05em; margin-bottom: 28px; }
#homepage .cta-strip p { max-width: 590px; margin: 0 auto 32px; font-size: 1.15rem; }
.scroll-top-button { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border: 1px solid rgba(96,165,250,.35); border-radius: 50%; color: #e0f2fe; background: #0f172a; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.scroll-top-button.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  #homepage .hero-section { padding-top: 80px; }
  #homepage .benefit-story { gap: 48px; }
  #homepage .home-plans .info-card { padding: 30px 24px; }
}
@media (max-width: 768px) {
  #homepage .hero-section { padding-top: 64px; }
  #homepage .section-block { padding: 76px 0; }
  #homepage .network-visual { height: 310px; margin-top: 36px; }
  #homepage .network-core { width: 180px; height: 130px; }
  #homepage .network-wordmark { font-size: 2.3rem; }
  #homepage .network-node { width: 46px; height: 66px; }
  #homepage .feature-grid { gap: 24px; }
  #homepage .benefit-story { padding: 52px 0; gap: 30px; }
  #homepage .story-art { min-height: 190px; }
  #homepage .home-plans { grid-template-columns: 1fr; max-width: 560px; }
  #homepage .home-plans h3 + p { font-size: 1.85rem; }
  #homepage #get-started { padding: 96px 0; }
}
@media (max-width: 600px) {
  #homepage .hero-title { letter-spacing: -.045em; }
  #homepage .hero-section { padding-top: 48px; }
  #homepage .hero-eyebrow { margin-bottom: 20px; }
  #homepage .hero-subtitle { font-size: 1.05rem; }
  #homepage .hero-buttons { gap: 12px; }
  #homepage .hero-copy .hero-buttons { flex-direction: column; }
  #homepage .hero-copy .hero-button { width: min(100%, 310px); }
  #homepage .network-visual { height: 245px; margin-top: 28px; }
  #homepage .network-core { width: 142px; height: 108px; border-radius: 22px; }
  #homepage .network-wordmark { font-size: 1.85rem; }
  #homepage .network-protocol { font-size: .68rem; }
  #homepage .network-node--left { left: 7%; }
  #homepage .network-node--right { left: 93%; }
  #homepage .section-block { padding: 64px 0; }
  #homepage .section-title { margin-bottom: 24px; }
  #homepage .section-subtitle { font-size: 1.02rem; margin-bottom: 36px; }
  #homepage .feature-grid, #homepage .benefit-story { grid-template-columns: 1fr; }
  #homepage .benefit-story { gap: 20px; padding: 40px 0 52px; }
  #homepage .benefit-story:nth-child(even) .story-art { order: initial; }
  #homepage .story-art { min-height: 170px; }
  #homepage .story-line { width: 70%; }
  #homepage .story-copy p { font-size: 1.05rem; }
  #homepage .setup-steps { gap: 34px; }
  #homepage .setup-steps li::before { margin-bottom: 16px; }
  #homepage #preview .info-card, #homepage #preview .info-card + .info-card { padding: 24px 0; border-left: 0; }
  #homepage #preview .info-card + .info-card { border-top: 1px solid var(--kyro-border); }
  #homepage .preview-note { margin-top: 24px; margin-bottom: 0; }
  #homepage .home-plans { margin-top: 36px; }
  #homepage .plan-note { margin-bottom: 0; }
  #homepage .faq-card summary { font-size: 1.05rem; padding-top: 22px; padding-bottom: 22px; }
  #homepage .faq-card p { padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
