/* ReadiCom homepage — framework-free, reference-matched responsive stylesheet. */
:root {
  color-scheme: dark;
  --background: #020b14;
  --surface: #04111d;
  --text: #f8fbff;
  --muted: #c7ced9;
  --cyan: #16c8f0;
  --lime: #a5ff57;
  --line: #102330;
  --gradient: linear-gradient(105deg, #079dff 3%, #19d6e5 51%, #a2ff4d 100%);
  --heading-font: "Manrope", Arial, sans-serif;
  --body-font: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--body-font); font-size: 16px; line-height: 1.45; }
button, input, video { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); letter-spacing: -.045em; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
::selection { background: #19d6e5; color: #00121c; }
.container { width: min(1280px, calc(100% - 92px)); margin-inline: auto; }
.wide-container { width: min(1312px, calc(100% - 60px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.anchor-target { height: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 20px; border-radius: 6px; background: var(--lime); color: #00121c; font-weight: 700; }
.skip-link:focus { top: 12px; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: #24cdec; text-transform: uppercase; font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .3em; }
.eyebrow span { color: #b2f696; }
sup { position: relative; top: -.2em; font-family: var(--body-font); font-size: .35em; line-height: 0; letter-spacing: 0; font-weight: 600; margin-left: 2px; color: #95f5b6; }

/* Header */
.site-header { position: relative; z-index: 10; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-family: var(--heading-font); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.065em; }
.brand img { width: 45px; height: 50px; object-fit: contain; mix-blend-mode: screen; }
.brand sup { top: -.55em; color: white; font-size: 9px; margin-left: 3px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 4.1vw, 54px); margin-left: auto; margin-right: auto; padding-left: 36px; font-size: 12px; }
.desktop-nav a, .footer-nav a { transition: color .18s ease; }
.desktop-nav a:hover, .footer-nav a:hover { color: #35dcec; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 13px; border: 0; border-radius: 999px; padding: 11px 26px; background: var(--gradient); color: #001521; font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 24px #10cce526; }
.button .icon { width: 18px; height: 18px; }
.button-outline { position: relative; min-height: 37px; padding: 8px 22px; color: white; border: 1.5px solid transparent; background: linear-gradient(var(--background), var(--background)) padding-box, var(--gradient) border-box; box-shadow: 0 0 16px #07bfe522; font-weight: 500; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: #020b14; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(430px, 40vw, 792px); padding-block: clamp(32px, 3.6vw, 64px); }
.hero-copy { position: relative; width: 46%; max-width: 580px; }
.hero .eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: .26em; }
.hero h1 { font-size: clamp(50px, 6.1vw, 86px); font-weight: 800; line-height: 1.03; letter-spacing: -.04em; margin-bottom: 12px; }
/* Static baseline: JS adds temporary native animations; no content is hidden in CSS. */
.hero-title-line { display: block; width: fit-content; max-width: 100%; }
.hero-subtitle { font-family: var(--heading-font); font-size: clamp(27px, 3.45vw, 43px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; }
.hero-description { margin-top: 16px; max-width: 445px; color: #d2dae4; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.vision-link { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; font-size: 12px; white-space: nowrap; }
.vision-link:hover { color: #4de6e8; }
.play-circle { display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid #b5ffff; border-radius: 50%; }
.play-circle .icon { width: 18px; height: 18px; margin-left: 1px; }
.hero-background { position: absolute; inset: 0; z-index: -1; display: block; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.art-caption { text-align: center; font-size: 9px; color: #b7cad7; line-height: 1.5; letter-spacing: .29em; text-transform: uppercase; }
.art-caption span { margin-inline: 13px; color: #668696; }
.hero-caption { position: absolute; bottom: 22px; left: 72%; z-index: 1; width: 40%; transform: translateX(-50%); text-shadow: 0 1px 8px #000; }

/* Ecosystem */
.ecosystem { padding-block: 96px; }
.ecosystem-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-inline: 16px 6px; margin-bottom: 48px; }
.ecosystem-intro .eyebrow { margin-bottom: 4px; }
.ecosystem h2 { font-size: clamp(24px, 3vw, 37px); line-height: 1.18; font-weight: 700; white-space: nowrap; }
.ecosystem-description { flex: 0 0 36%; max-width: 410px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.enterprise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.enterprise-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, #061423, #020a12 76%); transition: border-color .2s ease, transform .2s ease; }
.enterprise-card:hover { border-color: #1a7690; transform: translateY(-3px); }
.card-photo { position: relative; height: clamp(134px, 13.1vw, 181px); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #04101b); pointer-events: none; }
.card-body { position: relative; display: flex; flex-direction: column; min-height: 179px; padding: 0 18px 12px; }
.enterprise-card h3 { font-size: clamp(26px, 3vw, 37px); line-height: 1.18; font-weight: 800; white-space: nowrap; }
.name-group { color: #1ec9e4; }
.name-network { background: linear-gradient(105deg, #22cdef, #8cf5a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.name-world { background: linear-gradient(100deg, #1dcaeb, #b3f94e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-tagline { color: #eef5fc; font-size: 12px; line-height: 1.4; margin-top: 3px; min-height: 17px; }
.card-tagline-world { font-size: 10.5px; color: #bdeeff; }
.card-description { margin-top: 8px; margin-bottom: 12px; color: var(--muted); font-size: 13px; line-height: 1.43; }
.learn-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-start; color: #35def0; font-size: 13px; font-weight: 500; }
.learn-link .icon { width: 17px; height: 17px; }
.learn-link:hover { color: var(--lime); }

/* ReadiCulture */
.culture { display: grid; grid-template-columns: 53% 47%; background: radial-gradient(ellipse at 100% 100%, #0a2b4d 0%, #04111e 42%, #020b14 80%); }
.culture-photo { overflow: hidden; min-height: 277px; }
.culture-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.culture-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px 30px; }
.culture-copy .eyebrow { margin-bottom: 3px; }
.culture h2 { font-size: clamp(38px, 4.5vw, 60px); line-height: 1.17; font-weight: 800; }
.culture-subtitle { font-family: var(--heading-font); font-size: clamp(20px, 2.25vw, 28px); line-height: 1.35; letter-spacing: -.025em; margin-top: 1px; white-space: nowrap; }
.culture-description { margin-top: 10px; margin-bottom: 10px; color: var(--muted); font-size: 14px; line-height: 1.32; max-width: 550px; }
.culture .button { min-height: 42px; }

/* Contact — image plus live HTML, never a flattened screenshot section. */
.contact { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #163344; background: #04111d; }
.contact-art { position: absolute; inset: 0; z-index: -3; }
.contact-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #020b14 0%, #020b14 31%, #020b14ee 40%, #020b1480 50%, transparent 66%); }
.contact::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 23%; background: linear-gradient(transparent, #03234799); }
.contact-ribbon { display: none; }
.contact-inner { min-height: 0; display: flex; align-items: center; padding-block: 96px; }
.contact-copy { width: 44%; max-width: 535px; }
.contact .eyebrow { margin-bottom: 6px; }
.contact h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.13; font-weight: 600; letter-spacing: -.035em; }
.contact-copy > p:not(.eyebrow) { margin-top: 8px; margin-bottom: 10px; color: var(--muted); font-size: 13px; line-height: 1.34; }
.contact .button { min-height: 41px; }

/* Footer */
.site-footer { background: #020b14; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding-block: 12px; }
.footer-brand { font-size: 23px; gap: 7px; }
.footer-brand img { width: 35px; height: 40px; }
.footer-brand sup { font-size: 7px; }
.footer-nav { display: flex; gap: 32px; font-size: 11px; }
.social-links { display: flex; align-items: center; gap: 13px; margin-left: auto; }
.social-links :is(button, a) { display: grid; place-items: center; border: 0; padding: 4px; background: none; color: #eef4fa; transition: color .18s ease; }
.social-links :is(button, a):hover { color: #39dfea; }
.social-links .icon { width: 18px; height: 18px; }
.copyright { flex-shrink: 0; color: #a4afbe; font-size: 10px; line-height: 1.45; }
.no-script-note { padding: 12px 24px; text-align: center; color: var(--muted); font-size: 12px; }

/* Native dialogs provide focus containment, Escape close, and browser semantics. */
.info-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 38px; border: 1px solid #1d697e; border-radius: 18px; background: linear-gradient(140deg, #092038, #030e1a); color: var(--text); box-shadow: 0 24px 100px #0008; }
.info-dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.info-dialog .eyebrow { margin-bottom: 8px; padding-right: 25px; }
.info-dialog h2 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin-bottom: 14px; }
.info-dialog p:not(.eyebrow) { color: var(--muted); margin-bottom: 20px; }
.info-dialog .dialog-subtitle { color: white !important; font-size: 18px; }
.dialog-close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; padding: 5px; border: 1px solid #36546c; border-radius: 50%; background: #082034; }
.info-dialog video { display: block; width: 100%; max-height: 55vh; margin-bottom: 22px; border-radius: 8px; background: black; }
body:has(dialog[open]) { overflow: hidden; }

/* Tablet: preserve three cards where their content is still comfortably readable. */
@media (max-width: 1100px) {
  .ecosystem-intro { gap: 28px; }
  .ecosystem-description { flex-basis: 36%; }
  .footer-inner { gap: 18px; }
  .footer-nav { gap: 27px; }
}
@media (min-width: 1400px) {
  .ecosystem { padding-block: 128px; }
  .card-body { padding: 4px 24px 22px; min-height: 210px; }
  .card-tagline { font-size: 14px; }
  .card-tagline-world { font-size: 12px; }
  .card-description { font-size: 15px; }
  .culture-photo { min-height: 350px; }
  .culture-copy { padding: 30px 44px; }
  .culture-description { font-size: 16px; line-height: 1.45; }
  .contact-inner { padding-block: 128px; }
  .contact-copy > p:not(.eyebrow) { font-size: 15px; }
}
@media (max-width: 920px) {
  .container { width: calc(100% - 48px); }
  .wide-container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; }
  .brand { font-size: 25px; }
  .brand img { width: 38px; height: 44px; }
  .desktop-nav { gap: 20px; padding-left: 0; font-size: 11px; }
  .header-connect { padding-inline: 16px; }
  .hero-inner { min-height: 420px; padding-block: 30px; }
  .hero-copy { width: 48%; }
  .hero h1 { font-size: clamp(43px, 5.9vw, 54px); }
  .hero-subtitle { font-size: 27px; }
  .hero-description { font-size: 15px; line-height: 1.45; }
  .art-caption { font-size: 8px; letter-spacing: .18em; }
  .art-caption span { margin-inline: 6px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { padding-inline: 18px; font-size: 12px; }
  .vision-link { font-size: 11px; }
  .ecosystem-intro { padding-inline: 4px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .ecosystem-description { max-width: 610px; font-size: 13px; }
  .ecosystem h2 { font-size: 29px; white-space: normal; }
  .enterprise-grid { gap: 12px; }
  .enterprise-card h3 { font-size: 24px; }
  .card-body { padding-inline: 14px; }
  .card-tagline { font-size: 11px; min-height: 31px; }
  .card-tagline-world { font-size: 10px; }
  .card-description { font-size: 12px; }
  .culture { grid-template-columns: 48% 52%; }
  .culture-copy { padding: 25px 24px; }
  .culture h2 { font-size: 38px; }
  .culture-subtitle { font-size: 20px; white-space: normal; }
  .culture-description { font-size: 13px; line-height: 1.4; }
  .contact-copy { width: 52%; }
  .footer-inner { flex-wrap: wrap; gap: 14px 24px; padding-block: 18px; }
  .footer-nav { margin-left: auto; gap: 25px; }
  .social-links { margin-left: 0; }
  .copyright { margin-left: auto; }
}

/* Mobile: native disclosure menu, stacked hero/cards, full-width artwork. */
@media (max-width: 700px) {
  .container, .wide-container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { font-size: 25px; }
  .brand img { width: 36px; height: 43px; }
  .desktop-nav, .header-connect { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { display: flex; align-items: center; gap: 7px; list-style: none; padding: 9px 11px; border: 1px solid #1d546c; border-radius: 9px; cursor: pointer; font-size: 12px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; right: 20px; left: 20px; top: 68px; display: flex; flex-direction: column; padding: 12px; border: 1px solid #255976; border-radius: 12px; background: #061725; box-shadow: 0 20px 50px #0008; }
  .mobile-menu nav a { padding: 12px; font-size: 15px; }
  .mobile-menu nav a:hover { background: #0a2a40; border-radius: 6px; }
  .hero-inner { display: block; min-height: 0; padding-block: 28px 12px; }
  .hero-copy { width: 100%; max-width: 540px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .22em; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(42px, 10.5vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 10px; }
  .hero-subtitle { font-size: clamp(23px, 5.7vw, 33px); white-space: normal; margin-top: 0; }
  .hero-description { margin-top: 14px; max-width: 540px; font-size: 15px; line-height: 1.5; }
  .hero-actions { gap: 15px; margin-top: 20px; }
  .hero-actions .button { min-height: 44px; padding-inline: 21px; }
  .vision-link { font-size: 12px; }
  /* Only the portrait's empty upper space overlaps the copy; its R and Earth remain unobscured. */
  .hero-background { position: relative; inset: auto; z-index: 0; width: 100%; margin-top: -30vw; }
  .hero-background img { width: 100%; height: auto; aspect-ratio: 940 / 1672; object-fit: contain; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
  .art-caption { font-size: 8px; letter-spacing: .25em; }
  .art-caption span { margin-inline: 9px; }
  .hero-caption { position: relative; bottom: auto; left: auto; width: auto; padding: 8px 20px 22px; transform: none; background: #020b14; }
  .ecosystem { padding-block: 64px; }
  .ecosystem-intro { padding: 0; gap: 16px; margin-bottom: 40px; }
  .ecosystem-intro .eyebrow { margin-bottom: 8px; }
  .ecosystem h2 { font-size: clamp(27px, 6.4vw, 35px); line-height: 1.2; max-width: 480px; }
  .ecosystem-description { font-size: 14px; line-height: 1.5; }
  .enterprise-grid { grid-template-columns: 1fr; gap: 20px; }
  .enterprise-card { border-radius: 16px; }
  .card-photo { height: auto; aspect-ratio: 2.34; }
  .card-body { padding: 0 21px 22px; min-height: 0; }
  .enterprise-card h3 { font-size: 33px; }
  .card-tagline { font-size: 13px; min-height: 0; margin-top: 5px; }
  .card-tagline-world { font-size: 12px; }
  .card-description { font-size: 15px; line-height: 1.5; margin-top: 12px; margin-bottom: 16px; }
  .learn-link { font-size: 14px; }
  .culture { grid-template-columns: 1fr; }
  .culture-photo { min-height: 0; aspect-ratio: 1.96; }
  .culture-copy { padding: 29px 20px 36px; }
  .culture-copy .eyebrow { font-size: 10px; }
  .culture h2 { font-size: clamp(40px, 9vw, 56px); }
  .culture-subtitle { margin-top: 4px; font-size: clamp(21px, 4.8vw, 27px); }
  .culture-description { font-size: 15px; line-height: 1.5; margin-top: 15px; margin-bottom: 20px; }
  .contact-inner { min-height: 0; align-items: flex-start; padding-block: 64px 144px; }
  .contact-copy { width: 100%; max-width: 480px; }
  .contact .eyebrow { font-size: 10px; }
  .contact h2 { font-size: clamp(28px, 6.5vw, 35px); }
  .contact-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.45; margin-top: 12px; margin-bottom: 18px; }
  .contact-art { inset: 35% 0 0 15%; opacity: .65; }
  .contact::before { background: linear-gradient(180deg, #020b14 0%, #020b14ee 40%, #020b1499 60%, transparent); }
  .contact-ribbon { top: auto; bottom: 0; height: 190px; opacity: .7; }
  .footer-inner { gap: 20px; padding-block: 24px; }
  .footer-brand { font-size: 24px; }
  .footer-nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; gap: 17px 24px; font-size: 12px; }
  .social-links { margin-left: auto; gap: 8px; }
  .copyright { order: 4; margin: 0; width: 100%; font-size: 11px; }
  .copyright br { display: none; }
  .info-dialog { padding: 32px 23px; }
}
@media (max-width: 360px) {
  .container, .wide-container { width: calc(100% - 32px); }
  .hero h1 { font-size: 43px; }
  .hero-subtitle { font-size: 24px; }
  .hero-actions { gap: 14px; }
  .vision-link { min-height: 40px; }
  .enterprise-card h3 { font-size: 30px; }
  .card-body { padding-inline: 18px; }
  .culture-copy { padding-inline: 16px; }
  .social-links { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover, .enterprise-card:hover { transform: none; }
}
