/* ROTA — brand tokens from PDF */
:root {
  --green: #185840;
  --green-deep: #0f2e24;
  --green-mid: #1f6b4e;
  --green-soft: #e8f2ed;
  --accent: #e8a020;
  --accent-dark: #c48412;
  --bg: #f8f8f8;
  --bg-warm: #f3f5f2;
  --white: #ffffff;
  --text: #0f2e24;
  --muted: #5a6e66;
  --line: #d8e0dc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(15, 46, 36, 0.18);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Instrument Sans", "Manrope", system-ui, sans-serif;
  --nav-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(248, 248, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 248, 248, 0.96);
}

.site-header.is-dark {
  background: rgba(24, 88, 64, 0.92);
  color: var(--white);
}

.site-header.is-dark.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.logo .dot {
  color: inherit;
  position: relative;
}

.logo .dot::after {
  content: "";
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.12em;
  background: var(--accent);
  vertical-align: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 560;
  opacity: 0.78;
  transition: opacity 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--green-deep);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-solid {
  background: var(--green);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--green-mid);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  background: var(--green);
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% -30% -10%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(232, 160, 32, 0.14), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(255, 255, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 4rem;
  position: relative;
  z-index: 1;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.hero-brand .dot {
  color: inherit;
  position: relative;
}

.hero-brand .dot::after {
  content: "";
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin-left: 0.1em;
  background: var(--accent);
  vertical-align: 0.12em;
}

.hero h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 600;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero .lede {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
}

.hero-visual img {
  width: min(100%, 420px);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
  animation: floatPhone 5.5s var(--ease) infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-route {
  position: absolute;
  inset: 12% 8% 18% auto;
  width: 42%;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50% 0 0 40%;
  border-right: 0;
  pointer-events: none;
}

.hero-route::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  top: 38%;
  left: -6px;
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section-dark {
  background: var(--green);
  color: var(--white);
}

.section-soft {
  background: var(--bg-warm);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-dark .section-label {
  color: var(--accent);
}

.section h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  max-width: 18ch;
}

.section .intro {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

.section-dark .intro {
  color: rgba(255, 255, 255, 0.75);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-top {
  align-items: start;
}

/* ——— Idea compare ——— */
.compare-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
}

.compare-box.rota {
  background: var(--green-soft);
  border-color: transparent;
}

.compare-box h3 {
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.compare-box.rota h3 {
  color: var(--green);
}

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
}

.avatars {
  display: flex;
  gap: 0.35rem;
}

.avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b8c4be;
}

.compare-box.rota .avatars span {
  background: var(--green);
}

.arrow {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
}

.flow-node {
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #e6ebe8;
  color: var(--muted);
  font-weight: 600;
  min-width: 7rem;
  text-align: center;
}

.flow-node.you {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
}

.compare-box.rota .flow-node.you {
  background: var(--green);
  color: var(--white);
  border: 0;
  padding: 0.85rem 1.1rem;
}

.flow-node.you small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.flow-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.35rem;
}

.compare-box.rota .flow-note {
  color: var(--green);
  font-weight: 600;
}

.bullet-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding: 1rem 0 1rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 550;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* ——— Comparison table ——— */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

.cmp-table th,
.cmp-table td {
  padding: 1.05rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cmp-table th {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.cmp-table th.rota-col,
.cmp-table td.rota-col {
  background: var(--green-soft);
}

.cmp-table th.rota-col {
  color: var(--green);
}

.cmp-table td:first-child {
  font-weight: 650;
  color: var(--green-deep);
  width: 18%;
}

.cmp-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ——— Zero band ——— */
.zero-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.zero-mark {
  font-family: var(--display);
  font-size: clamp(6rem, 16vw, 11rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--green);
}

.zero-mark span {
  color: var(--accent);
}

/* ——— Feature strip ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature-item {
  padding: 1.5rem 1.35rem;
  border-top: 2px solid var(--green);
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.5rem;
}

.module {
  background: var(--white);
  padding: 1.6rem 1.4rem;
}

.module h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.module p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ——— Timeline ——— */
.timeline {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  counter-reset: step;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--display);
  position: relative;
  z-index: 1;
}

.timeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.timeline-step p {
  color: var(--muted);
}

/* ——— Visual blocks ——— */
.visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-soft);
}

.visual-frame img {
  width: 100%;
}

.page-hero {
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero .lede {
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.1rem;
}

.page-hero.dark {
  background: var(--green);
  color: var(--white);
  padding: 5rem 0 4rem;
}

.page-hero.dark .lede {
  color: rgba(255, 255, 255, 0.75);
}

/* ——— Pricing cards (interaction containers) ——— */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}

.price-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(232, 160, 32, 0.15);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.price-card h3 {
  font-size: 1.25rem;
}

.price-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.sla-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.sla-big {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}

.sla-big .num {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sla-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sla-item h3 {
  font-size: 1.05rem;
}

.sla-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  counter-reset: onb;
}

.step-card {
  border-top: 2px solid var(--accent);
  padding-top: 1.1rem;
}

.step-card .n {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 1rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-meta {
  margin-top: 2rem;
}

.contact-meta p {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  position: relative;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--green-deep);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.25rem;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  min-height: 1.3em;
  color: var(--muted);
}

.form-status--ok {
  color: var(--green);
  font-weight: 650;
}

.form-status--err {
  color: #b42318;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ——— CTA strip ——— */
.cta-strip {
  background: var(--green-deep);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-strip .intro {
  color: rgba(255, 255, 255, 0.72);
  margin: 0.75rem auto 0;
  max-width: 40ch;
}

.cta-strip .cta-group {
  justify-content: center;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 28ch;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 560;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-copy {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ——— Mobile sticky CTA ——— */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(248, 248, 248, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.mobile-cta .btn {
  width: 100%;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .zero-band,
  .contact-grid,
  .sla-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
    order: -1;
  }

  .hero-visual img {
    width: min(70%, 300px);
  }

  .hero-route {
    display: none;
  }

  .feature-grid,
  .module-grid,
  .price-grid,
  .compare-pair {
    grid-template-columns: 1fr;
  }

  .module-grid {
    border-radius: var(--radius);
  }

  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .cmp-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
    align-items: flex-start;
  }

  body.nav-open .site-header.is-dark .nav-links {
    background: var(--green);
  }

  body.nav-open .nav-cta {
    display: block;
    position: absolute;
    top: calc(var(--nav-h) + 11.5rem);
    left: 1.5rem;
    right: 1.5rem;
    z-index: 51;
  }

  body.nav-open .nav-cta .btn {
    width: 100%;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 2rem 0 3rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .zero-mark {
    font-size: 5.5rem;
  }
}
