/* IPSUM-inspired visual system, scoped to the RIMA homepage.
   Source: supplied 2026-10-21 design board. Custom feature illustrations
   express RIMA's own workflow. Existing commerce stays intact. */
@font-face {
  font-family: "Instrument Sans";
  src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.landing-refined {
  color-scheme: light;
  --bg: #fff;
  --bg-soft: #f7f7f7;
  --bg-elevated: #fff;
  --ink: #171918;
  --forest: #171918;
  --muted: #666a67;
  --line: #e9eae9;
  --accent: #338a62;
  --accent-hover: #246c4a;
  --accent-soft: #eff8ef;
  --sage: #338a62;
  --sage-soft: #eff8ef;
  --primary: #171b18;
  --primary-hover: #303b33;
  --primary-fg: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-cool: 0 10px 30px rgb(0 0 0 / 3%);
  --font-display: "Instrument Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: var(--font-display);
  --font-mono: var(--font-display);
  scroll-padding-top: 0;
}
.landing-refined .container { width: calc(100% - 96px); max-width: 1120px; }
.landing-refined .section { padding-block: 104px; }
.landing-refined .section[id] { scroll-margin-top: 76px; }
.landing-refined .section-title { font-size: clamp(2rem, 3.3vw, 2.85rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.045em; margin: 0; }
.landing-refined .section-desc { color: var(--muted); font-size: 14px; line-height: 1.9; }
.landing-refined .section-header { margin-bottom: 64px; }
.landing-refined .section-eyebrow { margin: 0 0 20px; color: #52675a; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; }
.landing-refined .btn { border-radius: 999px; min-height: 42px; font-weight: 500; font-size: 13px; box-shadow: none; white-space: nowrap; }
.landing-refined .btn-ghost,
.landing-refined .btn-secondary { background: #fff; border: 1px solid #e6e8e6; color: #232723; }
.landing-refined .btn:hover { transform: translateY(-1px); }
.landing-refined a:focus-visible,
.landing-refined button:focus-visible,
.landing-refined summary:focus-visible,
.landing-refined .price-card:focus-visible { outline: 2px solid #246c4a; outline-offset: 4px; }

/* Navigation: ordinary black controls, generous space, no colored pill. */
.landing-refined .site-nav { padding: 0; background: rgb(255 255 255 / 96%); border-bottom: 1px solid #f1f2f1; backdrop-filter: blur(16px); }
.landing-refined .nav-inner { min-height: 76px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.landing-refined .brand-mark { width: 30px; height: 30px; }
.landing-refined .brand-name { font-size: 19px; font-weight: 600; }
.landing-refined .nav-links { gap: 24px; }
.landing-refined .nav-links a { padding: 8px 0; background: transparent; border-radius: 0; font-size: 13px; color: #666a67; opacity: 1; }
.landing-refined .nav-links a.is-active { background: transparent; color: #161b17; }
.landing-refined .nav-actions .btn { min-width: 86px; padding: 8px 20px; }

/* The source does not show a hero; extend its typography and surface rules. */
.landing-refined .hero { padding: 72px 0 80px; background: #fff; isolation: isolate; }
.landing-refined .hero::before { display: none; }
.landing-refined .hero-layout { gap: 48px; }
.landing-refined .hero-copy .hero-kicker { color: #637469; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; margin: 0 0 20px; }
.landing-refined .hero-copy .hero-title { font-size: clamp(2.5rem, 4.4vw, 3.75rem); line-height: 1.22; font-weight: 500; letter-spacing: -0.055em; }
.landing-refined .hero-copy .hero-title br { display: block; }
.landing-refined .hero-copy .hero-title span { color: #454b46; }
.landing-refined .hero-copy .hero-actions { margin: 28px 0 0; gap: 10px; }
.landing-refined .hero-copy .hero-actions .btn { padding: 10px 25px; min-height: 44px; }
.landing-refined .hero-product-film { width: min(100%, 820px); padding: 7px; background: #fff; border: 1px solid #e8eae7; border-radius: 22px; box-shadow: 0 18px 50px -28px rgb(0 0 0 / 25%); }
.landing-refined .hero-product-film video { border-radius: 16px; }
.landing-refined .hero-product-film .product-film__controls { border: 0; padding: 5px 10px 0; background: white; justify-content: flex-end; }
.landing-refined .film-expand { color: #777d77; font-size: 11px; }

/* Section composition matches the supplied board: title left / note right. */
.landing-refined .split-heading { max-width: none; width: 100%; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; column-gap: 64px; text-align: left; margin-inline: 0; }
.landing-refined .split-heading .section-title { max-width: none; }
.landing-refined .section-heading-aside { justify-self: end; width: 300px; max-width: 100%; padding-bottom: 4px; }
.landing-refined .section-heading-aside .btn { margin-top: 18px; padding: 8px 20px; }
.landing-refined .feature-carousel-shell { position: relative; }
.landing-refined .feature-carousel-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.landing-refined .feature-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #e3e6e3; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 3px 12px rgb(0 0 0 / 7%); transition: border-color 160ms, background-color 160ms, opacity 160ms; }
.landing-refined .feature-carousel-arrow--prev { left: -21px; }
.landing-refined .feature-carousel-arrow--next { right: -21px; }
.landing-refined .feature-carousel-arrow:hover:not(:disabled) { border-color: #aeb9b1; background: #f1f6f1; }
.landing-refined .feature-carousel-arrow:disabled { opacity: .3; cursor: default; box-shadow: none; }
.landing-refined .feature-carousel-arrow--prev img { transform: rotate(225deg); }
.landing-refined .feature-carousel-arrow--next img { transform: rotate(45deg); }
.landing-refined .features-section { background: #f7f7f7; }
.landing-refined .feature-blocks { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px 0 8px; }
.landing-refined .feature-blocks::-webkit-scrollbar { display: none; }
.landing-refined .feature-blocks:focus-visible { outline: 2px solid #246c4a; outline-offset: 5px; border-radius: 20px; }
.landing-refined .feature-block { grid-column: auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 5px; border: 1px solid #e7e9e7; border-radius: 20px; background: #fff; overflow: hidden; min-width: 0; }
.landing-refined .feature-block__media { position: relative; margin: 0; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 15px 15px 8px 8px; background: #fafbfa; border: 1px solid #f0f1ef; }
.landing-refined .feature-block__media .demo-studio { display: none; }
.landing-refined .feature-illustration { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.landing-refined .feature-block__copy { order: 0; max-width: none; padding: 24px 20px 26px; }
.landing-refined .feature-block__copy h3 { font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -0.025em; margin: 12px 0 9px; }
.landing-refined .feature-block__copy p:not(.feature-block__index):not(.feature-block__hook) { max-width: none; font-size: 13px; line-height: 1.85; margin: 0; color: #70746f; }
.landing-refined .feature-block__index { display: none; }
.landing-refined .feature-block__icon { display: block; width: 20px; height: 20px; margin: 0; color: #388b75; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.landing-refined .feature-block__icon svg { width: 20px; height: 20px; }

/* Two fine outlines, with green light only on the chosen plan's inner face. */
.landing-refined .pricing-section { background: white; }
.landing-refined .pricing-layout { max-width: none; gap: 28px; }
.landing-refined .pricing-grid { gap: 20px; }
.landing-refined .pricing-trial { margin: 12px 0 0; color: #3b7a54; font-size: 12px; }
.landing-refined .price-card,
.landing-refined .price-card.is-selected { padding: 5px; border: 1px solid #e4e7e3; border-radius: 20px; background: #fff; box-shadow: none; transform: none; min-height: 0; }
.landing-refined .price-card:hover { border-color: #aab7a8; }
.landing-refined .price-card__top { position: relative; gap: 12px; padding: 26px; border: 1px solid #f0f1ee; border-radius: 15px; background: #fafafa; }
.landing-refined .price-card.is-selected .price-card__top { background: #f3faed url('../assets/ipsum-inspired/green-light.png') center top / 100% 100% no-repeat; border-color: #e5efdf; }
.landing-refined .price-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.landing-refined .price-desc { color: #596258; font-size: 12px; min-height: 1.6em; }
.landing-refined .pricing-section .price-start { margin: 10px 0 0; }
.landing-refined .price-amount { font-size: 42px; font-weight: 500; letter-spacing: -0.055em; }
.landing-refined .price-period { font-size: 12px; font-weight: 400; letter-spacing: 0; color: #555f53; opacity: 1; margin-left: 5px; }
.landing-refined .pricing-section .price-eff { min-height: 18px; font-size: 12px; margin: 0; color: #586352; }
.landing-refined .price-badge { top: 24px; right: 24px; font-size: 9px; font-weight: 500; padding: 4px 10px; background: rgb(255 255 255 / 88%); color: #394e38; letter-spacing: 0.08em; border-radius: 99px; }
.landing-refined .pricing-section .price-card__cta { margin-top: 12px; min-height: 42px; padding: 9px 18px; font-size: 12px; }
.landing-refined .price-card.is-selected .price-card__cta { background: #171b18; color: #fff; border-color: #171b18; }
.landing-refined .price-card:not(.is-selected) .price-card__cta { background: #fff; color: #232723; border-color: #e6e8e6; }
.landing-refined .membership-includes { padding: 20px 0 14px; }
.landing-refined .membership-includes p { font-size: 12px; }
.landing-refined .membership-includes li { font-size: 13px; }
.landing-refined .membership-includes li::before { border-color: #3b7a54; }
.landing-refined .pricing-compare-block { border-top-color: #e9ece7; }
.landing-refined .pricing-compare-block summary { min-height: 48px; font-size: 12px; }
.landing-refined .pricing-compare { border-radius: 14px; }
.landing-refined .pricing-compare__member,
.landing-refined .pricing-compare thead th:last-child { background: #f2f8ef; }

/* Download and help share the reference's restrained framed panels. */
.landing-refined .download-section { padding-top: 0; padding-bottom: 80px; }
.landing-refined .download-card { max-width: none; padding: 70px 32px; border: 1px solid #e5e8e3; border-radius: 24px; outline: 1px solid #f1f2ef; outline-offset: -7px; background: #f9faf8; gap: 16px; }
.landing-refined .download-card .section-title { font-size: 36px; }
.landing-refined .download-card .btn { min-height: 44px; min-width: 190px; border-radius: 99px; font-size: 13px; }
.landing-refined .download-card .btn[data-download-os="macos"] { background: white; color: #242c24; border-color: #e0e5dc; }
.landing-refined .download-macos-note { color: #71776e; font-size: 11px; }
.landing-refined .faq-section { padding-top: 24px; padding-bottom: 100px; }
.landing-refined .faq-section > .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.landing-refined .faq-section .section-header { text-align: left; max-width: none; margin: 0; }
.landing-refined .faq-section .section-title { font-size: 32px; margin-bottom: 18px; }
.landing-refined .faq-list { width: 100%; max-width: none; }
.landing-refined .faq-item { border-color: #e8ebe6; }
.landing-refined .faq-item summary { font-size: 14px; font-weight: 500; padding-block: 23px; }
.landing-refined .faq-item[open] { background: #fafbf9; }
.landing-refined .site-footer { background: #f7f7f7; border-color: #e9ebe8; padding-block: 36px; }
.landing-refined .footer-links a { font-size: 12px; }
.landing-refined .footer-copy { font-size: 11px; }

@media (max-width: 1000px) {
  .landing-refined .container { width: calc(100% - 48px); }
  .landing-refined .nav-inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: none; gap: 16px; }
  .landing-refined .nav-inner > * { grid-area: auto; }
  .landing-refined .nav-links { justify-self: center; gap: 20px; padding: 0; }
  .landing-refined .section { padding-block: 76px; }
  .landing-refined .split-heading { gap: 36px; }
  .landing-refined .feature-blocks { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
  .landing-refined .feature-block__copy { padding: 20px 14px; }
  .landing-refined .feature-block__copy h3 { font-size: 17px; }
  .landing-refined .pricing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .landing-refined .price-card__top { padding: 24px 16px; }
  .landing-refined .price-badge { right: 12px; }
  .landing-refined .price-amount { font-size: 34px; }
  .landing-refined .pricing-section .price-eff:empty { display: block; }
  .landing-refined .faq-section > .container { gap: 40px; }
}
@media (max-width: 700px) {
  .landing-refined { scroll-padding-top: 0; }
  .landing-refined .container { width: calc(100% - 36px); }
  .landing-refined .nav-inner { min-height: 96px; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "links links"; padding: 8px 0; gap: 6px; }
  .landing-refined .brand { grid-area: brand; }
  .landing-refined .nav-actions { grid-area: actions; }
  .landing-refined .nav-links { grid-area: links; gap: 25px; }
  .landing-refined .nav-links a { font-size: 12px; }
  .landing-refined .nav-actions .btn { min-height: 36px; min-width: 74px; }
  .landing-refined .hero { padding: 48px 0 56px; }
  .landing-refined .hero-layout { gap: 34px; }
  .landing-refined .hero-copy .hero-title { font-size: clamp(26px,7.4vw,42px); letter-spacing: -0.045em; }
  .landing-refined .hero-copy .hero-actions { flex-direction: row; width: auto; gap: 10px; }
  .landing-refined .hero-copy .hero-actions .btn { width: auto; min-width: 0; padding-inline: 22px; }
  .landing-refined .hero-product-film { padding: 4px; border-radius: 16px; }
  .landing-refined .hero-product-film video { border-radius: 12px; }
  .landing-refined .section { padding-block: 56px; }
  .landing-refined .section[id] { scroll-margin-top: 105px; }
  .landing-refined .section-title { font-size: 30px; }
  .landing-refined .section-header { margin-bottom: 32px; }
  .landing-refined .section-eyebrow { margin-bottom: 14px; }
  .landing-refined .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .landing-refined .section-heading-aside { justify-self: start; width: auto; }
  .landing-refined .section-heading-aside .btn { margin-top: 14px; }
  .landing-refined .features-intro { grid-template-columns: 1fr; }
  .landing-refined .feature-carousel-arrow { width: 38px; height: 38px; }
  .landing-refined .feature-carousel-arrow--prev { left: -12px; }
  .landing-refined .feature-carousel-arrow--next { right: -12px; }
  .landing-refined .feature-blocks { grid-auto-columns: 100%; gap: 18px; }
  .landing-refined .feature-block__copy { padding: 22px; }
  .landing-refined .feature-block__copy h3 { font-size: 19px; }
  .landing-refined .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .landing-refined .price-card__top { padding: 26px; }
  .landing-refined .price-badge { right: 26px; }
  .landing-refined .price-amount { font-size: 42px; }
  .landing-refined .membership-includes ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; text-align: left; }
  .landing-refined .membership-includes li { font-size: 12px; }
  .landing-refined .pricing-compare th,
  .landing-refined .pricing-compare td { padding: 12px 8px; font-size: 12px; }
  .landing-refined .download-section { padding-top: 0; }
  .landing-refined .download-card { padding: 46px 24px; }
  .landing-refined .download-card .section-title { font-size: 28px; }
  .landing-refined .download-actions { width: 100%; }
  .landing-refined .download-card .btn { width: 100%; min-width: 0; }
  .landing-refined .faq-section > .container { grid-template-columns: 1fr; gap: 30px; }
  .landing-refined .faq-section .section-title { font-size: 28px; }
}
@media (prefers-reduced-transparency: reduce) {
  .landing-refined .site-nav { background: #fff; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-refined { scroll-behavior: auto; }
  .landing-refined .btn,
  .landing-refined .feature-carousel-arrow,
  .landing-refined .price-card { transition: none; }
  .landing-refined .btn:hover { transform: none; }
}
