:root {
  --forest: #003f35;
  --green: #009e68;
  --green-soft: #d9f4e5;
  --sand: #c4e970;
  --sand-soft: #e9eed4;
  --paper: #e9eed4;
  --paper-2: #e9eed4;
  --white: #fff;
  --text: #003f35;
  --muted: #69766f;
  --line: rgba(0,63,53,.12);
  --shadow: 0 28px 72px rgba(0,63,53,.10);
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { direction: rtl; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: "Wesal Grift", "Wesal Ping", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { color: #fff; background: var(--green); }
:focus-visible { outline: 3px solid rgba(0,158,104,.35); outline-offset: 4px; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; right: 10px; z-index: 1000; padding: 9px 14px; border-radius: 10px; color: #fff; background: var(--forest); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.page-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 13px 0; }
.header-shell {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 7px 9px 7px 13px;
  border: 1px solid rgba(0,63,53,.09);
  border-radius: 20px;
  background: rgba(233,238,212,.88);
  box-shadow: 0 12px 34px rgba(0,63,53,.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: flex-start; color: var(--forest); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.brand-ai { margin: 2px 3px 0 0; color: var(--green); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: .56rem; font-weight: 800; }
.page-nav { display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; }
.page-nav a { padding: 7px 7px; border-radius: 9px; color: #53655c; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.page-nav a:hover, .page-nav a.active { color: var(--green); background: rgba(0,158,104,.07); }
.header-cta { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; color: #fff; background: var(--green); font-size: .74rem; font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--forest); background: transparent; cursor: pointer; }
.menu-toggle svg { width: 21px; }

.sub-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  padding: 152px 0 88px;
  background:
    linear-gradient(rgba(0,63,53,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,63,53,.025) 1px, transparent 1px),
    radial-gradient(circle at 8% 18%, rgba(196,233,112,.14), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(0,158,104,.10), transparent 25%),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}
.sub-hero-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(380px,.78fr); gap: clamp(52px,8vw,110px); align-items: center; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #7b877f; font-size: .76rem; font-weight: 700; }
.breadcrumb a { color: var(--green); }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--green); font-size: .78rem; font-weight: 800; }
.hero-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 999px; background: currentColor; }
.sub-hero h1 { max-width: 780px; margin: 0; color: var(--forest); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: clamp(2.45rem,4.8vw,4.9rem); font-weight: 700; line-height: 1.13; }
.sub-hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 760px; margin: 23px 0 0; color: var(--muted); font-size: clamp(1rem,1.35vw,1.13rem); line-height: 2; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #516158; background: rgba(255,255,255,.48); font-size: .72rem; font-weight: 800; }

.signal-map { position: relative; display: grid; min-height: 390px; place-items: center; }
.signal-map::before, .signal-map::after { content: ""; position: absolute; border: 1px dashed rgba(0,158,104,.22); border-radius: 50%; }
.signal-map::before { width: 310px; height: 310px; }
.signal-map::after { width: 224px; height: 224px; border-style: solid; opacity: .55; }
.signal-core { position: relative; z-index: 2; display: grid; width: 156px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(0,158,104,.18); border-radius: 50%; color: var(--forest); background: rgba(255,255,255,.86); box-shadow: 0 22px 55px rgba(0,158,104,.15), 0 0 0 12px rgba(255,255,255,.42); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: 2.2rem; font-weight: 800; }
.signal-core small { position: absolute; top: 48px; right: 35px; color: var(--green); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: .55rem; }
.signal-node { position: absolute; z-index: 3; min-width: 112px; padding: 9px 12px; border: 1px solid rgba(0,63,53,.1); border-radius: 12px; color: #4d5d55; background: rgba(255,255,255,.9); box-shadow: 0 10px 28px rgba(0,63,53,.07); font-size: .7rem; font-weight: 800; text-align: center; }
.signal-node::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--green); }
.signal-node.n1 { top: 25px; right: 50%; transform: translateX(50%); }
.signal-node.n2 { top: 50%; right: 0; transform: translateY(-50%); }
.signal-node.n3 { bottom: 24px; right: 50%; transform: translateX(50%); }
.signal-node.n4 { top: 50%; left: 0; transform: translateY(-50%); }

.section { position: relative; padding: clamp(78px,8vw,116px) 0; }
.section-soft { background: var(--paper-2); }
.section-dark { color: #fff; background: var(--forest); }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.72fr); gap: clamp(32px,6vw,82px); align-items: end; margin-bottom: 42px; }
.section-kicker { margin: 0 0 12px; color: var(--green); font-size: .76rem; font-weight: 800; }
.section-dark .section-kicker { color: #89e3b4; }
.section-title { max-width: 780px; margin: 0; color: var(--forest); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: clamp(1.95rem,3.35vw,3.45rem); font-weight: 700; line-height: 1.25; }
.section-dark .section-title { color: #fff; }
.section-intro { margin: 0; color: var(--muted); line-height: 2; }
.section-dark .section-intro { color: #bdcbc4; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.info-card { min-height: 215px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7); }
.info-card-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--green); background: var(--green-soft); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: .8rem; font-weight: 800; }
.info-card h3 { margin: 24px 0 8px; color: var(--forest); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: 1.12rem; line-height: 1.45; }
.info-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.section-dark .info-card { border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.045); }
.section-dark .info-card-mark { color: #c4e970; background: rgba(196,233,112,.12); }
.section-dark .info-card h3 { color: #fff; }
.section-dark .info-card p { color: #b7c7bf; }

.process { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.62); }
.process-step { min-height: 190px; padding: 24px; border-inline-start: 1px solid var(--line); }
.process-step:first-child { border-inline-start: 0; }
.process-step b { color: var(--sand); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: 1.4rem; }
.process-step strong { display: block; margin-top: 22px; color: var(--forest); font-size: .95rem; }
.process-step span { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; line-height: 1.8; }
.split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.feature-panel { padding: clamp(28px,4vw,48px); border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.7); }
.feature-panel.accent { color: #fff; border-color: transparent; background: var(--forest); }
.feature-panel h3 { margin: 0 0 16px; color: var(--forest); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: clamp(1.35rem,2vw,2rem); }
.feature-panel.accent h3 { color: #fff; }
.feature-panel p { margin: 0; color: var(--muted); }
.feature-panel.accent p { color: #bfcec7; }
.check-list { display: grid; gap: 12px; margin: 23px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-right: 25px; color: #52635a; font-size: .88rem; }
.feature-panel.accent .check-list li { color: #d4dfd9; }
.check-list li::before { content: "✓"; position: absolute; right: 0; top: 0; color: var(--green); font-weight: 800; }
.feature-panel.accent .check-list li::before { color: #c4e970; }

.metric-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.metric { padding: 24px; border-block-start: 3px solid var(--green); border-radius: 0 0 18px 18px; background: rgba(255,255,255,.7); }
.metric strong { display: block; color: var(--forest); font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: 1.05rem; }
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: .75rem; }

.flow-line { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; gap: 0; }
.flow-item { position: relative; min-height: 150px; padding: 24px 18px; border-block: 1px solid var(--line); text-align: center; }
.flow-item:not(:last-child)::after { content: "←"; position: absolute; top: 50%; left: -8px; z-index: 2; color: var(--sand); font-size: 1.15rem; transform: translateY(-50%); }
.flow-item b { display: grid; width: 34px; height: 34px; margin: 0 auto 14px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: .72rem; }
.flow-item strong { display: block; color: var(--forest); font-size: .85rem; }
.flow-item span { display: block; margin-top: 5px; color: var(--muted); font-size: .7rem; line-height: 1.7; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.75); }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 17px 22px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: right; }
.compare-table thead th { color: var(--forest); background: rgba(0,158,104,.06); font-family: "Wesal Grift", "Wesal Ping", sans-serif; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: #4d5e55; font-weight: 700; }
.yes { color: var(--green); font-size: 1.25rem; font-weight: 800; }
.no { color: #a4aaa7; font-size: 1.2rem; font-weight: 800; }

.faq-list { display: grid; gap: 10px; max-width: 900px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; color: var(--forest); cursor: pointer; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: .92rem; line-height: 2; }

.cta-section { padding: 0 0 clamp(76px,8vw,110px); }
.cta-band { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; padding: clamp(30px,5vw,54px); border-radius: 28px; color: #fff; background: var(--forest); box-shadow: var(--shadow); }
.cta-band small { color: #a8c5b6; font-weight: 800; }
.cta-band h2 { margin: 6px 0 0; font-family: "Wesal Grift", "Wesal Ping", sans-serif; font-size: clamp(1.55rem,2.7vw,2.7rem); line-height: 1.35; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 11px 17px; border-radius: 13px; font-size: .82rem; font-weight: 800; white-space: nowrap; }
.button-light { color: var(--forest); background: #fff; }
.button-outline { margin-right: 7px; color: #fff; border: 1px solid rgba(255,255,255,.22); }

.page-footer { padding: 46px 0 28px; border-top: 1px solid var(--line); background: #e9eed4; }
.footer-top { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 38px; align-items: start; }
.footer-copy { display: grid; gap: 10px; color: #68756e; font-size: .78rem; }
.footer-copy .brand { width: max-content; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px 18px; color: #58675f; font-size: .74rem; font-weight: 700; }
.footer-nav a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(0,63,53,.1); color: #79837e; font-size: .7rem; }
.footer-socials { display: flex; gap: 8px; }
.footer-social-link { display: grid; width: 28px; height: 28px; place-items: center; color: #474c4a; }
.footer-social-link svg { width: 19px; height: 19px; }
.footer-trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
  flex-wrap: wrap;
}
.footer-trust > span { color: #68756e; font-size: .71rem; font-weight: 800; white-space: nowrap; }
.footer-trust img { display: block; width: 110px; height: auto; object-fit: contain; }
.oracle-trust { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 9px; margin-inline-start: 9px; }
.oracle-trust > span { color: #68756e; font-size: .66rem; font-weight: 800; line-height: 1.45; white-space: nowrap; text-align: right; }
.oracle-logo { display: block; width: 110px; height: 32px; flex: 0 0 auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .header-shell { grid-template-columns: auto 1fr auto; }
  .page-nav { position: fixed; top: 90px; right: 20px; left: 20px; display: none; max-height: calc(100vh - 115px); overflow-y: auto; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(233,238,212,.98); box-shadow: var(--shadow); }
  .page-nav.open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-nav a { padding: 11px 12px; font-size: .78rem; }
  .menu-toggle { display: grid; }
  .header-cta { justify-self: end; }
}

@media (max-width: 900px) {
  .sub-hero { min-height: auto; padding-top: 132px; }
  .sub-hero-grid, .section-head { grid-template-columns: 1fr; }
  .signal-map { min-height: 360px; width: min(520px,100%); margin-inline: auto; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .process-step:nth-child(4) { border-top: 1px solid var(--line); }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .flow-line { grid-template-columns: 1fr; }
  .flow-item { min-height: 0; text-align: right; }
  .flow-item b { margin: 0 0 11px; }
  .flow-item:not(:last-child)::after { top: auto; right: 50%; bottom: -13px; left: auto; transform: rotate(-90deg) translateX(50%); }
}

@media (max-width: 650px) {
  :root { --container: min(100% - 28px, 560px); }
  .page-header { padding-top: 9px; }
  .header-shell { min-height: 58px; padding: 6px 8px; }
  .brand { font-size: 1.65rem; }
  .header-cta { display: none; }
  .sub-hero { padding: 116px 0 68px; }
  .sub-hero h1 { font-size: clamp(2.05rem,10vw,3rem); }
  .signal-map { min-height: 310px; }
  .signal-map::before { width: 260px; height: 260px; }
  .signal-map::after { width: 190px; height: 190px; }
  .signal-core { width: 132px; font-size: 1.85rem; }
  .signal-core small { top: 41px; right: 30px; }
  .signal-node { min-width: 96px; padding: 7px 9px; font-size: .61rem; }
  .card-grid, .split, .metric-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step { min-height: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .process-step:first-child { border-top: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .button-outline { margin-right: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-trust { margin-inline-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
