.ropi {
  --ground: #eee9dd;
  --ink: #1b1d18;
  --rule: #a6a296;
  --selection: #ffba48;
  --amber: #ffba48;
  --dark: #191a17;
  --dark-ink: #f5efe2;
  --muted-on-dark: #cdc6b9;
}

.ropi-dark { background: var(--dark); color: var(--dark-ink); --rule: #51514a; }
.ropi .studio-bar { background: #2a2b24; }
.ropi .demo-header nav a { min-height: 44px; }
.ropi-skip { position: fixed; top: 8px; left: 8px; z-index: 3; padding: 10px 12px; background: var(--amber); color: var(--ink); clip-path: inset(50%); }
.ropi-skip:focus-visible { clip-path: none; }

.ropi-brand { color: #ffba68; font-size: 1.65rem; font-weight: 900; line-height: .82; text-decoration: none; letter-spacing: -.035em; }

.ropi-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 95px); padding-block: clamp(40px, 7vw, 100px); }
.ropi-hero h1 { max-width: 9ch; font-size: clamp(3.35rem, 7.6vw, 6rem); font-weight: 850; line-height: .96; }
.ropi-hero-copy p { max-width: 39ch; margin-top: 16px; color: var(--muted-on-dark); }
.ropi-button { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 17px; background: var(--amber); color: var(--ink); font-weight: 780; text-decoration: none; transition: background .2s, transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.ropi-button:hover { background: #ffd486; }
.ropi-button:active { transform: scale(.96); }

.ropi h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 800; line-height: 1.02; }
.ropi-section-intro p { margin-top: 14px; max-width: 42ch; }
.ropi-services { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 85px); padding-block: clamp(48px, 7vw, 100px); }
.ropi-service-list { display: grid; align-content: start; gap: 10px; }
.ropi-service-list details { border-radius: 12px; background: #f9f5eb; }
.ropi-service-list details[open] { background: #2a2b24; color: var(--dark-ink); }
.ropi-service-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 64px;
  padding: 12px clamp(16px, 2.2vw, 24px);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.ropi-service-list summary::-webkit-details-marker { display: none; }
.ropi-service-list summary::after {
  content: "";
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat #eee4cf;
  transition: transform .24s var(--ease);
}
.ropi-service-list details[open] summary::after { transform: rotate(45deg); background-color: var(--amber); }
.ropi-service-body { padding: 0 clamp(16px, 2.2vw, 24px) 15px; }
.ropi-service-body p { max-width: 53ch; color: var(--muted-on-dark); }
.ropi-service-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--amber); font-weight: 740; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.ropi-service-action:active { opacity: .8; }

.ropi-process { background: var(--amber); padding-block: clamp(46px, 7vw, 91px); }
.ropi-process h2 { max-width: 17ch; }
.ropi-process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(18px, 3vw, 56px); margin: clamp(22px, 4vw, 45px) 0 0; padding: 0; list-style: none; counter-reset: ropi-step; }
.ropi-process li { display: flex; align-items: start; gap: 11px; border-top: 1px solid #977234; padding-block: 12px 0; counter-increment: ropi-step; }
.ropi-process li::before { content: counter(ropi-step); font-size: 1.03rem; font-weight: 650; line-height: 1.35; }
.ropi-process h3 { font-size: clamp(1.05rem, 2vw, 1.31rem); line-height: 1.3; }
.ropi-process p { margin-top: 4px; }

.ropi-request { padding: clamp(18px, 3.5vw, 38px); background: var(--ground); color: var(--ink); }
.ropi-request h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 4vw, 3.4rem); }
.ropi-request .ropi-options { display: grid; }
.ropi-request .ropi-options span { min-height: 44px; }
.ropi-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.ropi-options { display: flex; flex-wrap: wrap; align-items: start; gap: 7px; }
.ropi-options label { position: relative; }
.ropi-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ropi-options span { display: flex; align-items: center; min-height: 46px; padding: 8px 11px; border: 1px solid #817e71; cursor: pointer; font-size: .91rem; font-weight: 730; transition: background .17s, color .17s, transform .21s var(--ease); -webkit-tap-highlight-color: transparent; }
.ropi-options :checked + span { background: var(--ink); border-color: var(--ink); color: var(--dark-ink); }
.ropi-options :focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.ropi-options label:active span { transform: scale(.96); }

.ropi-request-form > button { border: 0; margin-top: 16px; }

.ropi-contact > .demo-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 34px clamp(30px, 8vw, 105px); padding-block: clamp(46px, 7vw, 95px); }
.ropi-location { display: grid; grid-template-columns: minmax(0, max-content) max-content; align-items: center; gap: 2px clamp(8px, 2vw, 22px); margin-top: 15px; }
.ropi-map { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--amber); font-size: .86rem; font-weight: 720; }
.ropi-map svg { flex: none; }
.ropi-contact-label { display: block; margin-top: 16px; color: var(--muted-on-dark); }
.ropi-contact-number { display: block; margin-top: 2px; color: var(--amber); font-size: clamp(1.75rem, 4vw, 2.75rem); font-variant-numeric: tabular-nums; }
.ropi-contact h3 { font-size: 1.2rem; margin-bottom: 10px; }
.ropi-contact dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; border-top: 1px solid var(--rule); padding-block: 10px; }
.ropi-contact dd { font-weight: 680; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  .ropi-hero, .ropi-services, .ropi-contact > .demo-wrap { grid-template-columns: minmax(0, 1fr); }
  .ropi-hero { gap: 23px; padding-top: 32px; }
  .ropi-hero h1 { max-width: 14ch; font-size: clamp(2.6rem, 11vw, 4.5rem); }
  .ropi-hero-copy p { margin-top: 12px; }
  .ropi-process ol { grid-template-columns: minmax(0, 1fr); gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .ropi-button:active, .ropi-options label:active span { transform: none; }
  .ropi-service-list summary::after { transition: none; }
}
