:root {
  --ink: #241f1a;
  --paper: #f7f2ea;
  --muted: #6f675e;
  --sun: #e5bb67;
  --blue: #0b668e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Courier New", ui-monospace, monospace;
  line-height: 1.55;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}

.hero-image,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.shade {
  background:
    linear-gradient(180deg, rgba(10, 32, 46, 0.15), rgba(10, 32, 46, 0.58)),
    linear-gradient(90deg, rgba(8, 53, 78, 0.58), rgba(8, 53, 78, 0.1));
}

.content {
  position: relative;
  width: min(880px, 100%);
}

.kicker {
  margin: 0 0 18px;
  color: var(--sun);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.15rem, 6vw, 5rem);
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.36);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.lead {
  width: min(740px, 100%);
  margin: 28px auto 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(620px, 100%);
  min-height: 62px;
  margin-top: 42px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button + .button {
  margin-top: 14px;
}

.button-quiet {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.note,
.questions,
.cta {
  padding: clamp(64px, 10vw, 120px) clamp(24px, 6vw, 84px);
}

.note {
  text-align: center;
}

.note p:not(.kicker),
.cta p {
  width: min(760px, 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.questions {
  display: grid;
  gap: 1px;
  background: #e7f4f8;
  padding-top: clamp(42px, 7vw, 84px);
  padding-bottom: clamp(42px, 7vw, 84px);
}

.question-static,
.question-item {
  margin: 0;
  border: 1px solid rgba(11, 102, 142, 0.16);
  background: rgba(255, 255, 255, 0.62);
}

.question-static {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: clamp(24px, 4vw, 38px) clamp(24px, 5vw, 56px);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  text-align: center;
}

.question-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 118px;
  padding: clamp(24px, 4vw, 38px) clamp(52px, 7vw, 78px);
  cursor: pointer;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  text-align: center;
}

.question-item summary::-webkit-details-marker {
  display: none;
}

.question-item summary::after {
  content: "";
  position: absolute;
  right: clamp(22px, 4vw, 42px);
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.question-item[open] summary::after {
  transform: rotate(225deg);
}

.question-item p {
  width: min(720px, 100%);
  margin: -8px auto 0;
  padding: 0 clamp(24px, 4vw, 38px) clamp(28px, 4vw, 42px);
  color: var(--blue);
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  font-weight: 800;
  text-align: center;
}

.question-item a {
  color: var(--blue);
  text-decoration: none;
}

.question-item a:hover {
  text-decoration: underline;
}

.link-arrow {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 1.75em;
  line-height: 0;
  vertical-align: -0.08em;
}

.cta {
  text-align: center;
  background: var(--ink);
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
}

.button-dark {
  background: transparent;
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  width: min(680px, 100%);
  margin: 42px auto 0;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  padding: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

.contact-form .button {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  font-size: 0.95rem;
}

.email-note a {
  color: var(--white);
  font-weight: 800;
}

.privacy-link {
  font-size: 0.95rem;
}

.privacy-link a {
  color: rgba(255, 255, 255, 0.86);
}

.privacy-page {
  background: #fbf7ef;
}

.privacy-document {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 92px) clamp(22px, 6vw, 72px);
}

.privacy-document h1 {
  color: var(--ink);
  text-shadow: none;
}

.privacy-document h2 {
  margin-top: 46px;
  font-size: clamp(1.65rem, 3.5vw, 2.8rem);
  line-height: 1.1;
}

.privacy-document p,
.privacy-document li {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.privacy-document a {
  color: var(--blue);
  font-weight: 800;
}

.updated {
  margin-top: 14px;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 42px;
}

.privacy-footer {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0 clamp(22px, 6vw, 72px) 42px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.privacy-footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.privacy-footer a:hover,
.privacy-footer a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hidden {
  display: none;
}

@media (max-width: 620px) {
  .hero {
    padding: 36px 20px;
  }

  .button {
    letter-spacing: 0.03em;
  }
}


/* AiOpe Saaga-inspired refinements */
.trust-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  padding-block: clamp(64px, 8vw, 112px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
}

.trust-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(31, 49, 92, 0.12);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(235, 250, 248, 0.72));
  box-shadow: 0 18px 50px rgba(31, 49, 92, 0.08);
}

.trust-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(240, 250, 255, 0.96), rgba(245, 240, 255, 0.75));
}

.trust-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.96), rgba(239, 248, 255, 0.78));
}

.trust-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink, #24345f);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(31, 49, 92, 0.08);
}

.trust-card h3 {
  margin: 0 0 12px;
}

.trust-card p {
  margin: 0;
}

.service-note {
  border: 1px solid rgba(45, 185, 175, 0.22);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(232, 250, 247, 0.9));
  box-shadow: 0 18px 50px rgba(31, 49, 92, 0.08);
}

.service-note img {
  border-radius: 18px;
}

#hero {
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: -1px;
  height: clamp(54px, 8vw, 110px);
  background: #f6f8fb;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(58%);
  z-index: 1;
  pointer-events: none;
}

#hero .profile-wrap {
  position: relative;
  z-index: 2;
}

@media (max-width: 800px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
/* Mobiilihero jatkaa samaa tummaa kuvapintaa kuin leveä näkymä. */
@media (max-width: 760px) {
  #hero .profile-copy {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  #hero .profile-copy {
    color: #ffffff !important;
  }

  #hero .profile-copy > p,
  #hero .profile-bio {
    color: #ffffff !important;
  }
}
