
:root {
  color-scheme: dark;
  --bg: #0b1019;
  --surface: #121b28;
  --surface-hover: #192536;
  --border: #283548;
  --text: #f5f8fd;
  --muted: #a0aec3;
  --accent: #78a8ff;
  --accent-strong: #3d8dff;
  --max-width: 960px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse 80% 400px at 50% -140px,
      #19365b 0%,
      transparent 100%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: #afcbff;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

/* Shared header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
}

/* Official Kinest SVG logo */

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid #304660;
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    #182a43,
    #101622
  );
  overflow: hidden;
}

.brand-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Navigation */

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: color .2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  position: relative;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Shared content */

main {
  flex: 1;
  padding-bottom: 88px;
}

.hero {
  padding: 80px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent-strong);
}

h1,
h2,
h3 {
  letter-spacing: -.035em;
  line-height: 1.2;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 70px);
  font-weight: 800;
  letter-spacing: -.065em;
}

h1 .accent {
  color: var(--accent);
}

h2 {
  margin: 0 0 14px;
  font-size: 27px;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 19px);
}

.section {
  margin-top: 40px;
}

.section-description {
  color: var(--muted);
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Cards */

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(
    150deg,
    rgba(25, 37, 54, .9),
    rgba(17, 25, 37, .96)
  );
}

.card p,
.card li {
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #b7d0ff;
  background: rgba(77, 140, 255, .14);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.btn:hover {
  background: var(--surface-hover);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: white;
}

.btn-primary:hover {
  background: #317cf0;
  color: white;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Notices */

.notice {
  padding: 20px 24px;
  border: 1px solid #345079;
  border-radius: 16px;
  background: rgba(39, 75, 123, .18);
}

.notice p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text);
}

ol,
ul {
  padding-left: 24px;
}

li {
  margin: 8px 0;
}

/* Contact section */

.contact-card {
  padding: 32px;
  border: 1px solid #3b5680;
  border-radius: 20px;
  background: linear-gradient(
    120deg,
    #172b47,
    #121d2f
  );
}

.contact-card p {
  color: var(--muted);
}

/* Privacy document */

.document-hero {
  padding-bottom: 30px;
}

.document-hero h1 {
  font-size: clamp(40px, 6vw, 60px);
}

.document-meta {
  color: var(--muted);
  font-size: 13px;
}

.document {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(18, 27, 40, .75);
}

.document section + section {
  margin-top: 35px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.document h2 {
  font-size: 21px;
}

.document p,
.document li {
  color: var(--muted);
}

.document .notice p {
  color: var(--text);
}

/* Shared footer */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    padding: 55px 0 34px;
  }

  h1 {
    font-size: clamp(40px, 10vw, 58px);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .contact-card {
    padding: 26px 22px;
  }

  .footer-inner {
    flex-direction: column;
  }

  main {
    padding-bottom: 60px;
  }
}

@media (max-width: 360px) {
  .brand {
    font-size: 17px;
    gap: 8px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-icon img {
    width: 28px;
    height: 28px;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    font-size: 12px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .site-nav a {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Print */

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: white;
    color: black;
  }

  .site-header,
  .site-footer {
    display: none;
  }

  .document {
    border: none;
    background: none;
    padding: 0;
  }
}



/* Kinest landing page — one authentic product image and a compact editorial layout */
body.landing {
  --max-width: 1120px;
  background: #0b1019;
  color: var(--text);
  line-height: 1.6;
}
body.landing .container { width: min(calc(100% - 48px), var(--max-width)); }
body.landing h1, body.landing h2, body.landing h3 { line-height: 1.13; letter-spacing: -.045em; }
body.landing h1 { font-size: clamp(54px, 6.2vw, 88px); letter-spacing: -.065em; font-weight: 800; margin: 0 0 22px; }
body.landing h2 { font-size: clamp(32px, 4vw, 50px); margin: 0 0 16px; }
body.landing h3 { font-size: 21px; margin: 0 0 12px; }
body.landing .accent { color: var(--accent); }
body.landing .eyebrow { font-size: 11px; font-weight: 750; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
body.landing .hero-wrap { overflow: hidden; background: radial-gradient(ellipse 48% 55% at 82% 35%, rgba(44,106,192,.17), transparent 90%); }
body.landing .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 75px);
  min-height: 650px;
  padding-block: 72px 75px;
}
body.landing .hero-copy { max-width: 570px; }
body.landing .hero-promise { color: #f7faff; font-size: clamp(18px, 2vw, 22px); font-weight: 720; margin: 0 0 13px; }
body.landing .description { color: #aebed2; font-size: 17px; line-height: 1.7; max-width: 470px; margin: 0 0 28px; }
body.landing .cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
body.landing .appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; border: 1px solid #777; border-radius: 11px;
  padding: 10px 17px; min-height: 62px; text-decoration: none;
  transition: border-color .2s ease;
}
body.landing .appstore-badge:hover { color: #fff; border-color: #fff; }
body.landing .appstore-badge svg { width: 32px; height: 35px; fill: #fff; }
body.landing .appstore-label { display: flex; flex-direction: column; line-height: 1.05; }
body.landing .appstore-label small { font-size: 11px; }
body.landing .appstore-label strong { font-size: 23px; font-weight: 650; letter-spacing: -.035em; }
body.landing .guide-cta { color: #b4ceef; font-size: 14px; font-weight: 650; text-decoration: none; }
body.landing .guide-cta:hover { color: #fff; }
body.landing .hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 25px; color: #92a7c3; font-size: 12px; }
body.landing .hero-trust span::before { content: '✓'; color: var(--accent); padding-right: 7px; }
body.landing .hero-art { display: flex; justify-content: center; align-items: center; min-width: 0; }
body.landing .screenshot-shell {
  width: min(100%, 314px);
  border: 1px solid #515e71; border-radius: 42px;
  padding: 7px; background: #0c111a;
  box-shadow: 0 35px 80px rgba(0,0,0,.48), 0 0 65px rgba(49,109,196,.11);
}
body.landing .screenshot-shell img { display: block; width: 100%; height: auto; border-radius: 36px; }
body.landing .essentials { padding-block: 87px 96px; }
body.landing .section-head { max-width: 740px; margin: 0 0 30px; }
body.landing .section-head p:last-child { color: #a8b9cf; font-size: 16px; margin-bottom: 0; }
body.landing .essentials-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
body.landing .essential {
  min-height: 216px; padding: 28px;
  border: 1px solid #2b394d; border-radius: 20px;
  background: linear-gradient(145deg, #172333, #111b29);
}
body.landing .essential-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 10px; margin-bottom: 22px;
  border-radius: 13px; border: 1px solid #2c4e74;
  background: #162c46; color: #92bdff;
}
body.landing .essential-icon svg { width: 24px; height: 24px; }
body.landing .essential h3 { font-size: 19px; }
body.landing .essential p { color: #a7b8cd; font-size: 14px; line-height: 1.7; margin: 0; }
body.landing .story-band { background: linear-gradient(125deg, #111e30, #101827); border-block: 1px solid #223348; }
body.landing .story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 8vw, 115px); align-items: center; padding-block: 73px; }
body.landing .story p:not(.eyebrow) { color: #a8b9cf; font-size: 16px; max-width: 480px; margin: 0; }
body.landing .story-benefits { display: grid; gap: 0; }
body.landing .story-benefits > div { display: flex; gap: 18px; align-items: center; border-bottom: 1px solid #2b3d53; padding: 18px 0; color: #e2ebf7; font-weight: 550; font-size: 15px; }
body.landing .story-benefits > div:last-child { border-bottom: 0; }
body.landing .story-mark { color: #8dbaff; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
body.landing .section { padding-block: 85px; }
body.landing .guides-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
body.landing .guide {
  display: flex; flex-direction: column; min-height: 181px;
  border: 1px solid #2b394d; border-radius: 18px; background: #121c2a;
  padding: 25px; color: #fff; text-decoration: none;
  transition: border-color .2s ease;
}
body.landing .guide:hover { color: #fff; border-color: #6799de; }
body.landing .guide .number { color: #8fb9f8; font-weight: 750; font-size: 11px; letter-spacing: .09em; }
body.landing .guide h3 { margin: 17px 0 19px; font-size: 18px; }
body.landing .guide .read { font-size: 13px; color: #94bdff; margin-top: auto; font-weight: 650; }
body.landing .faq { max-width: 820px; }
body.landing .faq details { padding: 19px 0; border-bottom: 1px solid #28384d; }
body.landing .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; font-size: 16px; font-weight: 650; list-style: none; }
body.landing .faq summary::-webkit-details-marker { display: none; }
body.landing .faq summary::after { content: '+'; color: var(--accent); font-size: 22px; font-weight: 400; }
body.landing .faq details[open] summary::after { content: '−'; }
body.landing .faq details p { color: #a8b9cf; font-size: 14px; line-height: 1.7; margin: 10px 0 0; }
body.landing .closing-band { background: linear-gradient(140deg,#101d2e,#0d1724); border-top: 1px solid #26384b; }
body.landing .closing { padding-block: 69px 75px; text-align: center; }
body.landing .closing p { color: #a8b9cf; margin: 0 0 25px; }
body.landing .closing .appstore-badge { justify-content: center; }
body.landing .guide:focus-visible,body.landing .appstore-badge:focus-visible,body.landing .guide-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 900px) {
  body.landing .hero { grid-template-columns: 1fr; gap: 34px; text-align: center; padding-block: 60px; min-height: 0; }
  body.landing .hero-copy { margin-inline: auto; }
  body.landing .description { margin-inline: auto; }
  body.landing .cta-row,body.landing .hero-trust { justify-content: center; }
  body.landing .essentials-grid,body.landing .guides-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.landing .essential { padding: 20px; min-height: 228px; }
}
@media (max-width: 720px) {
  body.landing .essentials-grid,body.landing .guides-grid { grid-template-columns: 1fr; }
  body.landing .essential { min-height: 0; padding: 25px; }
  body.landing .story { grid-template-columns: 1fr; gap: 25px; padding-block: 55px; }
  body.landing .story-benefits > div { padding: 15px 0; }
}
@media (max-width: 650px) {
  body.landing .container { width: min(calc(100% - 32px),var(--max-width)); }
  body.landing .hero { padding-block: 45px 55px; }
  body.landing .hero h1 { font-size: clamp(47px,12vw,65px); }
  body.landing .description { font-size: 16px; }
  body.landing .screenshot-shell { width: min(74vw, 285px); }
  body.landing .essentials,body.landing .section { padding-block: 63px; }
  body.landing .story h2 { font-size: 34px; }
  body.landing .closing { padding-block: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  body.landing .appstore-badge,body.landing .guide { transition: none; }
}

/* Guides page styles */
.guide-intro{max-width:700px}
.guide-grid{display:grid;gap:22px}
.guide-item{scroll-margin-top:22px}
.guide-item h2{font-size:clamp(22px,3vw,29px)}
.guide-item p,.guide-item li{color:var(--muted)}
.guide-item ol{margin:8px 0 20px}
.guide-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 34px}
.guide-links a{border:1px solid var(--border);border-radius:11px;padding:9px 13px;text-decoration:none;background:var(--surface);font-size:13px}
.guide-note{font-size:14px;border-left:3px solid var(--accent);padding-left:16px}
@media(max-width:600px){.site-nav{gap:11px}.site-nav a{font-size:12px}}

/* Shared page consistency and small-screen navigation */
.privacy-document .privacy-information {
  margin-top: 32px;
}
@media (max-width: 650px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
    padding-block: 12px 10px;
  }
  .site-nav {
    flex: 1 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: 8px;
    padding-bottom: 5px;
  }
  .site-nav a {
    font-size: 13px;
  }
  .site-nav a[aria-current="page"]::after {
    bottom: -6px;
  }
  .footer-links {
    gap: 10px 18px;
  }
}
@media (max-width: 360px) {
  .site-nav { gap: 7px 13px; }
  .site-nav a { font-size: 12px; }
}

/* Keep the existing 960px site header/footer width across every route. */
body.landing .site-header .container,
body.landing .site-footer .container {
  width: min(calc(100% - 40px), 960px);
}
@media (max-width: 650px) {
  body.landing .site-header .container,
  body.landing .site-footer .container {
    width: min(calc(100% - 32px), 960px);
  }
}

/* Shared header colors across Home, Guides, Support and Privacy. */
.site-header { background: #0b1019; border-bottom: 1px solid #283548; }
.site-nav a { color: #a0aec3; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #f5f8fd; }
.site-footer { background: #0b1019; }
