/* Amarine One cross-promotion. Motion uses the shared pause and visibility controls. */
.one-promo { padding-block: 10px 90px; scroll-margin-top: 110px; }
.one-promo-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, .85fr);
  align-items: center;
  gap: 35px;
  padding: clamp(28px, 4vw, 62px);
  overflow: hidden;
  border: 1px solid #8cc6ff50;
  border-radius: 24px;
  background: radial-gradient(ellipse at 95% 30%, #44317435, transparent 65%), linear-gradient(115deg, #101e31, #0a101d 70%);
}
.one-promo-panel::before {
  content: '';
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b0edff, #c3adff, transparent);
}
.one-promo .eyebrow { color: #b8dcff; font-size: 13px; line-height: 1.6; letter-spacing: 1.4px; }
.one-promo h2 { margin: 24px 0 22px; color: #f5f8ff; font-size: clamp(38px, 4.6vw, 72px); line-height: 1; letter-spacing: -2px; }
.one-promo h2 span { color: #b2eaff; }
.one-promo-lead { color: #f0f4ff; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.5; font-weight: 600; }
.one-promo-description { max-width: 560px; margin-top: 18px; color: #cbd9ec; font-size: 18px; line-height: 1.75; }
.one-promo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 28px; }
.one-promo-actions .button { min-height: 54px; font-size: 16px; padding: 15px 22px; gap: 22px; }
.one-promo-demo { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; color: #e0eaff; font-size: 16px; border-bottom: 1px solid #a7c8e770; }
.one-promo-demo:hover { color: #b2eaff; border-color: #b2eaff; }
.one-promo-domain { margin-top: 20px; color: #aacbe9; font-size: 15px; letter-spacing: .3px; }
.one-promo-visual { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; justify-self: center; background: radial-gradient(circle, #689cff22, transparent 65%); }
.one-promo-visual svg { display: block; width: 100%; height: 100%; overflow: visible; }
.one-orbit-outer { stroke: #94b9f523; stroke-dasharray: 2 9; }
.one-orbit-base { stroke: #92caff28; }
.one-orbit-light { stroke: #b5d9ff; stroke-width: 1.5; stroke-dasharray: 75 503; }
.one-orbit-spin { transform-origin: 180px 180px; }
.one-links { stroke: #a2c6ff38; stroke-width: 1.5; }
.one-links-flow { stroke: #b6efff; stroke-width: 2; stroke-dasharray: 8 95; }
.one-core-halo { stroke: #a9c3ff40; fill: #a6bcff06; }
.one-core { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 25%; aspect-ratio: 1; border: 1px solid #accaff; border-radius: 50%; background: linear-gradient(140deg, #203d5e, #211e3c); color: #e6f7ff; font: 600 clamp(28px, 2.8vw, 41px)/1 var(--heading, 'Space Grotesk', sans-serif); letter-spacing: -1px; box-shadow: 0 0 35px #8baeff25, inset 0 0 20px #afdbff15; }
.one-node { position: absolute; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 14px; border: 1px solid #89aacf70; border-radius: 9px; background: #111e32; color: #e7f1ff; font-size: 14px; font-weight: 600; }
.one-node i { width: 5px; height: 5px; border-radius: 50%; background: #a9e9ff; box-shadow: 0 0 10px #a9e9ff66; }
.one-node-office { top: 3%; left: 50%; transform: translateX(-50%); }
.one-node-drivers { top: 70%; left: 0; }
.one-node-workshop { top: 70%; right: 0; }
.motion-ready .one-orbit-spin { animation: one-orbit 24s linear infinite; }
.motion-ready .one-links-flow { animation: one-signal 5s linear infinite; }
.one-promo a:focus-visible, .footer-one-link:focus-visible { outline: 2px solid #b2eaff; outline-offset: 5px; border-radius: 4px; }
.footer-nav .footer-one-link { color: #b8eaff; }
@keyframes one-orbit { to { transform: rotate(360deg); } }
@keyframes one-signal { to { stroke-dashoffset: -103; } }
@media (max-width: 900px) {
  .one-promo-panel { grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); gap: 18px; padding: 32px; }
  .one-promo h2 { font-size: 44px; }
  .one-node { padding: 9px; }
}
@media (max-width: 680px) {
  .one-promo { padding-bottom: 60px; }
  .one-promo-panel { grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 28px 22px 10px; border-radius: 18px; }
  .one-promo h2 { font-size: clamp(34px, 8.7vw, 52px); margin-top: 20px; letter-spacing: -1.4px; }
  .one-promo .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .one-promo-description { font-size: 17px; }
  .one-promo-lead { font-size: 20px; }
  .one-promo-actions { gap: 12px 22px; }
  .one-promo-actions .button { padding-inline: 17px; gap: 14px; }
  .one-promo-visual { max-width: 300px; }
  .one-node { font-size: 12px; min-height: 38px; padding: 8px; gap: 5px; }
  .one-core { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .one-orbit-spin, .motion-ready .one-links-flow { animation: none; }
}

/* Make the platform discoverable from every page, including the mobile menu. */
.desktop-nav > .nav-one,
.site-header > .header-one,
.mobile-nav > .nav-one {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #8ce8ff80;
  border-radius: 999px;
  background: linear-gradient(110deg, #153348, #25243e);
  color: #e2faff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 0 18px #8bdfff0d;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.desktop-nav > .nav-one::after,
.mobile-nav > .nav-one::after { content: none; }
.desktop-nav > .nav-one:hover,
.site-header > .header-one:hover,
.mobile-nav > .nav-one:hover { border-color: #b2efff; background: #24435b; box-shadow: 0 0 20px #8bdfff24; }
.site-header > .header-one { display: none; }
.nav-one:focus-visible { outline: 2px solid #b2eaff; outline-offset: 4px; }
.nav-one > span { color: #b2eaff; font-size: 19px; line-height: 1; }
@media (min-width: 1151px) and (max-width: 1400px) {
  .desktop-nav { gap: 14px; }
}
@media (max-width: 1150px) {
  .site-header > .header-one { display: inline-flex; }
  .site-header .mobile-nav:not([hidden]) { top: 100%; }
  .mobile-nav > .nav-one { grid-column: 1 / -1; justify-content: space-between; margin-bottom: 12px; padding: 14px 20px; font-size: 18px; border-radius: 12px; }
  .mobile-nav:not([hidden]) { max-height: calc(100dvh - 88px); overflow-y: auto; }
}
@media (max-width: 800px) {
  .site-header { padding-inline: 16px; gap: 8px; }
  .site-header > .brand { flex-shrink: 0; }
  .site-header > .header-one { padding-inline: 10px; gap: 6px; }
  .site-header > .header-one > span { font-size: 16px; }
  .site-header .header-actions { gap: 6px; flex-shrink: 0; }
  .mobile-nav:not([hidden]) { max-height: calc(100dvh - 76px); }
}
@media (max-width: 380px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; height: auto; padding: 12px 16px; gap: 10px 12px; }
  .site-header > .brand { grid-column: 1; grid-row: 1; }
  .site-header > .header-actions { grid-column: 2; grid-row: 1; }
  .site-header > .header-one { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; padding-inline: 18px; border-radius: 12px; font-size: 16px; }
  .site-header .mobile-nav:not([hidden]) { max-height: calc(100dvh - 122px); }
}
