/* Stratora website (screens 46–48). Values from design/prototype/Website*.dc.html, colors of style Ruhig (light). */

@font-face {
  font-family: 'Instrument Sans';
  src: url(fonts/instrument_sans/InstrumentSans-Variable.ttf) format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url(fonts/ibm_plex_mono/IBMPlexMono-Regular.ttf) format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url(fonts/ibm_plex_mono/IBMPlexMono-Medium.ttf) format('truetype');
  font-weight: 500;
  font-display: swap;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #F7F6F2;
  color: #1B1C1A;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  line-height: 1.4;
  overflow-wrap: anywhere;
  hyphens: auto;
}

a {
  color: #0F5F58;
}

a:hover {
  color: #0A4540;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid #0F5F58;
  outline-offset: 2px;
}

.on-primary :focus-visible {
  outline-color: #FFFFFF;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  background: #0F5F58;
  color: #FFFFFF;
  font-weight: 600;
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1;
}

.skip:focus {
  top: 16px;
}

/* Header */

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.logo {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1B1C1A;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a,
.site-footer a {
  min-height: 48px;
  display: flex;
  align-items: center;
  color: #1B1C1A;
  text-decoration: none;
}

.site-nav a[aria-current='page'],
.site-footer a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Buttons and badges */

.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  background: #0F5F58;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn:hover {
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: #0F5F58;
  border: 1px solid #79807D;
}

.btn-outline:hover {
  color: #0A4540;
}

.btn-light {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 26px;
  background: #FFFFFF;
  color: #0F5F58;
  font-size: 17px;
}

.btn-light:hover {
  color: #0A4540;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  min-height: 56px;
  min-width: min(160px, 100%);
  padding: 0 20px;
  border-radius: 14px;
  background: #1B1C1A;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.store:hover {
  color: #FFFFFF;
}

.store small {
  font-size: 11px;
  opacity: 0.8;
}

.store strong {
  font-size: 17px;
  font-weight: 600;
}

.tag {
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: #CCE8E2;
  color: #051F1C;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.soon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 11px;
  background: #CCE8E2;
  color: #051F1C;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* Start page */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}

.body-text {
  font-size: 17px;
  line-height: 1.6;
  color: #49504D;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: #49504D;
  max-width: 560px;
}

.note {
  font-size: 14px;
  color: #49504D;
}

.hero-phone {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(324px, 100%);
  border-radius: 48px;
  background: #1B1C1A;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(15, 95, 88, 0.18);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  background: #F7F6F2;
}

.steps,
.personas,
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.step {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #DCDDD9;
}

.step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  color: #0F5F58;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 16px;
}

.feature {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: #EFEEE9;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #CCE8E2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
}

.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: #49504D;
}

.persona {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #DCDDD9;
}

.persona h3 {
  font-size: 22px;
  font-weight: 600;
}

.checks {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #0F5F58;
}

.checks li > span {
  color: #1B1C1A;
}

.checks svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-wrap {
  max-width: 1200px;
  margin: 72px auto 0;
  padding: 0 24px;
}

.trust {
  border-radius: 28px;
  background: #0F5F58;
  color: #FFFFFF;
  padding: 44px clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.trust-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-items {
  gap: 28px;
}

.trust-items article {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust h3 {
  font-size: 18px;
  font-weight: 600;
}

.trust p {
  font-size: 15px;
  line-height: 1.55;
  color: #CFE6E2;
}

.trust a {
  align-self: flex-start;
  min-height: 48px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #DCDDD9;
}

.plan-highlight {
  border: 2px solid #0F5F58;
}

.plan-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan h3 {
  font-size: 20px;
  font-weight: 600;
  flex-grow: 1;
}

.plan-price {
  font-size: 32px;
  font-weight: 600;
}

.plan-per {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #49504D;
}

.plan-extra {
  font-size: 13px;
  color: #49504D;
  min-height: 18px;
}

.plan .checks {
  flex-grow: 1;
}

.plan-note {
  margin-top: 16px;
  font-size: 14px;
  color: #49504D;
}

.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.faq-intro {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-intro a {
  min-height: 48px;
  display: flex;
  align-items: center;
  align-self: flex-start;
  font-size: 16px;
  font-weight: 600;
}

.faq-list,
.qa-list,
.rows {
  background: #FFFFFF;
  border: 1px solid #DCDDD9;
  border-radius: 20px;
}

.faq-list {
  flex: 2 1 520px;
  min-width: 0;
  padding: 4px 28px;
}

.faq-list article,
.qa-list article {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-list article + article,
.qa-list article + article,
.rows div + div {
  border-top: 1px solid #DCDDD9;
}

.faq-list h3 {
  font-size: 18px;
  font-weight: 600;
}

.closing-wrap {
  max-width: 1200px;
  margin: 72px auto;
  padding: 0 24px;
}

.closing {
  border-radius: 28px;
  background: #EFEEE9;
  padding: 44px clamp(24px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.closing-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Help and legal pages */

.tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tabs a {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 24px;
  border: 1px solid #79807D;
  color: #1B1C1A;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.tabs a[aria-current='page'] {
  background: #CCE8E2;
  border-color: #CCE8E2;
  color: #051F1C;
  font-weight: 600;
}

.doc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.toc {
  flex: 1 1 240px;
  background: #FFFFFF;
  border: 1px solid #DCDDD9;
  border-radius: 20px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 500;
}

.toc-label {
  padding: 0 12px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #49504D;
}

.toc a {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  color: #1B1C1A;
  text-decoration: none;
}

.doc main {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.doc h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.doc-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-intro {
  font-size: 19px;
  line-height: 1.5;
  color: #49504D;
}

.stand {
  font-size: 15px;
  color: #49504D;
}

.doc section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc section h2 {
  font-size: 24px;
  font-weight: 600;
}

.help section h2 {
  font-size: 26px;
}

.qa-list {
  padding: 4px 24px;
}

.qa-list article {
  gap: 8px;
}

.qa-list h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.box {
  background: #0F5F58;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
  align-items: flex-start;
}

.doc .box {
  gap: 12px;
}

.box p {
  font-size: 17px;
  line-height: 1.5;
  color: #CFE6E2;
}

.box .checks {
  gap: 10px;
  font-size: 17px;
  line-height: 1.45;
}

.box .checks li,
.box .checks li > span {
  color: #FFFFFF;
}

.rows {
  padding: 4px 22px;
}

.rows div {
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.rows dt {
  flex: 1 1 180px;
  font-size: 16px;
  font-weight: 600;
}

.rows dd {
  flex: 999 1 280px;
  font-size: 16px;
  line-height: 1.5;
  color: #49504D;
}

/* Footer */

.site-footer {
  border-top: 1px solid #DCDDD9;
  padding: 28px 24px 40px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 15px;
  font-weight: 500;
}

.copyright {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #49504D;
}

/* Wide windows: table of contents stays in view */

@media (min-width: 840px) {
  .toc {
    position: sticky;
    top: 16px;
  }
}

/* Narrow windows */

@media (max-width: 720px) {
  .section {
    padding-top: 48px;
  }

  .trust-wrap,
  .closing-wrap {
    margin-top: 48px;
  }

  .closing-wrap {
    margin-bottom: 48px;
  }

  .hero {
    padding-top: 16px;
  }

  .faq-list {
    padding: 4px 20px;
  }

  .doc {
    padding-top: 24px;
  }
}
