/* Public front page. Workspace and editor styles remain independent. */
:root { --landing-ink: #071735; --landing-muted: #455c83; --landing-blue: #1265ff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--landing-ink); background: #fbfdff; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 15px 20px; background: white; z-index: 20; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.hero-scene { isolation: isolate; position: relative; overflow: hidden; background: linear-gradient(110deg, #fff6e8 15%, #d5e4f0 57%, #a4c8e4); padding-top: 94px; }
/* Leave a quiet band of sky above the horizon; keep the village on the right. */
.hero-landscape { position: absolute; z-index: -3; inset: auto 0 0; height: calc(100% - 90px); width: 100%; object-fit: cover; object-position: center top; mask-image: linear-gradient(to bottom, transparent, #000 70px); }
.hero-scene::after { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #fff 0%, #fffffff5 24%, #ffffffe0 35%, #ffffff8c 46%, #ffffff00 67%), linear-gradient(180deg, #ffffff40, transparent 30%); }
/* Keep the supplied transparent cloud separate from the still landscape. */
.hero-cloud { position: absolute; z-index: -1; top: 24px; right: clamp(70px, 8vw, 180px); width: min(500px, 43vw); height: auto; opacity: .9; pointer-events: none; user-select: none; transform-origin: center; animation: cloud-float 11s ease-in-out infinite; }
@keyframes cloud-float {
  0%, 100% { transform: translate3d(0, 3px, 0) rotate(-.2deg); }
  50% { transform: translate3d(2px, -4px, 0) rotate(.2deg); }
}
.site-header { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 38px; height: 94px; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand img { width: 61px; height: auto; display: block; }
.brand .subnet-wordmark { font-size: 36px; font-weight: 600; color: var(--landing-ink); }
.brand .subnet-wordmark > span { color: #1470ff; }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a { font-size: 14px; font-weight: 500; padding-block: 12px; white-space: nowrap; transition: color .18s; }
.main-nav a:hover, .site-footer nav a:hover { color: var(--landing-blue); }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--landing-ink); border: none; border-radius: 8px; background: transparent; flex-shrink: 0; }
.icon-button:hover { background: #156cff0b; }
.icon-button svg { width: 23px; height: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.35; transition: background .18s, box-shadow .18s, transform .18s; white-space: nowrap; }
.button svg, .text-link svg { width: 21px; height: 21px; flex-shrink: 0; }
.button:hover { transform: translateY(-1px); }
.primary { color: white; background: linear-gradient(135deg, #2181ff, #1260fa); box-shadow: 0 4px 14px #216dff12; border-color: #448aff55; }
.primary:hover { background: #0858e7; box-shadow: 0 6px 18px #216dff25; }
.secondary { color: #0962fa; border-color: #86b1ff; background: #ffffffa3; }
.secondary:hover { background: #fff; border-color: var(--landing-blue); }
.dark { background: #193354; color: white; border-color: #2a4567; }
.dark:hover { background: #0e2748; }
.outline { color: #17345a; border-color: #a6bbd7; background: #fff8; }
.outline:hover { background: white; border-color: #5d83b6; }
.header-workspace { min-height: 44px; padding: 11px 25px; }
.menu-toggle { display: none; }
.hero { min-height: 505px; padding-top: 31px; padding-bottom: 34px; position: relative; }
.hero-copy { max-width: 660px; }
.eyebrow { color: #286dff; font-size: 12px; line-height: 1.5; letter-spacing: 2.2px; font-weight: 500; margin: 0 0 9px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(47px, 4.55vw, 68px); line-height: 1.01; font-weight: 600; letter-spacing: -3.3px; margin: 0 0 14px; }
.hero h2 { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.3; font-weight: 600; letter-spacing: -.8px; margin: 0 0 18px; text-wrap: initial; }
.hero-description { max-width: 495px; color: var(--landing-muted); font-size: 18px; line-height: 1.45; margin: 0 0 23px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-footnote { font-size: 13px; color: #455e87; line-height: 1.7; margin: 23px 0 0; }
.hero-footnote span { white-space: nowrap; }
.hero-motto { position: absolute; bottom: 23px; right: 8px; color: #fffdf6; font: italic 27px/1.2 Georgia, 'Times New Roman', serif; text-align: right; text-shadow: 0 2px 6px #10223fcc, 0 1px 20px #10223f99; margin: 0; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 34px; gap: 0; }
.principles article { display: flex; align-items: flex-start; gap: 19px; padding: 0 25px; border-right: 1px solid #d9e4f1; }
.principles article:first-child { padding-left: 0; }
.principles article:last-child { border-right: 0; padding-right: 0; }
.principles svg { width: 47px; height: 47px; flex-shrink: 0; stroke-width: 2; color: #0c1d40; }
.principles h2 { font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: -.4px; margin: 0 0 6px; text-wrap: initial; }
.principles p { color: var(--landing-muted); font-size: 13px; line-height: 1.4; margin: 0; }
.principles .cloud-files-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 7px; }
.ai-badge { display: inline-flex; align-items: center; flex-shrink: 0; padding: 2px 6px; border: 1px solid #c9ddff; border-radius: 5px; background: #edf5ff; color: #155dc0; font-size: 10px; font-weight: 600; line-height: 1.2; letter-spacing: .1px; white-space: nowrap; }
.agent-spark { color: var(--landing-blue); fill: #edf5ff; }
.estonian-flag { margin-top: 1px; display: block; width: 47px; height: 47px; flex-shrink: 0; border-radius: 50%; border: 3px solid #e3edfc; box-shadow: 0 0 0 1px #b7cef055, inset 0 0 8px #071d3330; background: linear-gradient(#1879f9 0 33.333%, #111b2b 33.333% 66.666%, #fff 66.666%); }
.content-panels { width: min(1356px, calc(100% - 88px)); }
.soft-panel { background: linear-gradient(118deg, #f0f7fc 0%, #f6faff 48%, #eef7fe 100%); border: 1px solid #edf5fc; border-radius: 18px; }
.tools-panel { padding: 24px 30px 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.section-heading .eyebrow { margin-bottom: 3px; }
.section-heading h2, .technology-copy h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -1.6px; margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #0862ff; font-size: 14px; line-height: 1.5; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.tools-grid { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(174px, 19vw, 224px); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; padding: 6px 3px 12px; margin-inline: -3px; scrollbar-width: thin; scrollbar-color: #bdcee6 transparent; cursor: grab; scroll-behavior: auto; }
.tools-grid.is-dragging, .tools-grid.is-dragging a { cursor: grabbing; }
.tools-grid.is-dragging .tool-card { transform: none; }
.tools-grid:focus-visible { outline: 2px solid var(--landing-blue); outline-offset: 4px; border-radius: 12px; }
.tools-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; min-height: 36px; }
.tools-toolbar p { margin: 0; color: var(--landing-muted); font-size: 12px; }
.tools-toolbar .tools-divider { margin-inline: 7px; }
.tools-controls { display: flex; gap: 6px; }
.tools-controls[hidden] { display: none; }
.tools-controls .icon-button { width: 36px; height: 36px; border: 1px solid #d9e5f3; border-radius: 50%; background: #ffffffa6; color: #32629f; }
.tools-controls .icon-button:hover:not(:disabled) { background: #e7f1ff; border-color: #abcafa; }
.tools-controls .icon-button:disabled { opacity: .35; cursor: default; }
.tools-controls svg { width: 18px; height: 18px; }
.tool-card { --tool-bg: #edf5ff; --tool-border: #dceaff; --tool-color: #397acb; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 152px; padding: 20px 10px 17px; border-radius: 12px; border: 1px solid var(--tool-border); background: var(--tool-bg); transition: transform .2s, box-shadow .2s; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px #2446700c; }
.tool-card .tool-icon { color: var(--tool-color); width: 46px; height: 46px; stroke-width: 2.7; filter: drop-shadow(0 2px 0 #fff); margin-bottom: 10px; }
.tool-card h3 { color: #0a1d3c; font-size: 17px; font-weight: 600; letter-spacing: -.55px; margin: 0 0 5px; }
.tool-card p { color: var(--landing-muted); font-size: 13px; line-height: 1.4; margin: 0; text-align: center; }
.tool-arrow { position: absolute; top: 8px; right: 13px; color: var(--tool-color); opacity: 0; transition: opacity .2s; }
.tool-card:hover .tool-arrow, .tool-card:focus-visible .tool-arrow { opacity: 1; }
.tool-photocraft { --tool-bg: linear-gradient(125deg, #fff0eb, #fff5f1); --tool-color: #ff6944; --tool-border: #ffe9e1; }
.tool-pdfcraft { --tool-bg: linear-gradient(125deg, #fcecf0, #fff3f2); --tool-color: #ff424b; --tool-border: #ffe6e7; }
.tool-wordcraft { --tool-bg: linear-gradient(125deg, #e7f1ff, #edf7ff); --tool-color: #176eff; --tool-border: #dceeff; }
.tool-deckcraft { --tool-bg: linear-gradient(125deg, #fff4e6, #fdf7ee); --tool-color: #ff9700; --tool-border: #f9edde; }
.tool-soundcraft { --tool-bg: linear-gradient(125deg, #efeafe, #f4f2ff); --tool-color: #8022ff; --tool-border: #e8e3ff; }
.tool-cadcraft { --tool-bg: linear-gradient(125deg, #e6f6f8, #f0fbfb); --tool-color: #168b9b; --tool-border: #d6edf1; }
.tool-gridcraft { --tool-bg: linear-gradient(125deg, #eaf6ed, #f3faf2); --tool-color: #31935f; --tool-border: #dbefdf; }
.tool-figcraft { --tool-bg: linear-gradient(125deg, #fcecf5, #fff5fa); --tool-color: #bc4c91; --tool-border: #f3ddea; }
.technology-panel { display: grid; grid-template-columns: .95fr 1.12fr; gap: 14px; align-items: center; padding: 24px 30px 22px; margin-top: 15px; margin-bottom: 16px; overflow: hidden; }
.technology-copy .eyebrow { margin-bottom: 5px; }
.technology-copy h2 { font-size: clamp(28px, 2.85vw, 39px); margin-bottom: 14px; }
.body-copy { font-size: 16px; line-height: 1.4; color: var(--landing-muted); max-width: 540px; margin-bottom: 17px; }
.technology-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.technology-buttons .button { min-height: 42px; padding: 10px 19px; font-size: 13px; }
.architecture { width: 100%; min-width: 0; margin: 0; display: grid; grid-template-columns: 53% 47%; align-items: center; }
.architecture-diagram { width: 100%; height: auto; display: block; overflow: visible; }
.architecture-layer { --layer-glow: #d8b16a55; translate: 0 var(--layer-offset, 0px); opacity: .9; filter: saturate(.85) brightness(1) drop-shadow(0 0 10px transparent); cursor: pointer; transition: opacity 1.4s ease, filter 1.4s ease; }
.architecture-layer[data-layer="environment"] { --layer-glow: #70aaff66; }
.architecture-layer[data-layer="protocol"] { --layer-glow: #8bb5e066; }
.architecture.has-active .architecture-layer { opacity: .6; filter: saturate(.65) brightness(1) drop-shadow(0 0 10px transparent); }
.architecture.has-active .architecture-layer.is-active { opacity: 1; filter: saturate(1.1) brightness(1.04) drop-shadow(0 0 10px var(--layer-glow)); }
.architecture-labels { position: relative; display: grid; grid-template-rows: repeat(3, 1fr); min-height: 340px; padding-block: 17px; }
.architecture-label { --layer-color: #855b24; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 9px 8px 9px 22px; margin: 0; border: 0; border-radius: 8px; background: transparent; color: #3a4c65; text-align: left; font: inherit; cursor: pointer; transition: color 1.4s ease, opacity 1.4s ease; }
.architecture-label::before { content: ''; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--layer-color); opacity: .6; transform: translateY(-50%); transition: opacity 1.4s ease, box-shadow 1.4s ease; }
.architecture-label[data-layer="environment"] { --layer-color: #165fae; }
.architecture-label[data-layer="protocol"] { --layer-color: #314d70; }
.architecture.has-active .architecture-label { opacity: .84; }
.architecture.has-active .architecture-label.is-active { color: var(--layer-color); opacity: 1; }
.architecture-label.is-active::before { opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--layer-color) 10%, transparent), 0 0 12px color-mix(in srgb, var(--layer-color) 25%, transparent); }
.architecture-label:focus-visible { outline: 2px solid #88afe1; outline-offset: 3px; }
.layer-title, .layer-note { display: block; }
.layer-title { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.3px; }
.layer-note { margin-top: 4px; color: #405571; font-size: 12px; line-height: 1.4; transition: color 1.4s ease; }
.architecture-label.is-active .layer-note { color: #293f5b; }
.roadmap-panel { padding: 29px 30px 23px; margin-bottom: 16px; }
.roadmap-heading h2 { font-size: clamp(27px, 2.6vw, 36px); line-height: 1.18; font-weight: 600; letter-spacing: -1.2px; margin-bottom: 10px; text-wrap: initial; }
.roadmap-heading > p:last-child { color: var(--landing-muted); font-size: 15px; line-height: 1.5; margin-bottom: 23px; }
.roadmap-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 14px; }
.roadmap-stage { min-width: 0; padding: 20px; border: 1px solid #dfe9f5; border-radius: 12px; background: #ffffff9c; }
.roadmap-stage.is-current { background: #e8f2ff; border-color: #bad5fc; }
.stage-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.stage-number { font: 500 25px/1 var(--font-ui); color: #6284ae; letter-spacing: -1px; }
.is-current .stage-number { color: var(--landing-blue); }
.stage-status { color: #345982; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: 1.1px; }
.roadmap-stage h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.5px; margin-bottom: 10px; text-wrap: initial; }
.roadmap-stage h3 a { text-decoration: underline; text-decoration-color: #aec6e7; text-underline-offset: 4px; }
.roadmap-stage h3 a:hover { color: var(--landing-blue); }
.roadmap-stage h3 a span { color: #6284ae; font-size: 15px; }
.roadmap-stage > p { color: var(--landing-muted); font-size: 13px; line-height: 1.65; margin: 0; }
.roadmap-source { margin-top: 14px; font-size: 12px; }
.roadmap-timing { color: var(--landing-muted); font-size: 12px; line-height: 1.6; margin: 17px 0 14px; }
.demo-note { color: #495c76; font-size: 12px; line-height: 1.6; border-top: 1px solid #dce7f3; padding-top: 13px; margin: 0; }
.info-dialog .dialog-subtitle { font-size: 18px; line-height: 1.4; margin: 24px 0 8px; }
.faq-list .text-link { margin-top: 12px; }
.creative-banner { position: relative; isolation: isolate; min-height: 282px; overflow: hidden; background: #e9d8be; }
.creative-banner > img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.creative-banner::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, #f6efded4 0%, #f9efdba6 23%, transparent 39%, transparent 79%, #fff4e894 93%, #fff6eacc 100%); }
.creative-content { display: flex; align-items: center; justify-content: space-between; min-height: 282px; padding-block: 30px; gap: 30px; }
.creative-copy { max-width: 320px; }
.creative-copy h2 { font-size: 30px; line-height: 1.1; letter-spacing: -1.2px; font-weight: 600; margin-bottom: 11px; }
.creative-copy p { font-size: 14px; line-height: 1.45; color: #284568; margin-bottom: 14px; }
.creative-copy .button { min-height: 41px; padding: 9px 20px; font-size: 13px; }
.creative-content blockquote { margin: 0; padding-top: 10px; text-align: center; color: #132746; font: italic 25px/1.25 Georgia, 'Times New Roman', serif; }
.creative-content blockquote span { display: block; width: 30px; height: 1px; background: #7b8a97; margin: 24px auto 18px; }
.creative-content cite { font-size: 20px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 95px; }
.footer-brand { display: inline-flex; gap: 8px; align-items: center; }
.footer-brand > img { width: 46px; height: auto; }
.footer-brand .subnet-wordmark { font-size: 22px; display: block; line-height: 1.1; }
.footer-brand small { color: #5c7195; font-size: 9px; display: block; margin-top: 2px; }
.site-footer nav { display: flex; align-items: center; gap: 30px; color: #455a80; font-size: 12px; }
.footer-efti { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 11px; font-weight: 600; letter-spacing: .08em; opacity: .8; transition: opacity .18s, color .18s; }
.footer-efti img { display: block; width: 32px; height: auto; border-radius: 50%; }
.footer-efti:hover, .footer-efti:focus-visible { opacity: 1; }
.footer-meta { display: flex; align-items: center; gap: 24px; }
.language { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.mini-flag { display: inline-block; width: 16px; height: 11px; border: 1px solid #dbe3ee; background: linear-gradient(#2879ed 0 33.333%, #111b2b 33.333% 66.666%, #fff 66.666%); }
.info-dialog { position: fixed; border: 1px solid #dae5f3; border-radius: 20px; background: #fbfdff; color: var(--landing-ink); width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 39px; box-shadow: 0 24px 100px #0a214c33; }
.info-dialog::backdrop { background: #07173566; backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 12px; top: 11px; font: 30px/1 var(--font-ui); }
.info-dialog .eyebrow { margin: 6px 30px 10px 0; font-size: 11px; }
.info-dialog h2 { font-size: 30px; letter-spacing: -1px; line-height: 1.15; margin: 0 0 22px; }
.info-dialog > p:not(.eyebrow), .steps p, .faq-list p { font-size: 15px; line-height: 1.7; color: var(--landing-muted); }
.info-dialog > .button { margin-top: 8px; }
.steps { list-style: none; padding: 0; counter-reset: step; margin: 0; }
.steps li { position: relative; padding-left: 43px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; color: #1470ff; font-size: 14px; font-weight: 600; }
.steps h3 { font-size: 17px; margin: 0 0 5px; }
.steps p { margin: 0 0 22px; }
.faq-list details { padding: 18px 0; border-top: 1px solid #dbe6f2; }
.faq-list summary { font-size: 15px; font-weight: 500; cursor: pointer; line-height: 1.5; }
.faq-list p { margin: 12px 0 0; }
@media (min-width: 1600px) { .hero { min-height: 540px; padding-top: 48px; } .hero-cloud { top: 24px; width: 530px; right: max(160px, calc((100vw - 1260px) / 2)); } .hero-scene::after { background: linear-gradient(90deg,#fff 7%,#fffffff9 28%,#ffffffaa 41%,transparent 60%); } }
@media (max-width: 1200px) {
  .hero-scene { padding-top: 84px; }
  .container { width: calc(100% - 88px); }
  .site-header { gap: 28px; height: 84px; }
  .brand img { width: 51px; } .brand .subnet-wordmark { font-size: 31px; }
  .main-nav { gap: 22px; } .main-nav a { font-size: 13px; }
  .header-actions { gap: 14px; }
  .header-workspace { padding: 10px 21px; font-size: 14px; }
  .hero { min-height: 465px; padding-top: 27px; }
  h1 { font-size: 57px; letter-spacing: -2.8px; }
  .hero h2 { font-size: 23px; }
  .hero-description { max-width: 445px; font-size: 17px; }
  .hero-copy { max-width: 575px; }
  .hero-cloud { right: 8%; width: 43vw; top: 20px; }
  .hero-footnote { font-size: 12px; }
  .principles { padding-block: 30px; } .principles article { gap: 14px; padding-inline: 20px; }
  .principles h2 { font-size: 13px; } .principles p { font-size: 12px; }
  .principles svg, .estonian-flag { width: 44px; height: 44px; }
  .content-panels { width: calc(100% - 72px); }
  .tools-panel { padding: 22px 25px; }
  .tool-card { min-height: 143px; } .tools-grid { gap: 16px; }
  .tool-card h3 { font-size: 16px; } .tool-card p { font-size: 12px; }
  .technology-panel { padding: 22px 25px; grid-template-columns: .9fr 1.1fr; }
  .body-copy { font-size: 15px; }
  .creative-copy h2 { font-size: 28px; }
  .creative-content blockquote { font-size: 23px; }
}
@media (max-width: 1020px) {
  .site-header { gap: 22px; } .main-nav { gap: 17px; } .main-nav a { font-size: 12px; }
  .brand img { width: 44px; } .brand .subnet-wordmark { font-size: 28px; }
  .header-actions { gap: 8px; } .header-workspace { font-size: 13px; padding-inline: 17px; }
  .hero h2 { font-size: 21px; } h1 { font-size: 53px; }
  .hero-description { max-width: 405px; } .hero-motto { font-size: 24px; }
  .principles article { gap: 10px; padding-inline: 14px; } .principles h2 { font-size: 12px; }
  .principles svg, .estonian-flag { width: 38px; height: 38px; }
  .tool-card p { font-size: 11px; } .tool-card h3 { font-size: 15px; }
  .technology-panel { grid-template-columns: 1fr 1.13fr; gap: 0; }
  .technology-buttons { gap: 8px; } .technology-buttons .button { font-size: 12px; padding-inline: 13px; }
  .creative-content blockquote { font-size: 21px; }
}
@media (max-width: 860px) {
  .hero-scene { padding-top: 78px; }
  .container { width: calc(100% - 48px); } .content-panels { width: calc(100% - 32px); }
  .site-header { height: 78px; } .brand img { width: 47px; } .brand .subnet-wordmark { font-size: 29px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; }
  .menu-toggle span { width: 20px; height: 1.5px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 12px; background: #fffffff5; border: 1px solid #dbe7f5; border-radius: 12px; box-shadow: 0 15px 35px #12294715; }
  .main-nav.is-open { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav a { padding: 13px 15px; font-size: 15px; }
  .main-nav a:hover { background: #edf5ff; border-radius: 6px; }
  .hero { padding-top: 26px; min-height: 495px; } h1 { font-size: 53px; }
  .hero h2 { font-size: 20px; max-width: 355px; }
  .hero-landscape { object-position: right top; }
  .hero-cloud { width: 43vw; right: 1%; top: 73px; }
  .hero-scene::after { background: linear-gradient(90deg, #fff 0%, #fffffff5 25%, #ffffffb5 46%, #ffffff00 78%); }
  .hero-description { max-width: 365px; font-size: 16px; }
  .hero-motto { right: 0; font-size: 22px; }
  .hero-buttons .button { padding-inline: 19px; font-size: 14px; }
  .hero-footnote { max-width: 310px; } .hero-footnote span { white-space: normal; }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding-block: 27px; }
  .principles article { padding-inline: 25px; gap: 17px; }
  .principles article:nth-child(2) { border-right: 0; }
  .principles article:nth-child(3) { padding-left: 0; }
  .principles h2 { font-size: 14px; } .principles p { font-size: 13px; }
  .principles svg, .estonian-flag { width: 44px; height: 44px; }
  .tools-panel { padding: 24px; } .section-heading h2 { font-size: 30px; }
  .section-heading .text-link { font-size: 12px; }
  .tools-grid { gap: 10px; } .tool-card { padding-inline: 4px; min-height: 137px; }
  .tool-card h3 { font-size: 14px; } .tool-card p { font-size: 10px; }
  .tool-card .tool-icon { width: 40px; height: 40px; }
  .technology-panel { grid-template-columns: 1fr; padding: 28px 30px 12px; }
  .technology-copy h2 { font-size: 35px; } .body-copy { max-width: 100%; font-size: 16px; }
  .architecture { max-width: 590px; margin-inline: auto; }
  .creative-copy h2 { font-size: 25px; } .creative-copy p { font-size: 13px; }
  .creative-content blockquote { display: none; }
  .creative-banner::after { background: linear-gradient(90deg,#f9efdedb 0%,#f9efdeb5 25%,transparent 57%); }
  .creative-banner > img { object-position: 56% center; }
  .site-footer { flex-wrap: wrap; padding-block: 22px; gap: 22px; }
  .site-footer nav { gap: 22px; } .footer-meta { gap: 10px; }
}
@media (max-width: 580px) {
  .hero-scene { padding-top: 74px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 74px; gap: 10px; } .brand { gap: 5px; } .brand img { width: 40px; } .brand .subnet-wordmark { font-size: 26px; }
  .header-actions { gap: 2px; } .header-workspace { min-height: 38px; padding: 9px 12px; font-size: 12px; }
  .menu-toggle { width: 33px; }
  .hero { padding-top: 28px; min-height: 770px; padding-bottom: 312px; }
  .hero-copy { max-width: 100%; }
  .eyebrow { font-size: 10px; letter-spacing: 1.7px; }
  h1 { font-size: clamp(37px, 9.2vw, 53px); letter-spacing: -1.9px; line-height: 1.04; margin-bottom: 14px; }
  .hero h2 { font-size: 19px; line-height: 1.35; max-width: 100%; margin-bottom: 14px; letter-spacing: -.55px; }
  .hero-description { font-size: 15px; line-height: 1.55; max-width: 100%; margin-bottom: 20px; }
  .hero-buttons { gap: 10px; } .hero-buttons .button { font-size: 13px; padding: 12px 16px; min-height: 46px; gap: 8px; }
  .hero-footnote { margin-top: 17px; max-width: 100%; font-size: 11px; line-height: 1.7; }
  .hero-landscape { height: 340px; width: 100%; object-position: right top; mask-image: linear-gradient(to bottom, transparent, #000 55px); }
  .hero-cloud { width: min(310px, 78%); right: 12%; top: auto; bottom: 195px; }
  .hero-scene::after { background: linear-gradient(180deg,#fff 0%,#fff calc(100% - 390px),#fffffff2 calc(100% - 350px),#ffffff33 calc(100% - 295px),#ffffff00 calc(100% - 265px)); }
  .hero-motto { bottom: 15px; right: 0; font-size: 21px; }
  .principles { padding-block: 26px; gap: 25px 0; }
  .principles article { padding-inline: 13px; gap: 10px; }
  .principles svg, .estonian-flag { width: 32px; height: 32px; }
  .principles h2 { font-size: 12px; letter-spacing: -.25px; margin-bottom: 5px; }
  .principles p { font-size: 11px; line-height: 1.5; }
  .principles p br { display: none; }
  .content-panels { width: calc(100% - 24px); }
  .tools-panel { padding: 23px 17px 18px; }
  .section-heading { display: block; margin-bottom: 17px; }
  .section-heading h2 { font-size: 28px; letter-spacing: -1.25px; }
  .section-heading .text-link { font-size: 12px; margin-top: 12px; }
  .tools-grid { grid-auto-columns: 174px; gap: 11px; }
  .tool-card { min-height: 137px; padding: 18px 8px; }
  .tool-card h3 { font-size: 16px; } .tool-card p { font-size: 12px; }
  .tools-toolbar p { max-width: 150px; font-size: 11px; line-height: 1.6; }
  .tools-toolbar .tools-count { display: block; }
  .tools-toolbar .tools-divider { display: none; }
  .technology-panel { padding: 25px 19px 15px; margin-top: 13px; margin-bottom: 14px; }
  .technology-copy h2 { font-size: 31px; letter-spacing: -1.2px; }
  .body-copy { font-size: 14px; line-height: 1.55; }
  .technology-buttons { gap: 10px; } .technology-buttons .button { padding-inline: 12px; font-size: 12px; }
  .architecture { margin-top: 20px; grid-template-columns: 46% 54%; }
  .architecture-labels { min-height: 260px; padding-block: 0; }
  .architecture-label { padding-left: 17px; padding-right: 0; }
  .architecture-label::before { left: 3px; width: 5px; height: 5px; }
  .layer-title { font-size: 12px; }
  .layer-note { font-size: 11px; }
  .creative-banner { min-height: 480px; }
  .creative-banner > img { height: 260px; bottom: 0; object-position: 55% center; }
  .creative-banner::after { background: linear-gradient(180deg,#f6eddf 0%,#f6eddf 43%,#f6eddfa1 51%,transparent 64%); }
  .creative-content { min-height: 480px; align-items: flex-start; padding-block: 29px; }
  .creative-copy h2 { font-size: 29px; line-height: 1.12; }
  .creative-copy p { font-size: 13px; } .creative-copy p br { display: none; }
  .creative-copy { max-width: 325px; }
  .site-footer { gap: 20px; padding-block: 24px; }
  .footer-brand .subnet-wordmark { font-size: 23px; }
  .site-footer nav { order: 3; width: 100%; justify-content: space-between; padding-top: 17px; border-top: 1px solid #e6edf5; gap: 15px; font-size: 11px; }
  .info-dialog { padding: 30px 24px; } .info-dialog h2 { font-size: 27px; }
}
@media (max-width: 375px) { .container { width: calc(100% - 30px); } .brand .subnet-wordmark { font-size: 25px; } .hero h2 { font-size: 18px; } .hero-buttons .button { padding-inline: 13px; font-size: 12px; } .principles article { gap: 8px; padding-right: 9px; } .technology-buttons { gap: 7px; } .technology-buttons .button { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-cloud { animation: none; transform: none; } *, *::before, *::after { transition: none !important; } }

/* Keep the longer first-cloud headline and language control within the layout. */
.hero-copy h1 { max-width: 680px; font-size: clamp(42px, 4.1vw, 62px); }
html[lang="en"] .hero-copy h1 { font-size: clamp(40px, 3.9vw, 59px); }
@media (min-width: 861px) and (max-width: 1200px) {
  .site-header { gap: 20px; }
  .main-nav { gap: 15px; }
  .header-actions { gap: 7px; }
  .header-workspace { padding-inline: 15px; }
}
@media (max-width: 540px) {
  .header-workspace { display: none; }
  .hero-copy h1, html[lang="en"] .hero-copy h1 { font-size: clamp(34px, 8.8vw, 46px); letter-spacing: -1.6px; }
  .hero-footnote span { white-space: normal; }
}

.main-nav .mobile-workspace { display: none; }
@media (max-width: 540px) { .main-nav .mobile-workspace { display: block; color: var(--landing-blue); } }

@media (max-width: 860px) {
  .roadmap-panel { padding: 26px 24px 21px; }
  .roadmap-stages { grid-template-columns: 1fr; gap: 12px; }
  .roadmap-stage { padding: 19px 21px; }
  .stage-heading { margin-bottom: 12px; }
}
@media (max-width: 580px) {
  .roadmap-panel { padding: 25px 19px 20px; margin-bottom: 14px; }
  .roadmap-heading h2 { font-size: 28px; letter-spacing: -1px; }
  .roadmap-heading > p:last-child { font-size: 14px; }
  .roadmap-stage { padding: 18px; }
}
