/* Ondura website – single stylesheet, no external requests. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url("../fonts/instrument-sans-wdth.woff2") format("woff2-variations");
}

:root {
  --ink: #17184a;
  --ink-soft: #4a4c78;
  --indigo: #4f54d4;
  --indigo-deep: #3a3eb3;
  --mist: #f4f5fd;
  --line: #e0e2f2;
  --white: #ffffff;
  --night: #191a52;

  --text: #2563eb;
  --sheets: #16a34a;
  --slides: #ea580c;

  --radius-window: 14px;
  --radius-control: 8px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--indigo-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--indigo); }

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-control);
  z-index: 10;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 255 255 / 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(224 226 242 / 0.7);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.top__end { display: flex; align-items: center; gap: 12px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 520;
  padding: 8px 12px;
  border-radius: var(--radius-control);
}
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav .nav__cta {
  color: var(--white);
  background: var(--indigo);
  margin-left: 8px;
}
.nav .nav__cta:hover { background: var(--indigo-deep); color: var(--white); }

@media (max-width: 760px) {
  .nav a:not(.nav__cta) { display: none; }
}

/* DE / EN switcher */
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lang a {
  min-width: 36px;
  padding: 5px 8px;
  border-radius: 7px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 2px rgb(23 24 74 / 0.12), 0 0 0 1px rgb(79 84 212 / 0.16);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-control);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--indigo); color: var(--white); box-shadow: 0 6px 18px -8px rgb(79 84 212 / 0.8); }
.btn--primary:hover { background: var(--indigo-deep); color: var(--white); }
.btn--ghost { color: var(--ink); background: rgb(255 255 255 / 0.7); border: 1px solid var(--line); }
.btn--ghost:hover { color: var(--ink); background: var(--white); border-color: #c9cceb; }
.btn--light { background: var(--white); color: var(--night); min-width: 13rem; }
.btn--light:hover { background: #e7e8ff; color: var(--night); }

/* ---------- Hero ---------- */

/* The backdrop repeats the lavender-to-cyan wash of the app window itself,
   so the screenshots sit in the same light they were taken in. */
.hero {
  position: relative;
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60% 55% at 8% 0%, rgb(240 171 252 / 0.38), transparent 70%),
    radial-gradient(55% 60% at 100% 35%, rgb(34 211 238 / 0.28), transparent 70%),
    linear-gradient(180deg, #eceefe 0%, #f6f7ff 60%, var(--white) 100%);
  overflow: hidden;
}

.hero__text { max-width: 56rem; }

.hero h1 {
  font-size: clamp(2.75rem, 8.2vw, 6.25rem);
  font-weight: 640;
  font-stretch: 76%;
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero__lede {
  margin-top: 28px;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Tour ---------- */

.tour { margin-top: clamp(40px, 6vw, 64px); }

.tour__bar {
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.tour__bar::-webkit-scrollbar { display: none; }

.tour__tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: rgb(255 255 255 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 1px 2px rgb(23 24 74 / 0.06), inset 0 0 0 1px rgb(224 226 242 / 0.6);
  border-radius: 12px;
}

.tour__tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 540;
  cursor: pointer;
  white-space: nowrap;
}
.tour__tabs button:hover { color: var(--ink); background: rgb(79 84 212 / 0.07); }
.tour__tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 3px rgb(23 24 74 / 0.12), 0 0 0 1px rgb(79 84 212 / 0.18);
}
.tour__tabs img { width: 20px; height: 20px; }

.tour__sep {
  width: 1px;
  height: 22px;
  margin-inline: 6px;
  background: var(--line);
}

.tour__stage { margin: 16px 0 0; }

.tour__img {
  width: 100%;
  border-radius: var(--radius-window);
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow:
    0 0 0 1px rgb(23 24 74 / 0.06),
    0 30px 60px -24px rgb(47 47 158 / 0.35),
    0 12px 24px -12px rgb(23 24 74 / 0.18);
  background: var(--mist);
  transition: opacity 180ms ease;
}
.tour__img.is-swapping { opacity: 0; }

.tour__caption {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  min-height: 1.6em;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--mist { background: var(--mist); }

.section__title,
.split__head h2,
.download__head h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 630;
  font-stretch: 82%;
  letter-spacing: -0.02em;
}

.section__intro {
  margin-top: 18px;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

h3 { font-size: 1.125rem; font-weight: 620; letter-spacing: -0.005em; }

.app-icon { width: 56px; height: 56px; }

/* Mail: heading column + features column */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split__head { position: sticky; top: 96px; }
.split__head h2 { margin-top: 20px; }
.split__head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.125rem; max-width: 30rem; }

.split__body { display: grid; gap: 36px; }

.feature { padding-top: 20px; border-top: 1px solid var(--line); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--ink-soft); max-width: 40rem; }
.feature ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); display: grid; gap: 8px; max-width: 40rem; }
.feature li::marker { color: var(--indigo); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__head { position: static; }
}

/* Screenshot pairs */
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  margin-top: clamp(56px, 8vw, 96px);
}
.pair figure { margin: 0; }
.pair img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(23 24 74 / 0.08), 0 18px 36px -20px rgb(47 47 158 / 0.35);
}
.pair figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } }

/* Office apps */
.apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 64px);
}
.app { border-top: 3px solid var(--app-color); padding-top: 24px; }
.app--text { --app-color: var(--text); }
.app--sheets { --app-color: var(--sheets); }
.app--slides { --app-color: var(--slides); }
.app .app-icon { width: 48px; height: 48px; }
.app h3 { margin-top: 18px; font-size: 1.3125rem; }
.app p { color: var(--ink-soft); margin-top: 12px; }
.app .formats { display: flex; gap: 6px; margin-top: 10px; }
.formats span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--app-color);
  background: color-mix(in srgb, var(--app-color) 9%, white);
  padding: 2px 9px;
  border-radius: 999px;
}
@media (max-width: 860px) { .apps { grid-template-columns: 1fr; } }

.common { margin-top: clamp(56px, 8vw, 88px); }
.common h3 { font-size: 1.3125rem; }
.common dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(24px, 4vw, 56px);
  margin: 20px 0 0;
}
.common dt { font-weight: 620; }
.common dd { margin: 6px 0 0; color: var(--ink-soft); }
@media (max-width: 860px) { .common dl { grid-template-columns: 1fr; } }

/* Accounts table */
.table-scroll { margin-top: 40px; overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.accounts { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.accounts th, .accounts td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.accounts thead th { background: var(--mist); font-weight: 620; font-size: 0.9375rem; }
.accounts tbody tr:last-child > * { border-bottom: 0; }
.accounts tbody th { font-weight: 560; }
.accounts td.y { color: var(--ink); }
.accounts td.y::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--indigo);
  vertical-align: 0.1em;
}
.accounts td.n { color: #9a9cc0; }

.data-note {
  margin-top: clamp(56px, 8vw, 88px);
  max-width: 46rem;
  padding-left: 24px;
  border-left: 3px solid var(--indigo);
}
.data-note p { margin-top: 10px; color: var(--ink-soft); }

/* Download */
.section--ink { background: var(--night); color: #e9eaff; }
.section--ink a { color: #c7c9ff; }
.section--ink a:hover { color: var(--white); }
.section--ink .btn--light { color: var(--night); }

.download {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.download__head h2 { color: var(--white); }
.download__version { margin-top: 14px; color: #b9bbe8; font-size: 1.125rem; }

.downloads { list-style: none; margin: 36px 0 0; padding: 0; }
.downloads li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.downloads li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.downloads__os { font-weight: 560; color: var(--white); }
.downloads__os small { display: block; font-weight: 450; color: #a7aadb; font-size: 0.875rem; }
.download__more { margin-top: 20px; }

.download__setup img {
  border-radius: 12px;
  box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.55);
}
.download__setup p { margin-top: 20px; color: #c3c5ee; }
.download__setup .download__lang { margin-top: 12px; color: var(--white); font-weight: 560; }
.download__setup strong { color: var(--white); font-weight: 600; }

@media (max-width: 860px) {
  .download { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .downloads li { flex-direction: column; align-items: stretch; }
}

/* Steps (a real sequence, so it is numbered) */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin: 40px 0 0;
  padding: 0;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--indigo-deep);
  font-weight: 650;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.steps p { margin-top: 8px; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.it-note { margin-top: 48px; color: var(--ink-soft); max-width: 44rem; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px; background: var(--white); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.foot__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 560; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.foot a { color: var(--ink-soft); text-decoration: none; font-size: 0.9375rem; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.legal { padding-block: clamp(56px, 8vw, 96px); }
.legal__body { max-width: 44rem; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 630; font-stretch: 82%; letter-spacing: -0.02em; }
.legal h2 { font-size: 1.25rem; font-weight: 620; margin-top: 40px; }
.legal p, .legal address, .legal ul { margin-top: 12px; color: var(--ink-soft); font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
