:root {
  --rd-ink: #092f2a;
  --rd-forest: #0d4038;
  --rd-cream: #f4f1e8;
  --rd-paper: #fffdf7;
  --rd-coral: #ff644f;
  --rd-sky: #1ca9e5;
  --rd-mint: #56d498;
  --rd-line: rgba(9, 47, 42, .16);
  --rd-serif: Georgia, 'Times New Roman', serif;
  --rd-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-padding-top: 5.5rem; }
body.redesign {
  margin: 0;
  overflow-x: clip;
  color: var(--rd-ink);
  background: var(--rd-cream);
  font-family: var(--rd-sans);
  line-height: 1.5;
}
.redesign a { color: inherit; text-decoration: none; }
.redesign h1, .redesign h2, .redesign h3, .redesign p { text-wrap: pretty; }
.redesign button, .redesign input, .redesign textarea { font: inherit; }
.redesign .honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.rd-skip { position: fixed; z-index: 200; top: -6rem; left: 1rem; padding: .75rem 1rem; color: var(--rd-ink); background: var(--rd-paper); border: 2px solid var(--rd-sky); border-radius: 999px; }
.rd-skip:focus { top: 1rem; }

.rd-header {
  position: sticky;
  z-index: 80;
  top: 0;
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .75rem clamp(1.25rem, 5vw, 5rem);
  background: rgba(244, 241, 232, .92);
  border-bottom: 1px solid var(--rd-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.rd-brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.05rem; font-weight: 800; letter-spacing: -.025em; }
.rd-brand__mark { width: 2.35rem; height: 2.35rem; flex: 0 0 auto; overflow: visible; filter: drop-shadow(0 5px 10px rgba(28, 169, 229, .16)); animation: rd-mark-breathe 5.5s ease-in-out infinite; }
.rd-brand__mark path:first-child { fill: var(--rd-sky); stroke: none; }
.rd-brand__mark circle { fill: var(--rd-paper); }
.rd-brand__mark path:last-child { fill: none; stroke: var(--rd-paper); stroke-width: 2.5; stroke-linecap: round; }
.rd-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.7rem); font-size: .9rem; font-weight: 750; }
.rd-nav > a:not(.rd-nav__cta) { padding: .65rem 0; border-bottom: 1px solid transparent; }
.rd-nav > a:not(.rd-nav__cta):hover { border-color: currentColor; }
.rd-nav__cta { display: inline-flex; align-items: center; gap: .9rem; padding: .85rem 1.15rem; color: var(--rd-paper) !important; background: var(--rd-forest); border-radius: 999px; }
.rd-nav-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: .65rem; color: var(--rd-ink); background: transparent; border: 1px solid var(--rd-line); border-radius: 50%; }
.rd-nav-toggle span { display: block; height: 2px; margin: .24rem 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.rd-nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rd-nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.rd-nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.rd-notice { position: fixed; z-index: 100; top: 6.1rem; left: 50%; width: min(calc(100% - 2rem), 46rem); display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; transform: translateX(-50%); color: var(--rd-paper); background: var(--rd-forest); border-radius: .4rem; box-shadow: 0 14px 45px rgba(9, 47, 42, .2); }
.rd-notice--error { background: #8c3028; }
.rd-notice button { color: inherit; background: transparent; border: 0; cursor: pointer; font-size: 1.25rem; }

.rd-hero {
  position: relative;
  min-height: 42rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22.5rem, .95fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(4.3rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem) 6rem;
}
.rd-hero::before { content: ''; position: absolute; left: -16rem; bottom: -13rem; width: 26rem; height: 26rem; border: 1px solid rgba(9,47,42,.09); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(9,47,42,.035), 0 0 0 6rem rgba(9,47,42,.025); }
.rd-hero__copy, .rd-proof { position: relative; z-index: 2; }
.rd-tech-mesh { position: absolute; z-index: 1; left: 43%; top: 12%; width: 11.9rem; height: 9.4rem; opacity: .46; pointer-events: none; }
.rd-node { position: absolute; width: .5rem; height: .5rem; border: 2px solid var(--rd-forest); border-radius: 50%; background: var(--rd-cream); box-shadow: 0 0 0 7px rgba(9,47,42,.04); animation: rd-node-pulse 3.6s ease-in-out infinite; }
.rd-node--a { left: 0; top: 72%; }
.rd-node--b { left: 44%; top: 12%; animation-delay: -.9s; }
.rd-node--c { right: 0; bottom: 0; animation-delay: -1.8s; }
.rd-link { position: absolute; height: 1px; overflow: visible; background: rgba(9,47,42,.23); transform-origin: left center; }
.rd-link--a { width: 6.55rem; left: .45rem; top: calc(72% + .25rem); transform: rotate(-47deg); }
.rd-link--b { width: 7.5rem; left: calc(44% + .45rem); top: calc(12% + .3rem); transform: rotate(44deg); }
.rd-link i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--rd-coral); box-shadow: 0 0 10px rgba(255,100,79,.72); animation: rd-packet-flow 3.6s linear infinite; }
.rd-link--b i { animation-delay: -1.8s; }

.rd-eyebrow { margin: 0; display: flex; align-items: center; gap: .7rem; color: var(--rd-coral); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.rd-eyebrow > span { width: 1.5rem; height: 1px; background: currentColor; }
.rd-hero h1 { max-width: 47.5rem; margin: 1.25rem 0 1.5rem; font-family: var(--rd-serif); font-size: clamp(3.2rem, 6.7vw, 6.7rem); font-weight: 500; line-height: .91; letter-spacing: -.055em; }
.rd-hero h1 em { color: var(--rd-coral); font-weight: 500; }
.rd-lead { max-width: 39rem; margin: 0; color: rgba(9,47,42,.76); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; }
.rd-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.rd-button { min-height: 3.4rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; padding: .9rem 1.25rem; border: 0; border-radius: .25rem; cursor: pointer; font-size: .92rem; font-weight: 800; transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease; }
.rd-button--primary { color: var(--rd-paper) !important; background: var(--rd-coral); box-shadow: 0 10px 25px rgba(255,100,79,.22); }
.rd-button--quiet { border: 1px solid var(--rd-line); background: rgba(255,253,247,.45); }
.rd-button:hover, .rd-nav__cta:hover { transform: translateY(-2px); }
.rd-button:hover span[aria-hidden], .rd-nav__cta:hover span[aria-hidden], .rd-text-link:hover span[aria-hidden] { animation: rd-arrow-nudge .6s ease; }
.rd-note { margin: .9rem 0 0; color: rgba(9,47,42,.57); font-size: .78rem; }

.rd-proof { padding: clamp(1.2rem, 2.6vw, 2.2rem); background: var(--rd-paper); border: 1px solid var(--rd-line); box-shadow: 20px 22px 0 var(--rd-forest); }
.rd-proof::before { content: '01'; position: absolute; right: 1rem; top: -3.2rem; color: rgba(9,47,42,.16); font-family: var(--rd-serif); font-size: 4.8rem; }
.rd-proof__top { display: flex; justify-content: space-between; gap: 1rem; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rd-live::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .4rem; border-radius: 50%; background: #44a074; animation: rd-status-pulse 2.8s ease-out infinite; }
.rd-weather { position: relative; overflow: hidden; margin: 1.4rem 0; padding: 1rem; color: #ebf8f4; background: var(--rd-forest); border-radius: .5rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.rd-scan { position: absolute; z-index: 2; inset: 0 auto 0 -30%; width: 24%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(86,212,152,.1), transparent); transform: skewX(-17deg); animation: rd-scan-card 5.8s ease-in-out infinite; }
.rd-weather__head, .rd-window__head { display: flex; align-items: center; gap: .6rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.rd-weather__head::before, .rd-window__head::before { content: ''; width: 1rem; height: 1rem; background: var(--rd-sky); border-radius: .25rem .25rem .25rem .08rem; }
.rd-weather__head > span, .rd-window__head > span { margin-left: auto; color: rgba(255,255,255,.56); font-size: .65rem; }
.rd-weather__grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: .7rem; margin-top: .7rem; }
.rd-weather__grid > div { min-height: 6.9rem; display: flex; flex-direction: column; padding: .7rem; background: rgba(255,255,255,.06); border-radius: .4rem; }
.rd-weather small, .rd-weather span { color: rgba(255,255,255,.65); font-size: .6rem; }
.rd-weather__grid > div > strong { margin: auto 0 .2rem; font-size: 2.2rem; }
.rd-bars { position: relative; flex-direction: row !important; align-items: end; justify-content: space-between; }
.rd-bars small { position: absolute; top: .7rem; left: .7rem; }
.rd-bars i { display: block; width: 12%; transform-origin: bottom; background: var(--rd-sky); border-radius: 12px 12px 2px 2px; opacity: .84; animation: rd-telemetry 4.8s ease-in-out infinite; }
.rd-bars i:nth-of-type(1){height:28%}.rd-bars i:nth-of-type(2){height:45%;animation-delay:-.45s}.rd-bars i:nth-of-type(3){height:72%;animation-delay:-.9s}.rd-bars i:nth-of-type(4){height:56%;animation-delay:-1.35s}.rd-bars i:nth-of-type(5){height:38%;animation-delay:-1.8s}
.rd-weather__status, .rd-window__status { display: flex; align-items: center; gap: .4rem; margin-top: .7rem; color: rgba(255,255,255,.62); font-size: .58rem; }
.rd-weather__status > span, .rd-window__status > span { width: 5px; height: 5px; border-radius: 50%; background: var(--rd-mint); }
.rd-weather__status strong, .rd-window__status strong { margin-left: auto; color: #fff; }
.rd-result { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0; padding: .9rem 0 1.2rem; border-bottom: 1px solid var(--rd-line); font-family: var(--rd-serif); font-size: clamp(1rem,1.4vw,1.25rem); }
.rd-text-link { display: inline-flex; align-items: center; gap: 1.2rem; padding: 1.05rem 0 .35rem; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 800; }

.rd-trust { min-height: 7.5rem; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; padding: 1.5rem clamp(1.25rem,8vw,9rem); color: var(--rd-paper); background: var(--rd-forest); }
.rd-trust p { margin: 0; display: flex; flex-direction: column; gap: .4rem; padding: .4rem clamp(.5rem,3vw,3rem); border-right: 1px solid rgba(255,255,255,.17); }
.rd-trust p:last-child { border-right: 0; }
.rd-trust strong { font-family: var(--rd-serif); font-size: 1.25rem; font-weight: 500; }
.rd-trust span { color: rgba(255,255,255,.58); font-size: .72rem; }

.rd-section, .rd-case, .rd-about, .rd-contact { padding: clamp(5rem,10vw,9rem) clamp(1.25rem,7vw,7.5rem); }
.rd-heading { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(17.5rem,.75fr); column-gap: clamp(2rem,8vw,8rem); align-items: end; margin-bottom: clamp(2.5rem,6vw,5.5rem); }
.rd-heading .rd-eyebrow { grid-column: 1 / -1; }
.redesign h2 { margin: .8rem 0 0; font-family: var(--rd-serif); font-size: clamp(2.7rem,5.6vw,5.5rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.rd-heading > p:last-child { max-width: 33rem; margin: 0 0 .3rem; color: rgba(9,47,42,.67); font-size: 1.05rem; line-height: 1.65; }
.rd-heading--compact { grid-template-columns: 1fr; max-width: 56rem; }

.rd-services { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.rd-service { position: relative; min-height: 34.5rem; display: flex; flex-direction: column; padding: clamp(1.6rem,3.8vw,3.5rem); background: var(--rd-paper); border: 1px solid var(--rd-line); transition: transform .3s ease, box-shadow .3s ease; }
.rd-service:hover { transform: translateY(-5px); box-shadow: 0 18px 46px rgba(9,47,42,.08); }
.rd-service--dark { color: var(--rd-paper); background: var(--rd-forest); }
.rd-number { position: absolute; top: 1.5rem; right: 1.6rem; color: var(--rd-coral); font-family: var(--rd-serif); font-size: 2.8rem; opacity: .65; }
.rd-kicker { margin: 0 0 1.3rem; color: var(--rd-coral); font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rd-service h3 { max-width: 34rem; margin: 0; font-family: var(--rd-serif); font-size: clamp(2rem,3.7vw,4rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.rd-service > p:not(.rd-kicker) { max-width: 37.5rem; margin: 1.4rem 0 2.6rem; color: rgba(9,47,42,.7); font-size: 1.02rem; line-height: 1.65; }
.rd-service--dark > p:not(.rd-kicker) { color: rgba(255,255,255,.67); }
.rd-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--rd-line); }
.rd-service--dark .rd-details { border-color: rgba(255,255,255,.17); }
.rd-details p { margin: 0; display: flex; flex-direction: column; gap: .5rem; font-size: .84rem; line-height: 1.55; }
.rd-details span { color: rgba(9,47,42,.62); }
.rd-service--dark .rd-details span { color: rgba(255,255,255,.58); }
.rd-service ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.rd-service li { padding: .5rem .7rem; border: 1px solid var(--rd-line); border-radius: 999px; font-size: .67rem; font-weight: 800; }
.rd-service--dark li { border-color: rgba(255,255,255,.2); }

.rd-case { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem,7vw,7rem); color: var(--rd-paper); background: var(--rd-forest); }
.rd-case__intro { align-self: center; }
.rd-case__intro h2 { font-size: clamp(2.8rem,5vw,5rem); }
.rd-case__intro > p:not(.rd-eyebrow) { max-width: 35rem; margin: 2rem 0; color: rgba(255,255,255,.66); line-height: 1.7; }
.rd-case__visual { align-self: center; }
.rd-window { padding: clamp(1rem,2.8vw,2rem); background: #092f2a; border: 1px solid rgba(255,255,255,.17); box-shadow: 18px 18px 0 rgba(0,0,0,.12); }
.rd-window__head { padding-bottom: 1.4rem; }
.rd-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: .7rem; }
.rd-metrics > div { min-height: 8.1rem; display: flex; flex-direction: column; padding: .9rem; background: rgba(255,255,255,.055); }
.rd-metrics small, .rd-metrics span { color: rgba(255,255,255,.52); font-size: .62rem; }
.rd-metrics strong { margin: auto 0 .3rem; font-family: var(--rd-serif); font-size: clamp(1.3rem,2.4vw,2.5rem); font-weight: 500; }
.rd-curve { height: 9.4rem; display: flex; align-items: end; gap: .8rem; padding: 1.5rem 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.rd-curve i { flex: 1; min-height: .75rem; transform-origin: bottom; background: linear-gradient(to top,rgba(28,169,229,.13),var(--rd-sky)); border-radius: 40px 40px 0 0; opacity: .78; animation: rd-telemetry 6s ease-in-out infinite; }
.rd-curve i:nth-child(1){height:25%}.rd-curve i:nth-child(2){height:42%;animation-delay:-.5s}.rd-curve i:nth-child(3){height:62%;animation-delay:-1s}.rd-curve i:nth-child(4){height:76%;animation-delay:-1.5s}.rd-curve i:nth-child(5){height:68%;animation-delay:-2s}.rd-curve i:nth-child(6){height:48%;animation-delay:-2.5s}.rd-curve i:nth-child(7){height:35%;animation-delay:-3s}
.rd-signal { height: 1.15rem; display: flex; align-items: center; gap: .65rem; padding-inline: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.rd-signal span { width: 4px; height: 4px; border-radius: 50%; background: rgba(86,212,152,.32); animation: rd-signal-hop 2.2s ease-in-out infinite; }
.rd-signal span:nth-child(2){animation-delay:.18s}.rd-signal span:nth-child(3){animation-delay:.36s}.rd-signal span:nth-child(4){animation-delay:.54s}.rd-signal span:nth-child(5){animation-delay:.72s}
.rd-window__status { padding-top: 1rem; }
.rd-outcome { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.rd-outcome p { margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.rd-outcome p:last-child { text-align: right; }
.rd-outcome p span { color: var(--rd-coral); font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rd-outcome strong { font-family: var(--rd-serif); font-size: clamp(.9rem,1.4vw,1.25rem); font-weight: 500; }

.rd-process { background: var(--rd-paper); }
.rd-process ol { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; border-top: 1px solid var(--rd-line); list-style: none; }
.rd-process li { min-height: 17.5rem; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem clamp(1rem,3vw,2.5rem); border-right: 1px solid var(--rd-line); }
.rd-process li:last-child { border-right: 0; }
.rd-process li > span { color: var(--rd-coral); font-family: var(--rd-serif); font-size: 1.3rem; }
.rd-process li > div { min-height: 9rem; }
.rd-process h3 { margin: 0 0 .7rem; font-family: var(--rd-serif); font-size: clamp(1.5rem,2.4vw,2.3rem); font-weight: 500; }
.rd-process li p { max-width: 20.5rem; margin: 0; color: rgba(9,47,42,.62); line-height: 1.6; }

.rd-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,8vw,8rem); }
.rd-about h2 { font-size: clamp(2.7rem,5vw,5rem); }
.rd-about__copy { align-self: end; }
.rd-about__lead { margin: 0; font-family: var(--rd-serif); font-size: clamp(1.3rem,2.4vw,2.05rem); line-height: 1.35; }
.rd-about__points { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rd-line); }
.rd-about__points p { margin: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .86rem; line-height: 1.55; }
.rd-about__points span { color: rgba(9,47,42,.62); }

.rd-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,8vw,8rem); background: #e7f2ec; border-top: 1px solid var(--rd-line); }
.rd-contact__copy h2 { max-width: 52rem; }
.rd-contact__copy > p:not(.rd-eyebrow) { max-width: 38rem; margin: 1.7rem 0 2.2rem; color: rgba(9,47,42,.67); font-size: 1.04rem; line-height: 1.65; }
.rd-contact__email { display: inline-block; border-bottom: 1px solid currentColor; font-size: .85rem; font-weight: 700; }
.rd-form { position: relative; padding: clamp(1.5rem,3.5vw,3rem); background: var(--rd-paper); border: 1px solid var(--rd-line); box-shadow: 0 20px 50px rgba(9,47,42,.07); }
.rd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rd-field { margin-bottom: 1rem; }
.rd-field label { display: block; margin: 0 0 .42rem; font-size: .85rem; font-weight: 750; }
.rd-field input, .rd-field textarea { width: 100%; color: var(--rd-ink); background: #fff; border: 1px solid rgba(9,47,42,.23); border-radius: .35rem; outline: 0; }
.rd-field input { min-height: 3.25rem; padding: .7rem .85rem; }
.rd-field textarea { min-height: 9rem; padding: .85rem 1rem; resize: vertical; }
.rd-field input:focus, .rd-field textarea:focus { border-color: var(--rd-coral); box-shadow: 0 0 0 4px rgba(255,100,79,.13); }
.rd-consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; margin: .2rem 0 1rem; font-size: .8rem; font-weight: 400; }
.rd-consent input { width: 1.1rem; min-height: 1.1rem; margin-top: .15rem; accent-color: var(--rd-coral); }
.rd-consent a { text-decoration: underline; }
.rd-form__errors { min-height: 1.4rem; margin-bottom: .25rem; color: #a51f14; font-size: .86rem; font-weight: 700; }
.rd-submit { width: 100%; }
.rd-form__note { margin: .9rem 0 0; color: rgba(9,47,42,.55); font-size: .72rem; text-align: center; }

.rd-hosting { display: flex; align-items: baseline; justify-content: center; gap: .8rem; padding: 1.05rem clamp(1.25rem,5vw,5rem); color: var(--rd-forest); background: var(--rd-paper); border-top: 1px solid var(--rd-line); }
.rd-hosting p { margin: 0; font-size: .86rem; }
.rd-hosting p > span { color: rgba(9,47,42,.66); }
.rd-hosting a { margin-left: .25rem; font-weight: 800; border-bottom: 1px solid rgba(9,47,42,.38); }
.rd-hosting a span { display: inline-block; margin-left: .15rem; transition: transform .2s ease; }
.rd-hosting a:hover span { transform: translate(2px,-2px); }
.rd-hosting small { color: rgba(9,47,42,.42); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }

.rd-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 3rem clamp(1.25rem,5vw,5rem); color: var(--rd-paper); background: var(--rd-forest); }
.rd-footer > p { margin: 0; color: rgba(255,255,255,.54); font-size: .8rem; }
.rd-footer > div { display: flex; gap: 1.3rem; color: rgba(255,255,255,.54); font-size: .7rem; }
.redesign a:focus-visible, .redesign button:focus-visible, .redesign input:focus-visible, .redesign textarea:focus-visible { outline: 3px solid var(--rd-sky); outline-offset: 3px; }

.rd-motion-ready [data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.16,1,.3,1); }
.rd-motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes rd-packet-flow { 0%{transform:translateX(0) scale(.7);opacity:0}12%{opacity:1}82%{opacity:1}100%{transform:translateX(6.55rem) scale(1);opacity:0} }
@keyframes rd-node-pulse { 0%,100%{box-shadow:0 0 0 7px rgba(9,47,42,.035)}50%{box-shadow:0 0 0 12px rgba(9,47,42,.065)} }
@keyframes rd-scan-card { 0%,20%{left:-35%;opacity:0}35%{opacity:1}70%{left:115%;opacity:.75}100%{left:115%;opacity:0} }
@keyframes rd-telemetry { 0%,100%{transform:scaleY(.92);opacity:.76}50%{transform:scaleY(1.05);opacity:1} }
@keyframes rd-status-pulse { 0%{box-shadow:0 0 0 0 rgba(68,160,116,.45)}65%,100%{box-shadow:0 0 0 8px rgba(68,160,116,0)} }
@keyframes rd-signal-hop { 0%,70%,100%{transform:translateY(0);background:rgba(86,212,152,.28)}18%{transform:translateY(-3px);background:var(--rd-mint);box-shadow:0 0 8px rgba(86,212,152,.55)} }
@keyframes rd-arrow-nudge { 0%,100%{transform:translate(0,0)}45%{transform:translate(4px,-4px)} }
@keyframes rd-mark-breathe { 0%,100%{filter:saturate(1) drop-shadow(0 5px 10px rgba(28,169,229,.16))}50%{filter:saturate(1.18) drop-shadow(0 7px 14px rgba(28,169,229,.22))} }

@media (max-width: 860px) {
  .rd-header { min-height: 4.6rem; }
  .rd-nav-toggle { display: block; }
  .rd-nav { position: absolute; top: calc(100% + 1px); right: 1rem; width: min(calc(100vw - 2rem), 20rem); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: .7rem; background: var(--rd-paper); border: 1px solid var(--rd-line); box-shadow: 0 16px 40px rgba(9,47,42,.14); }
  .rd-nav.is-open { display: flex; }
  .rd-nav > a { padding: .9rem 1rem !important; border: 0 !important; }
  .rd-nav__cta { margin-top: .3rem; justify-content: space-between; }
  .rd-hero { grid-template-columns: 1fr; padding-top: 4.5rem; }
  .rd-proof { max-width: 39rem; }
  .rd-tech-mesh { left: auto; right: 6%; top: 4%; }
  .rd-heading, .rd-services, .rd-case, .rd-about, .rd-contact { grid-template-columns: 1fr; }
  .rd-heading > p:last-child { margin-top: 1.5rem; }
  .rd-case__intro { max-width: 45rem; }
  .rd-process ol { grid-template-columns: 1fr; }
  .rd-process li { min-height: 13rem; border-right: 0; border-bottom: 1px solid var(--rd-line); }
  .rd-process li > div { min-height: 0; }
  .rd-hosting { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: .35rem; }
  .rd-hosting p { line-height: 1.5; }
  .rd-footer { grid-template-columns: 1fr; }
  .rd-footer > div { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .rd-brand > span { font-size: .86rem; }
  .rd-hero { padding-bottom: 4rem; }
  .rd-hero h1 { font-size: clamp(3rem,15vw,4.6rem); }
  .rd-button { width: 100%; }
  .rd-proof { box-shadow: 10px 12px 0 var(--rd-forest); }
  .rd-result { flex-wrap: wrap; }
  .rd-trust { grid-template-columns: 1fr; padding-block: 1.4rem; }
  .rd-trust p { padding-block: 1rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .rd-details, .rd-about__points, .rd-field-row { grid-template-columns: 1fr; }
  .rd-service { min-height: auto; }
  .rd-details { margin-top: 2rem; }
  .rd-metrics { grid-template-columns: 1fr; }
  .rd-metrics > div { min-height: 6.5rem; }
  .rd-curve { height: 6.25rem; }
  .rd-window__status { align-items: flex-start; flex-wrap: wrap; }
  .rd-window__status strong { width: 100%; margin: .2rem 0 0; }
  .rd-outcome { grid-template-columns: 1fr; }
  .rd-outcome > span { width: fit-content; transform: rotate(90deg); }
  .rd-outcome p:last-child { text-align: left; }
  .rd-footer > div { flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rd-motion-ready [data-reveal] { opacity: 1; transform: none; }
}


/* ==========================================================================
   AI-apuri / etusivun ensisijainen käyttökokemus
   ========================================================================== */

.redesign [hidden] { display: none !important; }

.rd-header--minimal {
  justify-content: flex-start;
}

.rd-hero--assistant {
  min-height: calc(100svh - 5.4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: clamp(3.2rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem);
}

.rd-hero--assistant::before {
  left: 50%;
  bottom: -19rem;
  width: 34rem;
  height: 34rem;
  transform: translateX(-50%);
  opacity: .75;
}

.rd-tech-mesh--assistant {
  left: auto;
  right: max(5%, calc((100vw - 76rem) / 2));
  top: 10%;
  opacity: .22;
}

.rd-assistant {
  position: relative;
  z-index: 3;
  width: min(100%, 66rem);
  margin-inline: auto;
}

.rd-assistant__intro {
  max-width: 58rem;
  margin: 0 auto clamp(1.8rem, 4vw, 3rem);
  text-align: center;
}

.rd-assistant__intro .rd-eyebrow {
  justify-content: center;
}

.rd-hero--assistant h1 {
  max-width: none;
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(3.5rem, 7.8vw, 7.5rem);
  line-height: .9;
}

.rd-hero--assistant .rd-lead {
  max-width: 47rem;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.rd-hero--assistant .rd-lead strong {
  color: var(--rd-ink);
  font-weight: 800;
}

.rd-ai-form {
  position: relative;
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  background: var(--rd-paper);
  border: 1px solid var(--rd-line);
  border-radius: .85rem;
  box-shadow: 0 24px 70px rgba(9,47,42,.09), 0 3px 0 rgba(9,47,42,.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.rd-ai-form:focus-within {
  border-color: rgba(28,169,229,.55);
  box-shadow: 0 28px 80px rgba(9,47,42,.11), 0 0 0 4px rgba(28,169,229,.08);
}

.rd-ai-form.is-busy {
  opacity: .8;
}

.rd-ai-form__label {
  display: block;
  margin: 0 0 .75rem;
  color: rgba(9,47,42,.72);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.rd-ai-form textarea {
  width: 100%;
  min-height: clamp(9rem, 18vh, 12rem);
  display: block;
  padding: .2rem .15rem 1.1rem;
  color: var(--rd-ink);
  background: transparent;
  border: 0;
  outline: 0;
  resize: vertical;
  font-family: var(--rd-sans);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.rd-ai-form textarea::placeholder {
  color: rgba(9,47,42,.38);
}

.rd-ai-form textarea[aria-invalid='true'] {
  box-shadow: inset 0 -2px 0 #a51f14;
}

.rd-ai-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rd-line);
}

.rd-ai-form__actions > p {
  max-width: 31rem;
  margin: 0;
  color: rgba(9,47,42,.56);
  font-size: .78rem;
  line-height: 1.45;
}

.rd-ai-form__submit {
  min-width: 9.5rem;
  flex: 0 0 auto;
}

.rd-ai-form__submit:disabled {
  cursor: wait;
  transform: none;
  opacity: .75;
}

.rd-ai-form__privacy {
  margin: .85rem .2rem 0;
  color: rgba(9,47,42,.46);
  font-size: .68rem;
  line-height: 1.45;
}

.rd-ai-form__privacy a {
  border-bottom: 1px solid rgba(9,47,42,.3);
}

.rd-ai-state {
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border: 1px solid var(--rd-line);
  border-radius: .5rem;
  color: rgba(9,47,42,.72);
  background: rgba(255,253,247,.7);
  font-size: .84rem;
}

.rd-ai-state--loading::before {
  content: '';
  width: .65rem;
  height: .65rem;
  display: inline-block;
  margin-right: .55rem;
  vertical-align: -.05rem;
  border: 2px solid rgba(9,47,42,.2);
  border-top-color: var(--rd-coral);
  border-radius: 50%;
  animation: rd-ai-spin .8s linear infinite;
}

.rd-ai-state--error {
  color: #7d241c;
  background: #fff3ef;
  border-color: rgba(165,31,20,.24);
}

.rd-ai-result {
  margin-top: clamp(1.3rem, 3vw, 2rem);
  padding: clamp(1.35rem, 3vw, 2.4rem);
  background: #e8f2ec;
  border: 1px solid rgba(9,47,42,.18);
  border-radius: .85rem;
  box-shadow: 0 22px 60px rgba(9,47,42,.08);
}

.rd-ai-result__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.rd-ai-route {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .65rem;
  color: var(--rd-forest);
  background: rgba(255,253,247,.72);
  border: 1px solid rgba(9,47,42,.14);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.rd-ai-route::before {
  content: '';
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--rd-mint);
}

.rd-ai-route[data-route='partner']::before { background: var(--rd-coral); }
.rd-ai-route[data-route='self_help']::before { background: var(--rd-sky); }
.rd-ai-route[data-route='hmm']::before { background: var(--rd-mint); }
.rd-ai-route[data-route='automation']::before { background: #e4ad34; }

.rd-ai-result h2 {
  max-width: 49rem;
  margin: .85rem 0 .55rem;
  font-family: var(--rd-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.rd-ai-result__head p {
  max-width: 50rem;
  margin: 0;
  color: rgba(9,47,42,.7);
  line-height: 1.6;
}

.rd-ai-confidence {
  padding-top: .2rem;
  color: rgba(9,47,42,.52);
  font-size: .68rem;
  white-space: nowrap;
}

.rd-ai-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 1.6rem;
  border: 1px solid rgba(9,47,42,.14);
  border-radius: .55rem;
  background: rgba(9,47,42,.13);
}

.rd-ai-metrics > div {
  min-height: 8.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.15rem;
  background: rgba(255,253,247,.92);
}

.rd-ai-metrics small {
  color: rgba(9,47,42,.52);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rd-ai-metrics strong {
  margin: .35rem 0 .2rem;
  font-family: var(--rd-serif);
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  font-weight: 500;
  line-height: 1.05;
}

.rd-ai-metrics span {
  color: rgba(9,47,42,.47);
  font-size: .68rem;
}

.rd-ai-result__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 1.2rem;
  border: 1px solid rgba(9,47,42,.13);
  border-radius: .55rem;
  background: rgba(9,47,42,.12);
}

.rd-ai-result__body article {
  min-height: 10rem;
  padding: 1.2rem 1.3rem;
  background: rgba(255,253,247,.72);
}

.rd-ai-result__body article:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 0;
  background: var(--rd-forest);
  color: var(--rd-paper);
}

.rd-ai-result__body h3,
.rd-ai-questions h3,
.rd-ai-contact h3 {
  margin: 0 0 .55rem;
  font-size: .82rem;
  font-weight: 850;
}

.rd-ai-result__body article:nth-child(3) h3 {
  color: var(--rd-mint);
}

.rd-ai-result__body p {
  margin: 0;
  color: rgba(9,47,42,.7);
  font-size: .9rem;
  line-height: 1.62;
}

.rd-ai-result__body article:nth-child(3) p {
  color: rgba(255,255,255,.8);
}


.rd-ai-partner {
  margin-top: .75rem !important;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78) !important;
}

.rd-ai-partner strong {
  color: var(--rd-mint);
}

.rd-ai-questions {
  margin-top: 1rem;
  padding: 1.15rem;
  background: rgba(255,253,247,.72);
  border: 1px solid rgba(9,47,42,.13);
  border-radius: .55rem;
}

.rd-ai-question {
  display: grid;
  grid-template-columns: minmax(12rem, .9fr) minmax(14rem, 1.1fr);
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid rgba(9,47,42,.1);
}

.rd-ai-question:first-child {
  border-top: 0;
}

.rd-ai-question span {
  color: rgba(9,47,42,.68);
  font-size: .82rem;
  line-height: 1.45;
}

.rd-ai-question input {
  width: 100%;
  min-height: 2.8rem;
  padding: .55rem .7rem;
  color: var(--rd-ink);
  background: #fff;
  border: 1px solid rgba(9,47,42,.2);
  border-radius: .35rem;
  outline: 0;
}

.rd-ai-question input:focus {
  border-color: var(--rd-sky);
  box-shadow: 0 0 0 3px rgba(28,169,229,.1);
}

.rd-ai-questions .rd-button {
  margin-top: .85rem;
}

.rd-ai-disclaimer {
  margin: 1rem 0 0;
  color: rgba(9,47,42,.48);
  font-size: .68rem;
  line-height: 1.5;
}

.rd-ai-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.2rem;
}

.rd-ai-contact {
  margin-top: 1.25rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  background: var(--rd-paper);
  border: 1px solid rgba(9,47,42,.16);
  border-radius: .55rem;
}

.rd-ai-contact__intro {
  max-width: 47rem;
  margin-bottom: 1.3rem;
}

.rd-ai-contact__intro h3 {
  margin: .45rem 0 .5rem;
  font-family: var(--rd-serif);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.03em;
}

.rd-ai-contact__intro > p:last-child {
  margin: 0;
  color: rgba(9,47,42,.65);
  font-size: .88rem;
  line-height: 1.58;
}

.rd-ai-contact .rd-field label span {
  color: rgba(9,47,42,.48);
  font-weight: 500;
}

.rd-contact--simple {
  align-items: end;
}

.rd-contact__aside {
  max-width: 42rem;
  justify-self: end;
}

.rd-contact__aside > p {
  margin: 0 0 1.4rem;
  color: rgba(9,47,42,.67);
  font-size: 1rem;
  line-height: 1.65;
}

@keyframes rd-ai-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
  .rd-hero--assistant {
    min-height: calc(100svh - 4.6rem);
    padding-top: clamp(2.7rem, 8vw, 4.5rem);
  }

  .rd-tech-mesh--assistant {
    right: 4%;
    top: 4%;
  }

  .rd-ai-result__head {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .rd-ai-confidence {
    padding: 0;
  }

  .rd-ai-question {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .rd-contact__aside {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .rd-header--minimal {
    min-height: 4.15rem;
  }

  .rd-hero--assistant {
    min-height: calc(100svh - 4.15rem);
    padding: 2.7rem .9rem 4rem;
  }

  .rd-assistant__intro {
    margin-bottom: 1.5rem;
  }

  .rd-hero--assistant h1 {
    font-size: clamp(3.2rem, 17vw, 4.8rem);
  }

  .rd-hero--assistant .rd-lead {
    font-size: 1rem;
  }

  .rd-ai-form {
    padding: 1rem;
    border-radius: .7rem;
  }

  .rd-ai-form textarea {
    min-height: 10.5rem;
    font-size: 1rem;
  }

  .rd-ai-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rd-ai-form__actions > p {
    max-width: none;
  }

  .rd-ai-form__submit {
    width: 100%;
  }

  .rd-ai-result {
    padding: 1rem;
    border-radius: .7rem;
  }

  .rd-ai-metrics,
  .rd-ai-result__body {
    grid-template-columns: 1fr;
  }

  .rd-ai-result__body article:nth-child(3) {
    grid-column: auto;
  }

  .rd-ai-metrics > div {
    min-height: 6.5rem;
  }

  .rd-ai-result__body article {
    min-height: 0;
  }

  .rd-ai-result__actions {
    flex-direction: column;
  }

  .rd-ai-result__actions .rd-button {
    width: 100%;
  }

  .rd-ai-contact {
    padding: 1rem;
  }
}


/* ==========================================================================
   V2.3 — AI-hero first viewport fit + navigation restored
   ========================================================================== */

.rd-hero--assistant {
  min-height: calc(100svh - 5.4rem);
  align-items: flex-start;
  padding-top: clamp(1.35rem, 3vh, 2.2rem);
  padding-bottom: clamp(1.6rem, 3.5vh, 2.6rem);
}

.rd-assistant {
  width: min(100%, 70rem);
}

.rd-assistant__intro {
  max-width: 54rem;
  margin-bottom: clamp(.9rem, 2vh, 1.35rem);
}

.rd-assistant__intro .rd-eyebrow {
  margin-bottom: .35rem;
}

.rd-hero--assistant h1 {
  margin: .35rem 0 .65rem;
  font-size: clamp(2.65rem, 5.2vw, 5.25rem);
  line-height: .94;
}

.rd-hero--assistant .rd-lead {
  max-width: 45rem;
  font-size: clamp(.98rem, 1.35vw, 1.16rem);
  line-height: 1.48;
}

.rd-ai-form {
  padding: clamp(.9rem, 1.7vw, 1.25rem);
}

.rd-ai-form__label {
  margin-bottom: .45rem;
}

.rd-ai-form textarea {
  min-height: clamp(6.5rem, 15vh, 8.6rem);
  padding-bottom: .75rem;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.48;
}

.rd-ai-form__actions {
  padding-top: .7rem;
}

.rd-ai-form__privacy {
  margin-top: .55rem;
}

@media (min-width: 861px) and (max-height: 820px) {
  .rd-header { min-height: 4.75rem; padding-top: .55rem; padding-bottom: .55rem; }
  .rd-hero--assistant { min-height: calc(100svh - 4.75rem); padding-top: 1rem; padding-bottom: 1.25rem; }
  .rd-assistant__intro { margin-bottom: .8rem; }
  .rd-assistant__intro .rd-eyebrow { font-size: .66rem; }
  .rd-hero--assistant h1 { margin: .25rem 0 .5rem; font-size: clamp(2.55rem, 4.7vw, 4.35rem); }
  .rd-hero--assistant .rd-lead { font-size: 1rem; line-height: 1.42; }
  .rd-ai-form { padding: .85rem 1rem; }
  .rd-ai-form textarea { min-height: 6rem; max-height: 7.4rem; }
  .rd-ai-form__privacy { font-size: .64rem; }
}

@media (max-width: 860px) {
  .rd-hero--assistant {
    min-height: calc(100svh - 4.6rem);
    padding-top: 1.6rem;
    padding-bottom: 2.5rem;
  }
  .rd-assistant__intro { margin-bottom: 1rem; }
  .rd-hero--assistant h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
}

@media (max-width: 620px) {
  .rd-hero--assistant { padding-top: 1.25rem; }
  .rd-hero--assistant h1 { margin: .3rem 0 .65rem; font-size: clamp(2.75rem, 14vw, 4rem); }
  .rd-hero--assistant .rd-lead { font-size: .96rem; line-height: 1.45; }
  .rd-ai-form textarea { min-height: 8.5rem; }
}

/* ========================================================================== 
   V2.4 — hero visually centered + estimate-first wording
   ========================================================================== */

@media (min-width: 861px) {
  .rd-hero--assistant {
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .rd-assistant {
    transform: translateY(-7vh);
  }

  /* Kun arvio avautuu, pitkä sisältö palaa normaaliin yläreunaan. */
  .rd-hero--assistant.has-assessment-result {
    align-items: flex-start;
    padding-top: 2.25rem;
  }

  .rd-hero--assistant.has-assessment-result .rd-assistant {
    transform: none;
  }
}

@media (min-width: 861px) and (max-height: 820px) {
  .rd-assistant { transform: translateY(-4.5vh); }
}

/* ========================================================================== 
   V2.7 — pelkistetty arviohero + info-ikoni
   ========================================================================== */

.rd-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rd-assistant__intro {
  max-width: 62rem;
  margin-bottom: clamp(.75rem, 1.7vh, 1.1rem);
}

.rd-hero--assistant h1 {
  max-width: 62rem;
  margin: .35rem auto 0;
  font-size: clamp(2.8rem, 5.6vw, 5.7rem);
  line-height: .93;
}

.rd-ai-form {
  overflow: visible;
}

.rd-ai-form textarea {
  min-height: clamp(7.8rem, 17vh, 10.2rem);
  padding: .35rem 3.1rem .8rem .15rem;
}

.rd-assessment-info {
  position: absolute;
  z-index: 12;
  top: .85rem;
  right: .9rem;
}

.rd-assessment-info > summary {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  color: rgba(9,47,42,.62);
  background: rgba(244,241,232,.72);
  border: 1px solid rgba(9,47,42,.17);
  border-radius: 50%;
  font-family: var(--rd-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.rd-assessment-info > summary::-webkit-details-marker { display: none; }
.rd-assessment-info > summary::marker { content: ''; }
.rd-assessment-info > summary:hover,
.rd-assessment-info > summary:focus-visible {
  color: var(--rd-forest);
  background: var(--rd-paper);
  border-color: rgba(9,47,42,.32);
  outline: none;
}

.rd-assessment-info__panel {
  position: absolute;
  top: 2.55rem;
  right: 0;
  width: min(23rem, calc(100vw - 3rem));
  padding: 1rem 1.05rem;
  color: var(--rd-ink);
  background: var(--rd-paper);
  border: 1px solid var(--rd-line);
  border-radius: .55rem;
  box-shadow: 0 18px 55px rgba(9,47,42,.16);
}

.rd-assessment-info__panel strong {
  display: block;
  margin-bottom: .4rem;
  font-size: .78rem;
}

.rd-assessment-info__panel p {
  margin: .45rem 0 0;
  color: rgba(9,47,42,.66);
  font-size: .74rem;
  line-height: 1.55;
}

.rd-assessment-info__panel a {
  border-bottom: 1px solid rgba(9,47,42,.3);
}

.rd-ai-form__actions > p {
  max-width: 34rem;
}

.rd-ai-questions {
  padding: 1rem 1.15rem;
}

.rd-ai-questions ul {
  margin: .2rem 0 0;
  padding-left: 1.1rem;
  color: rgba(9,47,42,.68);
  font-size: .82rem;
  line-height: 1.55;
}

.rd-ai-questions li + li {
  margin-top: .35rem;
}

@media (min-width: 861px) {
  .rd-hero--assistant {
    align-items: center;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .rd-assistant {
    transform: none;
  }
}

@media (min-width: 861px) and (max-height: 820px) {
  .rd-assistant { transform: none; }
  .rd-hero--assistant h1 { font-size: clamp(2.7rem, 4.9vw, 4.65rem); }
  .rd-ai-form textarea { min-height: 6.8rem; max-height: 8rem; }
}

@media (max-width: 620px) {
  .rd-hero--assistant {
    padding-top: 1.4rem;
    padding-bottom: 2.2rem;
  }

  .rd-assistant__intro {
    margin-bottom: .8rem;
  }

  .rd-hero--assistant h1 {
    margin-top: .25rem;
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: .91;
  }

  .rd-ai-form textarea {
    min-height: 9.3rem;
    padding-right: 2.7rem;
  }

  .rd-assessment-info {
    top: .75rem;
    right: .75rem;
  }

  .rd-assessment-info__panel {
    right: -.1rem;
    width: min(20rem, calc(100vw - 3.1rem));
  }

  .rd-ai-form__actions {
    gap: .8rem;
  }
}


/* ==========================================================================
   V3.0 — yksi kysymys, selkeämpi konteksti
   ========================================================================== */

.rd-assistant__intro {
  padding-bottom: 1rem;
}

.rd-assistant__intro .rd-eyebrow {
  margin-bottom: .55rem;
}

.rd-assistant__intro .rd-lead {
  max-width: 51rem;
  margin: .9rem auto 0;
  color: rgba(9,47,42,.68);
}

.rd-ai-form__question {
  padding-right: 2.75rem;
  margin-bottom: .65rem;
}

.rd-ai-form__question .rd-ai-form__label {
  margin-bottom: .2rem;
  color: var(--rd-ink);
  font-size: clamp(.92rem, 1.15vw, 1.02rem);
  font-weight: 850;
}

.rd-ai-form__hint {
  margin: 0;
  color: rgba(9,47,42,.50);
  font-size: .74rem;
  line-height: 1.45;
}

.rd-ai-form > textarea {
  min-height: clamp(7.5rem, 16vh, 10rem);
  padding-top: .15rem;
}

@media (min-width: 861px) and (max-height: 820px) {
  .rd-assistant__intro { padding-bottom: .6rem; }
  .rd-assistant__intro .rd-lead { margin-top: .65rem; font-size: .96rem; }
  .rd-ai-form__question { margin-bottom: .45rem; }
  .rd-ai-form > textarea { min-height: 6.5rem; max-height: 8rem; }
}

@media (max-width: 620px) {
  .rd-assistant__intro { padding-bottom: .65rem; }
  .rd-assistant__intro .rd-lead { margin-top: .75rem; font-size: .95rem; }
  .rd-ai-form__question { padding-right: 2.4rem; }
  .rd-ai-form > textarea { min-height: 9rem; }
}


/* ==========================================================================
   V3.3 — mobile overflow hardening
   ========================================================================== */

@media (max-width: 680px) {
  /* Koriste ei saa kasvattaa dokumentin laskennallista leveyttä. */
  .rd-hero--assistant { overflow-x: clip; }
  .rd-hero--assistant::before {
    width: min(34rem, 100vw);
    height: auto;
    aspect-ratio: 1;
  }
}
