:root {
  --bg: #101010;
  --panel: #171717;
  --panel-2: #1d1d1d;
  --text: #f2efe8;
  --muted: #a4a4a4;
  --line: #2e2e2e;
  --accent: #ef3f43;
  --accent-dark: #cf3034;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(16,16,16,.94);
  backdrop-filter: blur(10px);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: -.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-links a {
  color: #c4c4c4;
  font-size: 14px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: white; }
.nav-cta {
  margin-left: 10px;
  padding: 9px 14px;
  border: 1px solid #424242;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}
.nav-cta:hover { border-color: #666; background: #181818; }

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 690px;
  padding: 105px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, .65fr);
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.kicker, .section-label, .project-type {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 830px;
  font-size: clamp(56px, 7vw, 100px);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 820;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-text {
  max-width: 690px;
  margin: 30px 0 0;
  color: #bdbdbd;
  font-size: 19px;
  line-height: 1.75;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border-color: #3d3d3d; color: #dedede; }
.button-ghost:hover { border-color: #606060; background: #171717; }

.hero-side {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--line);
  background: #141414;
  border-radius: 10px;
}
.hero-side-head {
  padding-bottom: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #d6d6d6;
  font-size: 13px;
  font-weight: 700;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57c785;
}
.hero-list { margin: 0; }
.hero-list div {
  padding: 18px 0;
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.hero-list dt { font-size: 15px; font-weight: 760; }
.hero-list dd { margin: 0; color: var(--muted); font-size: 13px; }
.discord-line {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  color: #c7c7c7;
  font-size: 13px;
}
.discord-line span { display: block; }
.discord-line strong { color: white; font-size: 20px; margin-right: 4px; }
.discord-line small { grid-column: 1 / -1; color: #777; }

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 105px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 45px;
}
.section-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}
.text-link {
  color: #d5d5d5;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.text-link:hover { color: white; }

.intro {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}
.intro-copy { max-width: 900px; }
.intro-copy .lead {
  margin: 30px 0 0;
  color: #d1d1d1;
  font-size: 23px;
  line-height: 1.65;
}
.intro-columns {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.intro-columns p { margin: 0; color: var(--muted); }

.service-list { border-top: 1px solid var(--line); }
.service-row {
  min-height: 150px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 70px 220px 1fr 190px;
  gap: 25px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.service-index { color: #777; font-size: 13px; padding-top: 5px; }
.service-row h3 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.service-row p { max-width: 620px; margin: 0; color: #aaa; }
.service-meta { justify-self: end; color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.project {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 48px;
  align-items: center;
}
.project-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171717;
}
.project-image img { display: block; width: 100%; }
.project-copy h3 { margin: 0 0 20px; font-size: 38px; letter-spacing: -.04em; }
.project-copy > p:not(.project-type) { color: #aaa; }
.project-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}
.project-points li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: #d0d0d0;
  font-size: 14px;
}








.contact {
  display: grid;
  grid-template-columns: .72fr 1.2fr;
  gap: 75px;
  align-items: start;
}
.contact-copy { position: sticky; top: 100px; }
.contact-copy p { max-width: 470px; color: #aaa; }
.contact-alt { margin-top: 25px; font-size: 14px; }
.contact-alt a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141414;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 17px; }
.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: #bcbcbc;
  font-size: 13px;
  font-weight: 650;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #373737;
  border-radius: 6px;
  outline: 0;
  background: #0f0f0f;
  color: white;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #666; }
.contact-form textarea { resize: vertical; min-height: 165px; }
.form-bottom { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; color: #999; font-size: 13px; }
.form-status.is-success { color: #6fd39a; }
.form-status.is-error { color: #ff7777; }
.contact-form button:disabled { opacity: .55; cursor: wait; }

.faq {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}
.faq details p { max-width: 740px; margin: -3px 0 23px; color: #a9a9a9; }

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 45px 0 55px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px 40px;
  align-items: start;
}
.footer-main p { margin: 10px 0 0; color: #777; font-size: 13px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: #aaa; }
.footer-links a:hover { color: white; }
.footer > small { color: #666; font-size: 12px; }

/* Palvelut */
.page-hero {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.06em;
}
.page-hero > p:not(.kicker) { max-width: 720px; margin: 28px 0 32px; color: #aaa; font-size: 19px; }
.detail-list { padding-top: 30px; }
.detail-row {
  padding: 70px 0;
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}
.detail-row:last-child { border-bottom: 0; }
.detail-title span { color: #777; font-size: 12px; }
.detail-title h2 { margin-top: 12px; font-size: 46px; }
.detail-copy { max-width: 700px; }
.detail-copy > p { margin: 0 0 30px; color: #b5b5b5; font-size: 18px; }
.detail-copy h3 { margin: 0 0 12px; font-size: 15px; }
.detail-copy ul { margin: 0; padding-left: 20px; color: #999; }
.detail-copy li { margin: 8px 0; }
.simple-cta {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
}
.simple-cta p { margin-bottom: 0; color: #999; }

.mobile-menu-button, .mobile-overlay, .mobile-panel { display: none; }
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #3d3d3d;
  border-radius: 6px;
  background: #151515;
  color: #ccc;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-inner { justify-content: space-between; }
  .mobile-menu-button {
    margin-left: auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #151515;
  }
  .mobile-menu-button span { width: 18px; height: 2px; display: block; background: #ddd; }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(0,0,0,.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
  }
  .mobile-overlay.open { opacity: 1; pointer-events: auto; }
  .mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(330px, 88vw);
    padding: 88px 24px 30px;
    display: block;
    background: #141414;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .22s ease;
  }
  .mobile-panel.open { transform: translateX(0); }
  .mobile-links { display: grid; }
  .mobile-links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .mobile-discord { margin-top: 25px; display: inline-block; color: #bbb; font-size: 14px; }

  .hero { min-height: auto; padding: 80px 0; grid-template-columns: 1fr; gap: 45px; }
  .hero-side { max-width: 560px; }
  .intro, .faq { grid-template-columns: 1fr; gap: 20px; }
  .service-row { grid-template-columns: 45px 180px 1fr; }
  .service-meta { display: none; }
  .project { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { position: static; }
  .detail-row { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 650px) {
  .nav-inner, .hero, .section, .footer { width: min(100% - 28px, var(--max)); }
  .hero { padding: 65px 0 70px; }
  .hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-text { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .discord-line { grid-template-columns: 1fr; }
  .discord-line small { grid-column: auto; }
  .section { padding: 75px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 32px; }
  .intro-copy .lead { font-size: 20px; }
  .intro-columns { grid-template-columns: 1fr; gap: 15px; }
  .service-row { grid-template-columns: 34px 1fr; gap: 12px 16px; }
  .service-row h3 { font-size: 21px; }
  .service-row p { grid-column: 2; }

  .contact-form { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .page-hero { width: calc(100% - 28px); padding: 80px 0 70px; }
  .page-hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .detail-title h2 { font-size: 38px; }
  .simple-cta { align-items: start; flex-direction: column; }
}

/* =========================================================
   WIDE + COLORFUL REFRESH
   Leveämpi, elävämpi ja houkuttelevampi ilman template-fiilistä
   ========================================================= */
:root {
  --bg: #0a1017;
  --panel: #101923;
  --panel-2: #15212d;
  --panel-warm: #1b1718;
  --text: #f5f1e9;
  --muted: #9facb8;
  --line: rgba(174, 198, 216, .16);
  --line-strong: rgba(174, 198, 216, .28);
  --accent: #f04449;
  --accent-dark: #cf3438;
  --cyan: #55bfd2;
  --cyan-dark: #2e8ea1;
  --gold: #e8b25a;
  --green: #62cf92;
  --max: 1460px;
}

body {
  background:
    linear-gradient(180deg, #0a1017 0%, #0b1219 38%, #091016 100%);
}

.navbar {
  border-bottom-color: rgba(174, 198, 216, .13);
  background: rgba(8, 14, 20, .91);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .14);
}
.nav-inner {
  width: min(var(--max), calc(100% - 56px));
  min-height: 74px;
}
.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(85, 191, 210, .24);
}
.brand span { font-size: 17px; }
.nav-links { gap: 31px; }
.nav-links a { color: #aeb9c3; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  padding: 10px 17px;
  border-color: rgba(240, 68, 73, .48);
  background: rgba(240, 68, 73, .08);
  color: #ffd9d7;
}
.nav-cta:hover {
  border-color: rgba(240, 68, 73, .75);
  background: rgba(240, 68, 73, .15);
}

.hero {
  width: min(var(--max), calc(100% - 56px));
  min-height: 760px;
  padding: 115px 0 100px;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .62fr);
  gap: clamp(55px, 7vw, 115px);
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7vw;
  top: 105px;
  width: min(620px, 46vw);
  height: 420px;
  background:
    linear-gradient(135deg, rgba(240, 68, 73, .11), rgba(85, 191, 210, .055) 62%, transparent 100%);
  border-left: 3px solid rgba(240, 68, 73, .46);
  transform: skewX(-6deg);
  pointer-events: none;
}
.kicker,
.section-label,
.project-type {
  color: var(--cyan);
}
.hero h1 {
  max-width: 1000px;
  font-size: clamp(60px, 7vw, 108px);
  line-height: .94;
}
.hero h1 em {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(240, 68, 73, .24);
  text-decoration-thickness: .08em;
  text-underline-offset: .08em;
}
.hero-text {
  max-width: 790px;
  color: #b9c3cc;
  font-size: 20px;
}
.hero-actions { gap: 12px; }
.button {
  min-height: 49px;
  padding: 0 21px;
  border-radius: 9px;
}
.button-primary {
  background: var(--accent);
  box-shadow: 0 12px 32px rgba(240, 68, 73, .18);
}
.button-primary:hover { background: #ff5156; }
.button-ghost {
  border-color: rgba(85, 191, 210, .27);
  background: rgba(85, 191, 210, .035);
  color: #d9eef2;
}
.button-ghost:hover {
  border-color: rgba(85, 191, 210, .52);
  background: rgba(85, 191, 210, .08);
}

.hero-side {
  padding: 29px;
  border-color: rgba(85, 191, 210, .20);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(21, 33, 45, .96), rgba(14, 23, 32, .96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  position: relative;
  overflow: hidden;
}
.hero-side::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 36%, var(--gold) 36% 57%, var(--cyan) 57% 100%);
}
.hero-side-head { border-bottom-color: var(--line); }
.status-dot { background: var(--green); box-shadow: 0 0 0 5px rgba(98, 207, 146, .08); }
.hero-list div { border-bottom-color: var(--line); }
.hero-list dt { color: #f0f3f5; }
.discord-line {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(88, 101, 242, .22);
  border-radius: 11px;
  background: rgba(88, 101, 242, .07);
}
.discord-line strong { color: #fff; }
.discord-line small { color: #8490aa; }

.capability-strip {
  width: min(var(--max), calc(100% - 56px));
  margin: -1px auto 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: rgba(16, 25, 35, .46);
}
.capability-strip span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: #bbc7d0;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.capability-strip span:last-child { border-right: 0; }
.capability-strip span:nth-child(1)::before,
.capability-strip span:nth-child(2)::before,
.capability-strip span:nth-child(3)::before,
.capability-strip span:nth-child(4)::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
}
.capability-strip span:nth-child(1)::before { background: var(--accent); }
.capability-strip span:nth-child(2)::before { background: var(--cyan); }
.capability-strip span:nth-child(3)::before { background: var(--gold); }
.capability-strip span:nth-child(4)::before { background: var(--green); }

.section {
  width: min(var(--max), calc(100% - 56px));
  padding: 120px 0;
}
.section h2 { font-size: clamp(40px, 4.5vw, 70px); }
.section-head { margin-bottom: 52px; }
.section-head > p { max-width: 520px; }
.text-link { color: #cde4e9; }
.text-link:hover { color: var(--cyan); }

.intro {
  grid-template-columns: 210px 1fr;
  gap: 60px;
}
.intro-copy { max-width: 1050px; }
.intro-copy .lead {
  max-width: 960px;
  color: #d5dde2;
  font-size: 25px;
}
.intro-columns {
  max-width: 980px;
  gap: 55px;
}
.intro-columns p:first-child {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}
.intro-columns p:last-child {
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
}

.service-list {
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-row {
  min-height: 310px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px 16px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  position: relative;
  overflow: hidden;
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}
.service-row:nth-child(2)::before { background: var(--cyan); }
.service-row:nth-child(3)::before { background: var(--gold); }
.service-row:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: #121e29;
}
.service-index {
  padding: 0;
  color: #6f7f8b;
  grid-column: 2;
  grid-row: 1;
}
.service-row h3 {
  grid-column: 1;
  grid-row: 1;
  font-size: 29px;
}
.service-row p {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: none;
  color: #aab6c0;
  font-size: 16px;
}
.service-meta {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: start;
  color: #748792;
}

.project {
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .7fr);
  gap: 58px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, #101a24, #11171d);
}
.project-image {
  border-color: rgba(85, 191, 210, .22);
  border-radius: 11px;
  background: #0c141b;
}
.project-image img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.project-copy { padding: 18px 18px 18px 0; }
.project-copy h3 { font-size: 44px; }
.project-points li::before {
  content: "•";
  color: var(--cyan);
  margin-right: 9px;
}











.contact {
  grid-template-columns: .72fr 1.35fr;
  gap: clamp(55px, 7vw, 110px);
}
.contact-copy h2 { max-width: 560px; }
.contact-copy p { max-width: 520px; color: #aeb9c2; }
.contact-alt a { color: var(--cyan); }
.contact-form {
  padding: 36px;
  border-color: rgba(85, 191, 210, .22);
  border-radius: 14px;
  background: linear-gradient(180deg, #101923, #0f171f);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--cyan));
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 14px;
  border-color: rgba(174, 198, 216, .20);
  background: #0a1117;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(85, 191, 210, .72);
  box-shadow: 0 0 0 3px rgba(85, 191, 210, .07);
}

.faq-list { max-width: 1050px; }
.faq details {
  margin-bottom: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(16, 25, 35, .55);
}
.faq details[open] { border-color: rgba(85, 191, 210, .28); }

.footer {
  width: min(var(--max), calc(100% - 56px));
  padding-top: 55px;
}

/* Palvelut-sivu leveämmäksi ja värikkäämmäksi */
.page-hero {
  width: min(var(--max), calc(100% - 56px));
  min-height: 610px;
  padding: 135px 0 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: 4%;
  top: 100px;
  border: 1px solid rgba(85, 191, 210, .22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 55px rgba(85, 191, 210, .025),
    inset 0 0 0 110px rgba(240, 68, 73, .02);
  pointer-events: none;
}
.page-hero h1 { max-width: 1030px; font-size: clamp(58px, 6.5vw, 100px); }
.page-hero > p:not(.kicker) { max-width: 820px; color: #b7c1c9; font-size: 20px; }
.detail-list { padding-top: 35px; }
.detail-row {
  padding: 78px 30px;
  grid-template-columns: .65fr 1.35fr;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  transition: background .18s ease, border-color .18s ease;
}
.detail-row:hover {
  background: rgba(16, 25, 35, .52);
  border-color: var(--line);
}
.detail-title span { color: var(--cyan); }
.detail-title h2 { font-size: 50px; }
.detail-copy > p { color: #bec8cf; }
.detail-copy li::marker { color: var(--accent); }
.simple-cta {
  padding: 70px 45px;
  margin-top: 35px;
  margin-bottom: 55px;
  border: 1px solid rgba(240, 68, 73, .18);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(240, 68, 73, .08), rgba(85, 191, 210, .06));
}

.back-to-top {
  border-color: rgba(85, 191, 210, .28);
  background: #101923;
}

@media (max-width: 1050px) {
  .service-list { grid-template-columns: 1fr; }
  .service-row { min-height: 0; }
  .project { grid-template-columns: 1fr; }
  .project-copy { padding: 8px 8px 14px; }
}

@media (max-width: 900px) {
  .nav-inner { width: min(var(--max), calc(100% - 36px)); }
  .hero { width: min(var(--max), calc(100% - 36px)); }
  .section, .footer, .capability-strip, .page-hero { width: min(var(--max), calc(100% - 36px)); }
  .hero { grid-template-columns: 1fr; }
  .hero-side { max-width: 680px; }
  .capability-strip { grid-template-columns: 1fr 1fr; }
  .capability-strip span:nth-child(2) { border-right: 0; }
  .capability-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro { grid-template-columns: 1fr; gap: 25px; }
  .contact { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; }
  .page-hero::after { opacity: .45; transform: scale(.75); transform-origin: top right; }
}

@media (max-width: 650px) {
  .nav-inner, .hero, .section, .footer, .capability-strip, .page-hero {
    width: min(100% - 28px, var(--max));
  }
  .hero { padding-top: 74px; }
  .hero::before { width: 90vw; height: 300px; top: 65px; }
  .hero h1 { font-size: clamp(48px, 14.5vw, 70px); }
  .capability-strip { grid-template-columns: 1fr; }
  .capability-strip span { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .capability-strip span:last-child { border-bottom: 0; }
  .service-row { padding: 25px; }
  .project { padding: 14px; }
  .project-image img { min-height: 250px; }
  .contact-form { padding: 24px; }
  .page-hero { min-height: auto; padding: 90px 0 75px; }
  .page-hero::after { display: none; }
  .detail-row { padding: 55px 10px; }
  .simple-cta { padding: 35px 25px; }
}

/* =========================================================
   HINNASTO + OIKEA DEV-KUVA / 2026-08 päivitys
   ========================================================= */

.service-price {
  grid-column: 1 / -1;
  grid-row: 2;
  width: fit-content;
  margin-top: -4px;
  padding: 7px 10px;
  border: 1px solid rgba(85, 191, 210, .19);
  border-radius: 999px;
  background: rgba(85, 191, 210, .06);
  color: #d8f2f6;
  font-size: 13px;
  letter-spacing: .02em;
}
.service-row:nth-child(1) .service-price { border-color: rgba(240,68,73,.22); background: rgba(240,68,73,.07); color: #ffd6d7; }
.service-row:nth-child(3) .service-price { border-color: rgba(232,178,90,.22); background: rgba(232,178,90,.07); color: #f6ddb1; }

.pricing .section-head h2 { max-width: 920px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.price-card {
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(20,31,42,.96), rgba(13,22,30,.96));
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--cyan);
}
.price-card-small::before { background: var(--green); }
.price-card-featured::before { background: var(--accent); }
.price-card:nth-child(2)::before { background: var(--gold); }
.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #172534, #101a23);
}
.price-card-featured {
  border-color: rgba(240,68,73,.30);
  box-shadow: 0 28px 70px rgba(0,0,0,.20);
}
.price-label {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: #9fb0bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.price-card h3 {
  margin: 24px 0 0;
  font-size: 28px;
  letter-spacing: -.035em;
}
.price {
  margin: 24px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price small { color: #7f909c; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.price strong { color: #fff; font-size: clamp(38px, 3.4vw, 54px); line-height: 1; letter-spacing: -.05em; }
.price-card-featured .price strong { color: #ff666a; }
.price-card > p { margin: 0; color: #aab7c1; }
.price-card ul {
  list-style: none;
  padding: 19px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}
.price-card li { padding: 7px 0; color: #c9d1d7; font-size: 14px; }
.price-card li::before { content: "✓"; margin-right: 9px; color: var(--green); }
.pricing-note {
  max-width: 980px;
  margin: 24px 0 0;
  color: #7f8d97;
  font-size: 13px;
}

.dev-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, .65fr);
  gap: 58px;
  align-items: center;
}
.dev-proof-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(85,191,210,.22);
  border-radius: 16px;
  background: #0b0f13;
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}
.dev-proof-image::after {
  content: "REAL PROJECT / CSS";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  background: rgba(5,9,13,.80);
  color: #d7e4e9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.dev-proof-image img {
  width: 100%;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.dev-proof-copy h2 { max-width: 620px; }
.lead-small {
  max-width: 610px;
  margin: 24px 0 0;
  color: #b9c4cc;
  font-size: 18px;
  line-height: 1.7;
}
.dev-facts {
  margin-top: 31px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.dev-facts > div {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 40px 150px 1fr;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.dev-facts strong { color: var(--cyan); font-size: 12px; }
.dev-facts span { color: #eef3f5; font-weight: 750; }
.dev-facts p { margin: 0; color: #84939e; font-size: 13px; }

.detail-price {
  width: fit-content;
  margin: 13px 0 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(85,191,210,.20);
  background: rgba(85,191,210,.06);
  color: #d5edf2;
  font-size: 13px;
  font-weight: 780;
}

@media (max-width: 1180px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .dev-proof { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .dev-facts > div { grid-template-columns: 34px 1fr; }
  .dev-facts p { grid-column: 2; }
}

/* 2026-08 image fit update */
.project-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 460px;
}
.project-image img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.dev-proof {
  align-items: stretch;
}
.dev-proof-image {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.dev-proof-image::after {
  content: "REAL DEV WORKSPACE";
}
.dev-proof-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 650px) {
  .project-image {
    min-height: 0;
    padding: 12px;
  }
  .project-image img {
    max-height: none;
  }
  .dev-proof-image {
    min-height: 0;
  }
  .dev-proof-image img {
    min-height: 260px;
  }
}

/* 2026-08 reference section without screenshot */
.project.project-text-only {
  grid-template-columns: 1fr;
  max-width: 1000px;
}
.project.project-text-only .project-copy {
  padding: 28px;
}
.project.project-text-only .project-copy h3 {
  max-width: 760px;
}
.project.project-text-only .project-copy > p {
  max-width: 820px;
}

/* 2026-08 palvelumyynti / prosessi -tuunaus */
.hero-actions {
  align-items: center;
}
.hero-actions .button-primary {
  min-width: 150px;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(240,68,73,.18);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.process-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18,29,40,.96), rgba(12,20,28,.96));
  position: relative;
  overflow: hidden;
}
.process-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--cyan);
  opacity: .85;
}
.process-card:nth-child(2)::before { background: var(--gold); }
.process-card:nth-child(3)::before { background: var(--accent); }
.process-card:nth-child(4)::before { background: var(--green); }
.process-card > span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
.process-card:nth-child(2) > span { color: var(--gold); }
.process-card:nth-child(3) > span { color: #ff7376; }
.process-card:nth-child(4) > span { color: var(--green); }
.process-card h3 {
  margin: 0 0 13px;
  font-size: 24px;
  letter-spacing: -.035em;
}
.process-card p {
  margin: 0;
  color: #9fb0bc;
  line-height: 1.65;
}
@media (max-width: 1050px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
}

/* =========================================================
   2026-08 HERO REFRESH — houkuttelevampi, edelleen pelkistetty
   ========================================================= */
.hero {
  min-height: 790px;
  padding-top: 105px;
  padding-bottom: 105px;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .60fr);
  gap: clamp(62px, 7vw, 120px);
}
.hero::before {
  left: -6vw;
  top: 92px;
  width: min(690px, 50vw);
  height: 445px;
  border-left-width: 4px;
  background:
    linear-gradient(130deg, rgba(240,68,73,.12), rgba(85,191,210,.045) 60%, transparent 92%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 520px;
  height: 520px;
  left: 35%;
  top: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,68,73,.055), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: #77d9e6;
  font-weight: 850;
}
.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(240,68,73,.09);
}
.hero h1 {
  max-width: 1040px;
  font-size: clamp(64px, 7.15vw, 112px);
  letter-spacing: -.072em;
  text-wrap: balance;
}
.hero h1 em {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.035em;
  height: .075em;
  background: rgba(240,68,73,.30);
  transform: skewX(-12deg);
}
.hero-text {
  max-width: 820px;
  margin-top: 31px;
  color: #c1ccd4;
  font-size: 20px;
  line-height: 1.72;
}
.hero-benefits {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-benefits span {
  padding: 8px 12px;
  border: 1px solid rgba(174,198,216,.16);
  border-radius: 999px;
  background: rgba(18,29,40,.48);
  color: #d8e1e7;
  font-size: 12px;
  font-weight: 750;
}
.hero-benefits span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 900;
}
.hero-actions {
  margin-top: 30px;
  gap: 11px;
}
.hero-actions .button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
}
.hero-actions .button-primary {
  min-width: 178px;
  gap: 13px;
  box-shadow: 0 18px 45px rgba(240,68,73,.22);
}
.hero-actions .button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(240,68,73,.28);
}
.hero-actions .button-ghost {
  min-width: 130px;
}
.hero-action-note {
  margin: 12px 0 0;
  color: #71838f;
  font-size: 12px;
}

.hero-side {
  padding: 0;
  border-color: rgba(85,191,210,.24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(21,34,47,.98), rgba(12,22,30,.98));
  box-shadow: 0 32px 90px rgba(0,0,0,.28);
}
.hero-side::before {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 35%, var(--gold) 35% 56%, var(--cyan) 56% 100%);
}
.hero-side-head {
  padding: 27px 28px 22px;
}
.hero-side-head > div {
  display: grid;
  gap: 4px;
}
.hero-side-head small {
  color: #6cc8d5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero-side-head span:not(.status-dot) {
  color: #f4f6f7;
  font-size: 15px;
  font-weight: 800;
}
.hero-list {
  padding: 0 28px;
}
.hero-list div {
  position: relative;
  min-height: 83px;
  padding: 19px 0 18px 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 14px;
}
.hero-list dt {
  grid-column: 1;
  grid-row: 1;
  font-size: 15px;
  font-weight: 800;
}
.hero-list dd {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  color: #8fa5b3;
  font-size: 12px;
}
.hero-list dd strong {
  color: #fff;
  font-size: 15px;
}
.hero-service-index {
  position: absolute;
  left: 0;
  top: 24px;
  color: #5b7483;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}
.discord-line {
  margin: 22px 28px 28px;
  padding: 17px 18px;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  border-color: rgba(88,101,242,.30);
  background: linear-gradient(135deg, rgba(88,101,242,.10), rgba(85,191,210,.045));
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.discord-line:hover {
  transform: translateY(-1px);
  border-color: rgba(88,101,242,.48);
  background: linear-gradient(135deg, rgba(88,101,242,.15), rgba(85,191,210,.065));
}
.discord-line span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.discord-line strong {
  font-size: 22px;
  line-height: 1;
}
.discord-line span small {
  color: #96a7b3;
  font-size: 11px;
}
.discord-line em {
  grid-column: 1 / -1;
  color: #8ea2bf;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .04em;
}

.capability-strip {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(14,24,33,.66);
}
.capability-strip span {
  min-height: 68px;
  color: #c5d0d7;
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero::after { display: none; }
  .hero-side { max-width: 100%; }
}
@media (max-width: 650px) {
  .hero-benefits { gap: 7px; }
  .hero-benefits span { padding: 7px 10px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-list div { grid-template-columns: 1fr; }
  .hero-list dd { grid-column: 1; grid-row: 2; text-align: left; margin-top: 4px; }
}

/* =========================================================
   FLOATING SERVICE CARD + TRANSPARENT DISCORD / 2026-08-13
   ========================================================= */

.hero-side {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(92, 200, 224, 0.20);
  background: linear-gradient(
    145deg,
    rgba(18, 31, 43, 0.84),
    rgba(10, 19, 28, 0.72)
  );
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  animation: heroSideFloat 5.6s ease-in-out infinite;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-side::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ff4c52 0 34%, #efb657 34% 56%, #55c4d8 56% 100%);
  opacity: .95;
  pointer-events: none;
}

.hero-side::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -95px;
  top: 38px;
  border-radius: 50%;
  background: rgba(85, 196, 216, 0.08);
  filter: blur(3px);
  pointer-events: none;
}

.hero-side:hover {
  transform: scale(1.012);
  border-color: rgba(92, 200, 224, 0.34);
  box-shadow:
    0 36px 88px rgba(0, 0, 0, 0.43),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@keyframes heroSideFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.hero-side-head {
  position: relative;
  z-index: 1;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #5bd08b;
  box-shadow:
    0 0 0 5px rgba(91, 208, 139, 0.10),
    0 0 18px rgba(91, 208, 139, 0.42);
}

.hero-list {
  position: relative;
  z-index: 1;
}

.hero-list div {
  border-bottom-color: rgba(190, 215, 230, 0.13);
}

.discord-line {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 18px 18px 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
  border: 1px solid rgba(115, 145, 255, 0.22);
  border-radius: 15px;
  background: rgba(37, 55, 105, 0.13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 32px rgba(0, 0, 0, 0.09);
  color: rgba(228, 236, 248, 0.88);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.discord-line:hover {
  background: rgba(37, 55, 105, 0.21);
  border-color: rgba(115, 145, 255, 0.36);
  transform: translateY(-2px);
}

.discord-line span {
  display: block;
  min-width: 0;
}

.discord-line strong {
  display: inline-block;
  color: #ffffff;
  font-size: 29px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: -0.045em;
  margin-right: 5px;
}

.discord-line small {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: rgba(159, 180, 218, 0.76);
  font-size: 11px;
  letter-spacing: .03em;
}

@media (prefers-reduced-motion: reduce) {
  .hero-side {
    animation: none;
  }
}


/* ===== Brand + privacy + email tune-up ===== */

.brand {
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  padding: 2px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0));
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.05;
}
.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 820;
  color: var(--text);
  letter-spacing: -.03em;
}
.brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.contact-direct {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.contact-direct-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 25, 35, .56);
}
.contact-direct-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contact-direct-card a {
  display: inline-block;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 760;
  letter-spacing: -.03em;
}
.contact-direct-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.form-privacy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.form-privacy a, .cta-mail a, .policy-card a, .footer small a {
  color: #dceff4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-mail {
  margin-top: 18px;
  color: var(--muted);
}
.policy-hero {
  width: min(980px, calc(100% - 56px));
}
.policy-layout {
  padding-top: 70px;
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.policy-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16,25,35,.9), rgba(12,19,27,.95));
}
.policy-card h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.02;
}
.policy-card p {
  margin: 0 0 12px;
  color: #c4d0d8;
}
.policy-list {
  margin: 0;
  padding-left: 18px;
  color: #c4d0d8;
}
.policy-list li + li { margin-top: 8px; }
.footer-main p {
  max-width: 360px;
}
.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer > small {
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .policy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .brand-text small { font-size: 9px; }
  .contact-direct-card a { font-size: 17px; word-break: break-word; }
  .policy-hero { width: calc(100% - 28px); }
}


/* ===== 2026-08-13 small tune: hero red area + compact privacy ===== */
.hero::before {
  left: -18px;
  top: 88px;
  width: min(980px, 78vw);
  height: 440px;
  border-left-width: 4px;
  background:
    linear-gradient(90deg,
      rgba(240,68,73,.16) 0%,
      rgba(240,68,73,.10) 22%,
      rgba(85,191,210,.055) 64%,
      rgba(85,191,210,.018) 84%,
      transparent 100%);
  clip-path: polygon(3% 0, 100% 0, 95% 100%, 0 100%);
  filter: blur(0px);
}
.hero-text {
  max-width: 860px;
}
.form-privacy {
  font-size: 12px;
  line-height: 1.5;
}
.policy-hero h1 {
  max-width: 820px;
}
.policy-hero > p:not(.kicker) {
  max-width: 680px;
  font-size: 18px;
}
.policy-card {
  padding: 22px;
}
.policy-card h2 {
  font-size: clamp(23px, 2.3vw, 30px);
  margin-bottom: 12px;
}
.policy-card p,
.policy-list {
  font-size: 15px;
}
@media (max-width: 650px) {
  .hero::before {
    width: 94vw;
    height: 330px;
    left: -10px;
    top: 78px;
  }
}


/* ===== 2026-08-13 tune 2: logo orb + smaller privacy + homepage fix ===== */
.policy-hero {
  width: min(920px, calc(100% - 56px));
  min-height: 0;
  padding: 118px 0 44px;
}
.policy-hero::after {
  display: none;
}
.policy-orb {
  position: absolute;
  right: 22px;
  top: 56px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(85, 191, 210, .22);
  box-shadow:
    inset 0 0 0 16px rgba(85, 191, 210, .03),
    inset 0 0 0 48px rgba(240, 68, 73, .022),
    0 25px 60px rgba(0, 0, 0, .18);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.05), rgba(255,255,255,0) 60%);
  overflow: hidden;
  pointer-events: none;
}
.policy-orb::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
}
.policy-orb img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
  opacity: .96;
}
.policy-hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 5.3vw, 74px);
  line-height: .98;
}
.policy-hero > p:not(.kicker) {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  margin: 20px 0 0;
}
.policy-layout {
  padding-top: 34px;
}
.policy-grid {
  gap: 16px;
}
.policy-card {
  padding: 20px;
}
.policy-card h2 {
  font-size: clamp(22px, 2vw, 28px);
}

/* etusivu vähän tasapainoisemmaksi */
.hero {
  min-height: 760px;
  padding-top: 95px;
  padding-bottom: 88px;
  gap: clamp(48px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .62fr);
}
.hero::before {
  left: -24px;
  top: 82px;
  width: min(900px, 72vw);
  height: 418px;
  background: linear-gradient(90deg,
      rgba(240,68,73,.15) 0%,
      rgba(240,68,73,.10) 26%,
      rgba(85,191,210,.05) 66%,
      rgba(85,191,210,.015) 86%,
      transparent 100%);
  clip-path: polygon(4% 0, 100% 0, 95% 100%, 0 100%);
}
.hero h1 {
  max-width: 900px;
  font-size: clamp(56px, 6.4vw, 98px);
  line-height: .92;
}
.hero-text {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.68;
}
.hero-benefits {
  margin-top: 22px;
}
.hero-actions {
  margin-top: 24px;
}
.hero-side {
  transform: translateY(6px);
}

@media (max-width: 980px) {
  .policy-orb {
    width: 118px;
    height: 118px;
    top: 62px;
    right: 8px;
  }
  .policy-orb img {
    width: 54px;
    height: 54px;
  }
  .policy-hero h1 {
    max-width: 520px;
  }
}
@media (max-width: 760px) {
  .policy-hero {
    padding: 104px 0 26px;
  }
  .policy-orb {
    width: 92px;
    height: 92px;
    top: 54px;
    right: 2px;
  }
  .policy-orb::before { inset: 12px; }
  .policy-orb img {
    width: 42px;
    height: 42px;
  }
  .policy-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 54px);
  }
  .policy-hero > p:not(.kicker) {
    max-width: 100%;
    font-size: 15px;
  }
  .hero {
    min-height: 0;
    padding-top: 88px;
    padding-bottom: 76px;
  }
  .hero::before {
    width: 96vw;
    height: 300px;
    left: -8px;
    top: 72px;
  }
  .hero h1 {
    font-size: clamp(44px, 13vw, 66px);
  }
  .hero-text {
    font-size: 16px;
  }
}


/* ===== 2026-08-13 tune 3: pyöreä logo-orb + text-following hero bg ===== */
.policy-orb {
  width: 162px;
  height: 162px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.07), rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(14,22,31,.92), rgba(10,16,24,.96));
}
.policy-orb img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #9fc2dc;
  padding: 6px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
}

/* hero tausta seuraa nyt otsikkorivejä */
.hero::before,
.hero::after {
  display: none;
}
.hero h1 {
  max-width: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .03em;
  line-height: .91;
  position: relative;
  z-index: 1;
}
.hero-line {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding: .04em .12em .05em .12em;
  isolation: isolate;
}
.hero-line::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.01em -.10em .02em -.12em;
  border-left: 3px solid rgba(240,68,73,.55);
  background:
    linear-gradient(90deg,
      rgba(240,68,73,.19) 0%,
      rgba(240,68,73,.12) 34%,
      rgba(85,191,210,.065) 74%,
      rgba(85,191,210,.02) 100%);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  border-radius: 2px;
}
.hero-line:nth-child(2)::before {
  inset: -.01em -.14em .02em -.13em;
}
.hero-line:nth-child(3)::before {
  inset: -.01em -.12em .02em -.13em;
}
.hero h1 em::after {
  bottom: .02em;
}
.hero-text {
  margin-top: 20px;
  max-width: 780px;
}
.hero-benefits {
  margin-top: 20px;
}
.hero-actions {
  margin-top: 22px;
}
.hero-main {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .hero h1 {
    gap: .04em;
  }
  .hero-line { padding-left: .10em; padding-right: .10em; }
}
@media (max-width: 760px) {
  .policy-orb {
    width: 96px;
    height: 96px;
  }
  .policy-orb img {
    width: 44px;
    height: 44px;
    padding: 4px;
  }
  .hero-line::before {
    border-left-width: 2px;
  }
}


/* ===== 2026-08-13 tune 4: full orb logo + hero panel behind text ===== */
/* tietosuoja: logo täyttää ympyrän paremmin */
.policy-orb {
  width: 170px;
  height: 170px;
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 25, 36, .92) 0%, rgba(11, 18, 29, .97) 58%, rgba(8, 13, 22, .98) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(85, 191, 210, .18),
    inset 0 0 0 18px rgba(255,255,255,.02),
    inset 0 0 0 40px rgba(255,255,255,.015),
    0 22px 60px rgba(0,0,0,.28);
}
.policy-orb img {
  width: 120px;
  height: 120px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

/* etusivu: yksi iso punainen paneeli tekstin taakse, ei tekstin päälle */
.hero {
  align-items: start;
}
.hero::before,
.hero::after,
.hero-line::before {
  display: none;
}
.hero-main {
  position: relative;
  padding: 54px 34px 26px 26px;
  isolation: isolate;
}
.hero-main::before {
  content: "";
  position: absolute;
  inset: -16px -36px 96px -34px;
  z-index: -1;
  border-left: 4px solid rgba(240, 68, 73, .48);
  background: linear-gradient(90deg,
    rgba(240, 68, 73, .18) 0%,
    rgba(240, 68, 73, .12) 28%,
    rgba(85, 191, 210, .055) 66%,
    rgba(85, 191, 210, .015) 88%,
    rgba(85, 191, 210, 0) 100%);
  clip-path: polygon(5% 0, 100% 0, 94% 100%, 0 100%);
  border-radius: 2px;
}
.hero h1 {
  display: block;
  max-width: 980px;
  font-size: clamp(62px, 7vw, 108px);
  line-height: .9;
}
.hero-line {
  display: block;
  padding: 0;
}
.hero-text,
.hero-benefits,
.hero-actions,
.hero-action-note {
  position: relative;
  z-index: 1;
}
.hero-text {
  max-width: 800px;
  margin-top: 24px;
}
.hero-actions {
  margin-top: 26px;
}
.hero-side {
  margin-top: 54px;
}

@media (max-width: 980px) {
  .hero-main {
    padding: 42px 22px 18px 16px;
  }
  .hero-main::before {
    inset: -14px -14px 84px -18px;
  }
  .policy-orb {
    width: 138px;
    height: 138px;
  }
  .policy-orb img {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 760px) {
  .hero-main {
    padding: 34px 10px 14px 10px;
  }
  .hero-main::before {
    inset: -14px -8px 112px -10px;
    border-left-width: 3px;
  }
  .hero h1 {
    font-size: clamp(44px, 12vw, 64px);
  }
  .policy-orb {
    width: 104px;
    height: 104px;
  }
  .policy-orb img {
    width: 72px;
    height: 72px;
  }
}


/* ===== 2026-08-13 tune 5b: red panel ends between benefits and CTA ===== */
.hero-main {
  padding: 0;
  isolation: auto;
}
.hero-main::before {
  display: none !important;
}
.hero-panel {
  position: relative;
  isolation: isolate;
  padding: 52px 34px 34px 28px;
  margin-left: 0;
}
.hero-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16px -34px -18px -34px;
  border-left: 4px solid rgba(240, 68, 73, .48);
  background: linear-gradient(90deg,
    rgba(240, 68, 73, .18) 0%,
    rgba(240, 68, 73, .12) 28%,
    rgba(85, 191, 210, .055) 66%,
    rgba(85, 191, 210, .015) 88%,
    rgba(85, 191, 210, 0) 100%);
  clip-path: polygon(5% 0, 100% 0, 94% 100%, 0 100%);
  border-radius: 2px;
  pointer-events: none;
}
.hero-panel .hero-text {
  margin-top: 24px;
}
.hero-panel .hero-benefits {
  margin-top: 22px;
}
.hero-actions {
  margin-top: 34px;
  padding-left: 28px;
}
.hero-action-note {
  padding-left: 28px;
}
/* Keep the price card in the original balanced position. */
.hero-side {
  margin-top: 54px;
}

@media (max-width: 980px) {
  .hero-panel {
    padding: 42px 22px 30px 18px;
  }
  .hero-panel::before {
    inset: -14px -14px -16px -18px;
  }
  .hero-actions,
  .hero-action-note {
    padding-left: 18px;
  }
}
@media (max-width: 760px) {
  .hero-panel {
    padding: 34px 10px 26px 10px;
  }
  .hero-panel::before {
    inset: -14px -8px -14px -10px;
    border-left-width: 3px;
  }
  .hero-actions,
  .hero-action-note {
    padding-left: 10px;
  }
  .hero-actions {
    margin-top: 28px;
  }
}


/* ===== 2026-08-13 hero refresh: kevyempi ja sujuvampi ===== */
.hero {
  min-height: 700px;
  align-items: center;
}
.hero-main {
  padding: 0;
  isolation: auto;
}
.hero-main::before {
  display: none !important;
}
.hero-panel {
  position: relative;
  isolation: isolate;
  max-width: 980px;
  padding: 42px 36px 30px 28px;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -18px -34px -12px -36px;
  z-index: -1;
  border-left: 4px solid rgba(240, 68, 73, .52);
  border-radius: 2px 18px 18px 2px;
  background:
    linear-gradient(96deg,
      rgba(240, 68, 73, .16) 0%,
      rgba(240, 68, 73, .10) 26%,
      rgba(88, 194, 217, .05) 64%,
      rgba(88, 194, 217, .01) 86%,
      rgba(88, 194, 217, 0) 100%);
  clip-path: polygon(4.2% 0, 100% 0, 96% 100%, 0 100%);
  pointer-events: none;
}
.hero h1 {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .02em;
  margin: 0;
  font-size: clamp(56px, 7vw, 102px);
  line-height: .93;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.hero-line {
  display: inline-block;
  width: fit-content;
  padding: 0;
}
.hero-line::before {
  display: none !important;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.06em;
  height: .08em;
  background: rgba(240, 68, 73, .24);
  transform: skewX(-12deg);
}
.hero-text {
  margin: 24px 0 0;
  max-width: 720px;
  color: #c6d0d9;
  font-size: 18px;
  line-height: 1.68;
}
.hero-benefits {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-benefits span {
  padding: 8px 13px;
  border: 1px solid rgba(173, 198, 216, .17);
  border-radius: 999px;
  background: rgba(13, 22, 33, .56);
  color: #e2e9ef;
  font-size: 12px;
  font-weight: 760;
}
.hero-actions {
  margin-top: 24px;
  padding-left: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions .button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 12px;
}
.hero-action-note {
  margin-top: 10px;
  padding-left: 28px;
  color: #70818d;
  font-size: 12px;
}
.hero-side {
  margin-top: 26px;
}

@media (max-width: 1080px) {
  .hero {
    min-height: 0;
    gap: 42px;
  }
  .hero-panel {
    max-width: 900px;
  }
}

@media (max-width: 760px) {
  .hero-panel {
    padding: 30px 18px 24px 18px;
  }
  .hero-panel::before {
    inset: -12px -10px -10px -12px;
    border-left-width: 3px;
    clip-path: polygon(2.5% 0, 100% 0, 97% 100%, 0 100%);
  }
  .hero h1 {
    font-size: clamp(44px, 13vw, 66px);
  }
  .hero-text {
    margin-top: 20px;
    font-size: 16px;
  }
  .hero-actions,
  .hero-action-note {
    padding-left: 18px;
  }
  .hero-actions .button {
    width: 100%;
  }
}


/* =========================================================
   MARTTAKERHO FINAL — yhtenäinen premium-tumma tyyli
   ========================================================= */
:root {
  --bg: #08111a;
  --panel: #0d1823;
  --panel-2: #101e2b;
  --text: #f4f0e8;
  --muted: #94a5b3;
  --line: rgba(113, 155, 182, .18);
  --line-strong: rgba(113, 180, 205, .32);
  --accent: #ff474d;
  --accent-dark: #df343a;
  --cyan: #66d2e2;
  --gold: #efb65c;
  --green: #58d38c;
  --max: 1480px;
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(62, 120, 150, .045), transparent 30%),
    linear-gradient(180deg, #08111a 0%, #09121b 48%, #071018 100%);
}

.navbar {
  background: rgba(6, 13, 20, .92);
  border-bottom: 1px solid rgba(117, 160, 188, .14);
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}
.nav-inner {
  width: min(var(--max), calc(100% - 72px));
  min-height: 78px;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(102,210,226,.20);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.brand-text strong,
.brand > span:not(.brand-text) {
  font-size: 16px;
  font-weight: 820;
}
.nav-links { gap: 34px; }
.nav-links a { color: #9fadb8; font-size: 13px; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #f3f6f8; }
.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255,71,77,.48);
  border-radius: 10px;
  color: #ffe1e2;
  background: rgba(255,71,77,.07);
}
.nav-cta:hover {
  border-color: rgba(255,71,77,.72);
  background: rgba(255,71,77,.13);
}

/* HERO */
.hero {
  width: min(var(--max), calc(100% - 72px));
  min-height: 760px;
  padding: 94px 0 82px;
  grid-template-columns: minmax(0, 1.42fr) minmax(350px, .58fr);
  gap: clamp(68px, 7vw, 118px);
  align-items: center;
  border-bottom: 0;
}
.hero::before,
.hero::after,
.hero-main::before,
.hero-line::before { display: none !important; }
.hero-main { min-width: 0; }
.hero-panel {
  position: relative;
  isolation: isolate;
  max-width: 960px;
  padding: 56px 44px 38px 48px;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 -32px -14px -48px;
  z-index: -1;
  border-left: 5px solid rgba(255,71,77,.68);
  border-top: 0 !important;
  border-right: 0;
  border-bottom: 0;
  border-radius: 22px 18px 18px 18px;
  background:
    linear-gradient(100deg,
      rgba(255,71,77,.17) 0%,
      rgba(255,71,77,.105) 25%,
      rgba(74,131,160,.055) 64%,
      rgba(74,131,160,.012) 86%,
      rgba(74,131,160,0) 100%);
  clip-path: polygon(5% 0, 100% 0, 96% 100%, 0 100%);
  pointer-events: none;
}
.hero .kicker {
  margin: 0 0 28px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}
.kicker-dot {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 5px rgba(255,71,77,.10), 0 0 18px rgba(255,71,77,.25);
}
.hero h1 {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .01em;
  margin: 0;
  font-size: clamp(54px, 6.35vw, 94px);
  line-height: .94;
  letter-spacing: -.058em;
}
.hero-line { display: block; padding: 0; width: fit-content; }
.hero h1 em {
  color: var(--accent);
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.06em;
  height: .075em;
  background: rgba(255,71,77,.26);
  transform: skewX(-12deg);
}
.hero-text {
  max-width: 760px;
  margin: 28px 0 0;
  color: #c3cdd5;
  font-size: 18px;
  line-height: 1.72;
}
.hero-benefits {
  margin: 25px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-benefits span {
  padding: 9px 14px;
  border: 1px solid rgba(120,165,190,.18);
  border-radius: 999px;
  background: rgba(9,18,28,.58);
  color: #e2e8ec;
  font-size: 12px;
  font-weight: 760;
}
.hero-benefits span::before { color: var(--green); }
.hero-actions {
  margin: 28px 0 0 48px;
  padding: 0;
  gap: 13px;
}
.hero-actions .button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 12px;
}
.hero-actions .button-primary {
  min-width: 184px;
  background: var(--accent);
  box-shadow: 0 16px 42px rgba(255,71,77,.20);
}
.hero-actions .button-primary:hover {
  background: #ff565c;
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(255,71,77,.27);
}
.hero-actions .button-ghost {
  min-width: 142px;
  border-color: rgba(102,210,226,.26);
  color: #dceff3;
  background: rgba(12,23,33,.36);
}
.hero-actions .button-ghost:hover {
  border-color: rgba(102,210,226,.50);
  background: rgba(102,210,226,.07);
}
.hero-action-note {
  margin: 11px 0 0 48px;
  padding: 0;
  color: #667986;
  font-size: 12px;
}

/* RIGHT HERO CARD */
.hero-side {
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid rgba(102,210,226,.22);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(13,27,39,.90), rgba(8,18,27,.84));
  box-shadow: 0 34px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
  overflow: hidden;
  animation: heroSideFloat 6s ease-in-out infinite;
}
.hero-side::before {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 33%, var(--gold) 33% 56%, var(--cyan) 56% 100%);
}
.hero-side::after {
  width: 220px;
  height: 220px;
  right: -128px;
  top: 36px;
  background: rgba(102,210,226,.06);
}
.hero-side-head { padding: 30px 30px 24px; }
.hero-side-head small { color: #72cfdf; }
.hero-list { padding: 0 30px; }
.hero-list div { min-height: 94px; padding: 23px 0 22px 42px; }
.hero-list dt { font-size: 16px; }
.hero-list dd { color: #93a7b5; }
.hero-list dd strong { font-size: 16px; color: #fff; }
.discord-line {
  margin: 24px 30px 30px;
  padding: 21px 20px 18px;
  border: 1px solid rgba(101,126,246,.23);
  border-radius: 16px;
  background: rgba(56,72,132,.10);
}
.discord-line strong { font-size: 30px; }
.discord-line em { color: #7f91af; }

.capability-strip {
  width: min(var(--max), calc(100% - 72px));
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10,20,30,.60);
  overflow: hidden;
}

/* GLOBAL SECTIONS */
.section {
  width: min(var(--max), calc(100% - 72px));
  padding: 116px 0;
  border-bottom: 1px solid var(--line);
}
.section-label { color: var(--cyan); }
.section h2 { color: var(--text); }
.section-head > p,
.intro-columns p,
.service-row p,
.pricing-note,
.contact-copy p { color: #9eafbb; }

.intro {
  grid-template-columns: 190px 1fr;
  gap: 62px;
}
.intro-copy .lead { color: #d2dbe1; }
.intro-columns p:first-child { border-left-color: var(--accent); }
.intro-columns p:last-child { border-left-color: var(--cyan); }

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  border-top: 0;
}
.service-row {
  min-height: 315px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14,28,40,.84), rgba(10,20,30,.84));
  box-shadow: 0 20px 55px rgba(0,0,0,.12);
}
.service-row:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: #0e1d2a;
}
.service-price { color: #f2f5f6; }

.price-grid { gap: 18px; }
.price-card {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14,28,40,.86), rgba(10,20,30,.90));
  border-color: var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.13);
}
.price-card-featured {
  border-color: rgba(255,71,77,.35);
  box-shadow: 0 24px 60px rgba(255,71,77,.07);
}

.process-card {
  border-radius: 16px;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(14,28,40,.82), rgba(10,20,30,.86));
}
.process-card > span { color: var(--cyan); }

.dev-proof {
  gap: 70px;
}
.dev-proof-image {
  border-radius: 18px;
  border: 1px solid rgba(102,210,226,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  overflow: hidden;
}

.contact-form {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14,28,40,.90), rgba(9,19,28,.94));
  border-color: rgba(102,210,226,.21);
  box-shadow: 0 28px 75px rgba(0,0,0,.20);
}
.contact-direct-card {
  background: rgba(11,23,34,.62);
  border-color: var(--line);
}

.faq details {
  border-radius: 12px;
  background: rgba(12,24,35,.58);
  border-color: var(--line);
}

.footer {
  width: min(var(--max), calc(100% - 72px));
  padding: 54px 0 64px;
}
.footer-links { color: #91a1ac; }

/* PALVELUT + TIETOSUOJA */
.page-hero {
  width: min(var(--max), calc(100% - 72px));
  min-height: 520px;
  padding: 118px 0 86px;
}
.page-hero h1 { font-size: clamp(54px, 6vw, 88px); }
.detail-row {
  border-bottom-color: var(--line);
}
.detail-row:hover { background: rgba(12,24,35,.42); }
.policy-hero {
  width: min(940px, calc(100% - 72px));
  min-height: 0;
  padding: 116px 0 52px;
}
.policy-orb {
  width: 168px;
  height: 168px;
  border: 1px solid rgba(102,210,226,.22);
}
.policy-orb img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
}
.policy-card {
  border-radius: 16px;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(14,28,40,.85), rgba(9,19,28,.90));
}

@media (max-width: 1080px) {
  .hero {
    width: min(var(--max), calc(100% - 36px));
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 78px 0;
    gap: 44px;
  }
  .hero-side { width: min(100%, 650px); }
  .service-list { grid-template-columns: 1fr; }
  .service-row { min-height: 0; }
  .section,
  .footer,
  .capability-strip,
  .page-hero { width: min(var(--max), calc(100% - 36px)); }
}

@media (max-width: 700px) {
  .nav-inner { width: calc(100% - 28px); min-height: 68px; }
  .brand img { width: 36px; height: 36px; }
  .hero { width: calc(100% - 28px); padding: 60px 0 68px; }
  .hero-panel { padding: 34px 16px 28px 18px; }
  .hero-panel::before {
    inset: 0 -8px -10px -10px;
    border-left-width: 3px;
    clip-path: polygon(2.5% 0, 100% 0, 97% 100%, 0 100%);
  }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-text { font-size: 16px; margin-top: 21px; }
  .hero-actions,
  .hero-action-note { margin-left: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-side { border-radius: 18px; }
  .section,
  .footer,
  .capability-strip,
  .page-hero { width: calc(100% - 28px); }
  .section { padding: 78px 0; }
  .policy-orb { width: 102px; height: 102px; }
  .policy-orb img { width: 72px; height: 72px; }
}

/* Final tweak: remove the dark-red vertical line from the left side of the hero panel. */
.hero-panel::before {
  border-left: 0 !important;
}

/* ===== LIVE CODE VIEW — ei kuvaa, vaan animoitu HTML/CSS-koodinäkymä ===== */
.live-code {
  min-width: 0;
  height: 470px;
  display: grid;
  grid-template-rows: 54px 1fr 44px;
  overflow: hidden;
  border: 1px solid rgba(102,210,226,.20);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(102,210,226,.055), transparent 30%),
    linear-gradient(180deg, #0b141e 0%, #08111a 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.27);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.code-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(174,198,216,.12);
  background: rgba(13,24,34,.84);
}
.code-dots { display: flex; gap: 7px; }
.code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-file {
  min-width: 0;
  overflow: hidden;
  color: #8fa2af;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.code-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #70d7e7;
  font: 800 9px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .13em;
}
.code-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bd08b;
  box-shadow: 0 0 0 5px rgba(91,208,139,.08), 0 0 14px rgba(91,208,139,.35);
}
.code-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.code-stage::before,
.code-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: 55px;
  pointer-events: none;
}
.code-stage::before { top: 0; background: linear-gradient(#08111a, transparent); }
.code-stage::after { bottom: 0; background: linear-gradient(transparent, #08111a); }
.code-loop {
  width: 100%;
  animation: codeScroll 28s linear infinite;
  will-change: transform;
}
.live-code:hover .code-loop { animation-play-state: paused; }
.code-block { padding: 26px 0 28px; }
.code-line {
  min-height: 25px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  padding: 0 18px 0 0;
  color: #c9d3db;
  font-size: 12px;
  line-height: 1.55;
}
.code-line:hover { background: rgba(102,210,226,.045); }
.code-line b {
  padding-right: 13px;
  color: #465b6a;
  font-weight: 500;
  text-align: right;
  user-select: none;
}
.code-line code {
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}
.code-line i { font-style: normal; }
.c-sel, .c-fn { color: #7fd7e4; }
.c-prop { color: #a7c9ff; }
.c-val, .c-str { color: #e9bf79; }
.c-num { color: #d6a2ef; }
.c-key { color: #ff7e92; }
.c-brace { color: #e8edf1; }
.c-comment { color: #67808f; }
.code-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-top: 1px solid rgba(174,198,216,.12);
  background: rgba(10,20,29,.94);
}
.code-footer span {
  padding: 4px 7px;
  border: 1px solid rgba(174,198,216,.12);
  border-radius: 5px;
  color: #8195a2;
  font: 700 9px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .04em;
}
.code-footer .code-status {
  margin-left: auto;
  border: 0;
  color: #66cf91;
}
@keyframes codeScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (max-width: 900px) {
  .live-code { height: 420px; }
}
@media (max-width: 650px) {
  .live-code { height: 360px; border-radius: 14px; }
  .code-topbar { padding: 0 12px; gap: 10px; }
  .code-line { grid-template-columns: 38px minmax(0, 1fr); padding-right: 10px; font-size: 10px; }
  .code-line b { padding-right: 9px; }
  .code-footer { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .code-loop { animation: none; }
}


/* ===== 2026-08-13 live-code only: tekstipalsta pois, näyttö jää ===== */
.dev-proof {
  display: block;
}
.dev-proof .live-code {
  width: min(100%, 1180px);
  height: 500px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .dev-proof .live-code { height: 430px; }
}
@media (max-width: 650px) {
  .dev-proof .live-code { height: 360px; }
}


/* FINAL MOBILE LAYOUT FIX */
html, body { overflow-x: hidden; }

@media (max-width: 650px) {
  .hero,
  .section,
  .intro,
  .services,
  .footer,
  .nav-inner {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero {
    display: block !important;
    min-height: 0 !important;
    padding: 70px 0 !important;
  }

  .hero-main,
  .hero-panel,
  .hero-side,
  .intro-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero h1,
  .intro h2,
  .intro-copy h2 {
    font-size: clamp(42px, 12vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.055em !important;
    max-width: 100% !important;
  }

  .hero-text,
  .intro-copy .lead {
    max-width: 100% !important;
    font-size: 17px !important;
  }

  .hero-side {
    display: none !important;
  }

  .intro {
    display: block !important;
  }

  .intro-columns {
    display: block !important;
  }

  .intro-columns p {
    width: 100% !important;
  }
}
