/* Layout concept: aerial olive-grove video under a translucent tint, then limestone-light sections
   with a bento of real screens; gold is reserved for harvest moments (CTAs, key figures). */
:root {
  /* color */
  --bg: #F2F5EE;          /* limestone with a leaf bias */
  --surface: #FFFFFF;
  --surface-2: #E9EFE3;
  --ink: #142319;
  --muted: #56685B;
  --line: #D6E0CF;
  --leaf: #2C7A3E;
  --leaf-soft: #E1EFD9;
  --gold: #C9971F;
  --gold-ink: #2A1E00;
  --water: #2B6FB3;
  --water-soft: #E0ECF8;
  --sun: #C77A12;
  --sun-soft: #FBEBD3;
  --soil: #8A5A3B;
  --soil-soft: #F1E5DC;
  --danger: #B9473B;
  --shadow: 18 38 26;
  /* hero is a fixed dark scene in both themes */
  --hero-bg: #0B2016;
  --hero-ink: #F1F6EE;
  --hero-muted: #B8CCB9;
  --hero-gold: #E2B444;
  --hero-line: rgba(226, 180, 68, .35);
  /* type */
  --f-display: "Almarai", "Segoe UI", Tahoma, sans-serif;
  --f-body: "Almarai", "Segoe UI", Tahoma, Arial, sans-serif;
  --f-data: "Almarai", "Segoe UI", Tahoma, sans-serif;
  /* scale */
  --t-xs: .8125rem; --t-sm: .9375rem; --t-md: 1.0625rem; --t-lg: 1.25rem; --t-xl: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  --t-hero: clamp(2.5rem, 1.3rem + 4vw, 4.6rem);
  --r: 18px; --r-sm: 12px;
  /* bootstrap bridge */
  --bs-body-bg: var(--bg); --bs-body-color: var(--ink); --bs-body-font-family: var(--f-body);
  --bs-border-color: var(--line); --bs-emphasis-color: var(--ink); --bs-secondary-color: var(--muted);
  --bs-link-color-rgb: 44, 122, 62;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1510; --surface: #132019; --surface-2: #1A2A21; --ink: #E7EFE3; --muted: #9FB3A2; --line: #26392D;
    --leaf: #6FBF7E; --leaf-soft: #1C3324; --gold: #E2B444; --gold-ink: #241A00;
    --water: #6EA8E6; --water-soft: #172A3D; --sun: #E9A54A; --sun-soft: #33260F; --soil: #D19A75; --soil-soft: #33241A;
    --danger: #E07A6E; --shadow: 0 0 0; --bs-link-color-rgb: 111, 191, 126;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1510; --surface: #132019; --surface-2: #1A2A21; --ink: #E7EFE3; --muted: #9FB3A2; --line: #26392D;
  --leaf: #6FBF7E; --leaf-soft: #1C3324; --gold: #E2B444; --gold-ink: #241A00;
  --water: #6EA8E6; --water-soft: #172A3D; --sun: #E9A54A; --sun-soft: #33260F; --soil: #D19A75; --soil-soft: #33241A;
  --danger: #E07A6E; --shadow: 0 0 0; --bs-link-color-rgb: 111, 191, 126;
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--t-md); line-height: 1.75; -webkit-font-smoothing: antialiased; }
.site { overflow-x: clip; }
svg.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; background: var(--gold); color: var(--gold-ink); padding: .5rem 1rem; border-radius: 10px; z-index: 2000; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.container { padding-inline: max(16px, 1.25rem); }

/* ---------- buttons ---------- */
.sf-btn { --h: 44px; display: inline-flex; align-items: center; gap: .55rem; min-height: var(--h); padding: .55rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: var(--t-sm); border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.sf-btn--lg { --h: 52px; padding: .75rem 1.6rem; font-size: var(--t-md); }
.sf-btn--gold { background: var(--hero-gold); color: #241A00; box-shadow: 0 8px 24px -10px rgba(226, 180, 68, .7); }
.sf-btn--gold:hover { background: #F0C55B; color: #241A00; transform: translateY(-2px); }
.sf-btn--ghost { background: rgba(255, 255, 255, .06); color: var(--hero-ink); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.sf-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: var(--hero-ink); }
.sf-btn .ico { transition: transform .2s ease; }
.sf-btn:hover .ico { transform: translateX(-3px); }

/* ---------- nav ---------- */
.sf-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030; padding-block: .7rem; background: color-mix(in srgb, var(--hero-bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sf-nav .nav-link { color: var(--hero-muted); font-weight: 700; font-size: var(--t-sm); border-radius: 999px; padding: .4rem .9rem !important; }
.sf-nav .nav-link:hover, .sf-nav .nav-link.active { color: var(--hero-ink); background: rgba(255, 255, 255, .07); }
.sf-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--hero-ink); text-decoration: none; }
.sf-brand:hover { color: var(--hero-ink); }
.sf-brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg, #3E9A50, #1F6A31); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.sf-brand__mark .ico { width: 22px; height: 22px; }
.sf-brand__text { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.sf-brand__text small { font-family: var(--f-data); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hero-gold); font-weight: 700; }
.sf-theme, .sf-toggler { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: var(--hero-ink); padding: 0; }
.sf-toggler:focus { box-shadow: none; }
.sf-theme .i-moon { display: none; }
:root[data-theme="dark"] .sf-theme .i-sun { display: none; }
:root[data-theme="dark"] .sf-theme .i-moon { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sf-theme .i-sun { display: none; } :root:not([data-theme="light"]) .sf-theme .i-moon { display: inline; } }
@media (max-width: 991.98px) { .sf-nav .navbar-collapse { padding-block: .75rem; } }

/* app window frame (used across sections) */
.sf-window { margin: 0; border-radius: var(--r); overflow: hidden; background: #F7F9F4; border: 1px solid rgba(var(--shadow), .12); box-shadow: 0 30px 60px -28px rgba(var(--shadow), .45), 0 10px 20px -12px rgba(var(--shadow), .2); }
.sf-window img { display: block; width: 100%; height: auto; }
.sf-window__bar { display: flex; align-items: center; gap: 6px; padding: .6rem .95rem; background: #EEF2EA; border-bottom: 1px solid #DCE4D5; direction: ltr; }
.sf-window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #E8786B; }
.sf-window__bar i:nth-child(2) { background: #E9C25C; } .sf-window__bar i:nth-child(3) { background: #8CC56A; }
.sf-window__bar span { margin-inline: auto; font-size: .74rem; color: #6C7E70; font-family: var(--f-body); direction: rtl; }

/* ---------- hero: aerial olive-grove video under a translucent tint, product composition on top ---------- */
.sf-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--hero-ink); background: #06150D; min-height: min(calc(100svh - 74px), 960px); display: flex; align-items: center; padding-block: clamp(3rem, 7vh, 5.5rem) clamp(4rem, 9vh, 6.5rem); }
.sf-hero__media { position: absolute; inset: 0; z-index: -1; }
.sf-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.12) translateX(-1.5%); } }
/* the tint: dense behind the copy (inline-start = right in RTL), see-through behind the devices */
.sf-hero__tint { position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(5, 19, 11, .94) 0%, rgba(5, 19, 11, .78) 34%, rgba(6, 24, 14, .42) 62%, rgba(6, 24, 14, .22) 100%),
    linear-gradient(to bottom, rgba(5, 19, 11, .55) 0%, transparent 22%, transparent 70%, rgba(5, 19, 11, .9) 100%),
    radial-gradient(60% 70% at 25% 55%, rgba(226, 180, 68, .14), transparent 70%); }
.sf-hero__grain { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 3px 3px; }
.sf-hero__inner { position: relative; }

.sf-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--t-sm); color: #E8EFE6; border: 1px solid rgba(226, 180, 68, .4); padding: .45rem 1.05rem; border-radius: 999px; background: rgba(226, 180, 68, .08); backdrop-filter: blur(8px); margin: 0; animation: rise .8s .1s both; }
.sf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hero-gold); box-shadow: 0 0 0 4px rgba(226, 180, 68, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(226, 180, 68, 0); } }
.sf-display { font-family: var(--f-display); font-weight: 800; font-size: var(--t-hero); line-height: 1.22; margin-block: 1.4rem 1.3rem; letter-spacing: 0; text-shadow: 0 4px 40px rgba(0, 0, 0, .45); }
.sf-line { display: block; animation: rise .9s both; }
.sf-line:nth-child(1) { animation-delay: .15s; } .sf-line:nth-child(2) { animation-delay: .3s; } .sf-line:nth-child(3) { animation-delay: .45s; }
.sf-gold { background: linear-gradient(90deg, #FFE3A3, #E2B444 50%, #F6CF86); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sf-lead { font-size: var(--t-lg); color: #CFDBCE; max-width: 33em; line-height: 1.9; animation: rise .9s .55s both; }
.sf-lead strong { color: #fff; font-weight: 700; }
.sf-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; animation: rise .9s .65s both; }
.sf-proof { list-style: none; padding: 1.4rem 0 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .14); animation: rise .9s .75s both; max-width: 36rem; }
.sf-proof li { display: flex; flex-direction: column; gap: .2rem; }
.sf-proof b { font-family: var(--f-data); font-weight: 800; font-size: 1.7rem; line-height: 1; color: #fff; display: flex; align-items: center; height: 1.7rem; }
.sf-proof b .ico { width: 1.5rem; height: 1.5rem; color: var(--hero-gold); }
.sf-proof span { font-size: .8rem; color: #AFC2B0; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }

/* device composition */
.sf-device { position: relative; padding: 3rem 0 2.5rem; animation: rise 1.1s .35s both; }
.sf-laptop { position: relative; z-index: 2; width: 92%; margin-inline-start: auto; transform: perspective(1800px) rotateY(10deg) rotateX(3deg); transform-origin: right center; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sf-laptop__screen { position: relative; border-radius: 16px 16px 4px 4px; padding: 2.2% 2.2% 3%; background: linear-gradient(160deg, #2A302C, #0E1210); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6); }
.sf-laptop__screen::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; border-radius: 50%; translate: -50% 0; background: #3C4440; }
.sf-laptop__screen img { display: block; width: 100%; height: auto; border-radius: 4px; }
.sf-laptop__screen::after { content: ""; position: absolute; inset: 2.2% 2.2% 3%; border-radius: 4px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%); }
.sf-laptop__base { height: 14px; margin-inline: -5%; border-radius: 0 0 18px 18px; background: linear-gradient(#C9CEC9, #8D948E); box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .8); position: relative; }
.sf-laptop__base::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 16%; height: 6px; border-radius: 0 0 8px 8px; background: #7D847E; }
.sf-window--back { position: absolute; z-index: 1; width: 62%; top: 0; inset-inline-end: -4%; opacity: .92; transform: perspective(1800px) rotateY(10deg) rotateX(3deg) scale(.94); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sf-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: .8rem; padding: .8rem 1.1rem .8rem 1.3rem; border-radius: 18px; color: #fff; background: rgba(14, 30, 20, .62); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7); animation: bob 7s ease-in-out infinite; }
.sf-note small { display: block; font-size: .72rem; color: #B8CCB9; }
.sf-note b { display: block; color: #fff; font-family: var(--f-data); font-weight: 800; font-size: 1.12rem; line-height: 1.3; }
.sf-note em { display: block; font-style: normal; font-size: .76rem; color: #D7E3D6; }
.sf-note__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; }
.sf-note__icon.is-cold { background: rgba(140, 200, 255, .2); color: #A9D6FF; }
.sf-note__icon.is-water { background: rgba(110, 168, 230, .22); color: #8CC0F2; }
.sf-note__icon.is-leaf { background: rgba(111, 191, 126, .22); color: #9BE0A7; }
.sf-note--frost { top: 6%; inset-inline-start: -6%; }
.sf-note--water { bottom: 4%; inset-inline-end: 2%; animation-delay: -2.5s; }
.sf-note--profit { top: 46%; inset-inline-end: -5%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
@media (max-width: 1199.98px) { .sf-note--frost { inset-inline-start: -2%; } .sf-note--profit { inset-inline-end: -1%; } }
@media (max-width: 991.98px) {
  .sf-hero { min-height: auto; }
  .sf-hero__tint { background: linear-gradient(to bottom, rgba(5, 19, 11, .9) 0%, rgba(5, 19, 11, .72) 45%, rgba(5, 19, 11, .55) 70%, rgba(5, 19, 11, .92) 100%); }
  .sf-laptop, .sf-window--back { transform: none; } .sf-laptop { width: 100%; }
  .sf-window--back { display: none; }
  .sf-device { padding: 1.5rem 0 3rem; }
}
@media (max-width: 575.98px) {
  .sf-proof { grid-template-columns: repeat(2, auto); gap: 1.1rem 2rem; }
  .sf-note { padding: .55rem .8rem; gap: .55rem; } .sf-note b { font-size: .95rem; } .sf-note em, .sf-note--profit { display: none; }
  .sf-note__icon { width: 34px; height: 34px; }
  .sf-note--frost { top: -.4rem; inset-inline-start: .2rem; } .sf-note--water { bottom: .4rem; inset-inline-end: .2rem; }
}

/* ---------- fact strip ---------- */
.sf-strip { background: var(--surface); border-block: 1px solid var(--line); }
.sf-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.sf-strip__grid > div { padding: 1.8rem 1.4rem; border-inline-start: 1px solid var(--line); }
.sf-strip__grid > div:first-child { border-inline-start: 0; }
.sf-strip dt { font-family: var(--f-data); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--leaf); font-variant-numeric: tabular-nums; }
.sf-strip dd { margin: .6rem 0 0; color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }
@media (max-width: 767.98px) { .sf-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf-strip__grid > div:nth-child(3) { border-inline-start: 0; } .sf-strip__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- sections ---------- */
.sf-section { padding-block: clamp(4rem, 8vw, 7rem); }
.sf-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sf-kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--leaf); background: var(--leaf-soft); padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1rem; font-weight: 700; }
.sf-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.sf-h2 { font-family: var(--f-display); font-weight: 800; font-size: var(--t-xl); line-height: 1.3; margin-bottom: .9rem; }
.sf-sub { color: var(--muted); font-size: var(--t-md); max-width: 40em; }
.sf-narrow { max-width: 860px; }

/* ---------- bento ---------- */
.sf-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.sf-card { position: relative; display: flex; flex-direction: column; gap: .8rem; min-width: 0; padding: 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sf-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(var(--shadow), .45); border-color: color-mix(in srgb, var(--leaf) 35%, var(--line)); }
.sf-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1.4; margin: 0; }
.sf-card p { color: var(--muted); margin: 0; font-size: var(--t-sm); line-height: 1.8; }
.sf-card--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.6rem; align-items: center; }
.sf-card--tall { grid-row: span 2; }
.sf-card__body { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.sf-card__shot { margin: 0; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 16px 36px -22px rgba(var(--shadow), .5); }
.sf-card__shot img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.sf-card:hover .sf-card__shot img { transform: scale(1.03); }
.sf-card__shot--bottom { margin-top: auto; }
.sf-card--water { background: linear-gradient(160deg, var(--water-soft), var(--surface) 70%); }
.sf-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; }
.sf-chip.is-water { background: var(--water-soft); color: var(--water); }
.sf-chip.is-leaf { background: var(--leaf-soft); color: var(--leaf); }
.sf-chip.is-sun { background: var(--sun-soft); color: var(--sun); }
.sf-chip.is-soil { background: var(--soil-soft); color: var(--soil); }
.sf-chip.is-gold { background: color-mix(in srgb, var(--gold) 16%, var(--surface)); color: var(--gold); }
.sf-ticks { list-style: none; padding: 0; margin: .2rem 0 0; display: grid; gap: .5rem; font-size: var(--t-sm); }
.sf-ticks li { display: flex; gap: .55rem; align-items: flex-start; }
.sf-ticks .ico { color: var(--leaf); margin-top: .3em; }
@media (max-width: 991.98px) { .sf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf-card--tall { grid-row: auto; } }
@media (max-width: 767.98px) { .sf-bento { grid-template-columns: minmax(0, 1fr); } .sf-card--wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); } }

/* ---------- simulator ---------- */
.sf-sim { background: linear-gradient(180deg, var(--bg), var(--surface-2)); border-block: 1px solid var(--line); }
.sf-sim__form { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.sf-range label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 700; font-size: var(--t-sm); margin-bottom: .35rem; }
.sf-range output { font-family: var(--f-data); color: var(--water); font-weight: 700; font-variant-numeric: tabular-nums; margin-inline-start: auto; }
.form-range::-webkit-slider-thumb { background: var(--water); }
.form-range::-moz-range-thumb { background: var(--water); }
.form-range::-webkit-slider-runnable-track { background: var(--line); }
.form-range::-moz-range-track { background: var(--line); }
.form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--water) 30%, transparent); }
.sf-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.2rem); box-shadow: 0 40px 80px -50px rgba(var(--shadow), .55); }
.sf-panel__top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.8rem; }
.sf-ring { position: relative; width: 168px; height: 168px; flex: none; }
.sf-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sf-ring circle { fill: none; stroke-width: 11; }
.sf-ring__track { stroke: var(--surface-2); }
.sf-ring__val { stroke: var(--water); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 0; transition: stroke-dashoffset .6s cubic-bezier(.2, .7, .2, 1), stroke .3s; }
.sf-ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sf-ring__label b { font-family: var(--f-data); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sf-ring__label small { color: var(--muted); font-size: .75rem; margin-top: .35rem; }
.sf-panel__kpis { display: grid; gap: .9rem; flex: 1; min-width: 180px; }
.sf-panel__kpis small { display: block; color: var(--muted); font-size: .8rem; }
.sf-panel__kpis b { font-family: var(--f-data); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.sf-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .85rem; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--leaf-soft); color: var(--leaf); }
.sf-pill.is-warn { background: var(--sun-soft); color: var(--sun); }
.sf-pill.is-bad { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); }
.sf-bars { display: grid; gap: 1rem; margin-block: 1.8rem; }
.sf-bar__head { display: flex; justify-content: space-between; font-size: var(--t-sm); margin-bottom: .35rem; }
.sf-bar__head span { display: inline-flex; align-items: center; gap: .4rem; }
.sf-bar__head b { font-family: var(--f-data); font-variant-numeric: tabular-nums; }
.sf-bar__track { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sf-bar__track i { display: block; height: 100%; border-radius: inherit; background: var(--leaf); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.sf-bar__track.is-young i { background: var(--sun); }
.sf-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.sf-plan > div { background: var(--surface-2); border-radius: var(--r-sm); padding: .9rem 1rem; }
.sf-plan small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.sf-plan b { font-family: var(--f-data); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sf-note { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 575.98px) { .sf-plan { grid-template-columns: minmax(0, 1fr); } .sf-ring { width: 140px; height: 140px; } }

/* ---------- roles ---------- */
.sf-tabs { display: inline-flex; flex-wrap: wrap; gap: .4rem; padding: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 2rem; }
.sf-tabs .nav-link { display: inline-flex; align-items: center; gap: .45rem; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: var(--t-sm); padding: .55rem 1.1rem; border: 0; background: none; }
.sf-tabs .nav-link:hover { color: var(--ink); }
.sf-tabs .nav-link.active { background: var(--leaf); color: #fff; }
.sf-role { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.sf-role h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; margin-bottom: 1.2rem; }
.sf-role .sf-ticks { font-size: var(--t-md); gap: .8rem; }
@media (max-width: 991.98px) { .sf-role { grid-template-columns: minmax(0, 1fr); } .sf-tabs { border-radius: 18px; } }

/* ---------- carousel ---------- */
.sf-screens { background: var(--surface); border-block: 1px solid var(--line); }
.sf-carousel { max-width: 980px; margin-inline: auto; padding-bottom: 3rem; }
.sf-carousel .sf-window { margin-inline: auto; }
.sf-caption { text-align: center; color: var(--muted); margin: 1rem 0 0; font-size: var(--t-sm); }
.sf-carousel .carousel-indicators { margin-bottom: 0; }
.sf-carousel .carousel-indicators [data-bs-target] { width: 26px; height: 5px; border-radius: 5px; background: var(--leaf); border: 0; }
.sf-carousel .carousel-control-prev, .sf-carousel .carousel-control-next { width: 48px; height: 48px; top: 42%; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); opacity: .95; box-shadow: 0 10px 24px -14px rgba(var(--shadow), .6); }
.sf-carousel .carousel-control-prev { right: -12px; left: auto; } .sf-carousel .carousel-control-next { left: -12px; right: auto; }
@media (max-width: 767.98px) { .sf-carousel .carousel-control-prev, .sf-carousel .carousel-control-next { display: none; } }

/* ---------- steps ---------- */
.sf-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; position: relative; }
.sf-steps::before { content: ""; position: absolute; top: 27px; inset-inline: 8% 8%; border-top: 2px dashed color-mix(in srgb, var(--water) 45%, transparent); z-index: 0; }
.sf-steps li { position: relative; z-index: 1; min-width: 0; }
.sf-steps__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 2px solid var(--water); color: var(--water); font-family: var(--f-data); font-weight: 700; font-size: 1.3rem; margin-bottom: 1.2rem; box-shadow: 0 0 0 8px var(--bg); }
.sf-steps h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; }
.sf-steps p { color: var(--muted); font-size: var(--t-sm); margin: 0; }
@media (max-width: 991.98px) { .sf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; } .sf-steps::before { display: none; } }
@media (max-width: 575.98px) { .sf-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- calendar ---------- */
.sf-cal { background: var(--surface-2); border-block: 1px solid var(--line); }
.sf-timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 1rem; }
.sf-timeline::before { content: ""; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; border-inline-start: 2px solid var(--line); }
.sf-timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); column-gap: 1rem; padding: 1rem 1.2rem 1rem 1.2rem; padding-inline-start: 2.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.sf-timeline li::before { content: ""; position: absolute; inset-inline-start: 5px; top: 1.35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--muted); }
.sf-timeline time { font-family: var(--f-data); font-size: .8rem; color: var(--muted); grid-row: span 2; padding-top: .2rem; }
.sf-timeline b { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.sf-timeline span { color: var(--muted); font-size: var(--t-sm); }
.sf-timeline li.is-now { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); box-shadow: 0 12px 30px -20px rgba(var(--shadow), .6); }
.sf-timeline li.is-now::before { border-color: var(--gold); background: var(--gold); }
@media (max-width: 575.98px) { .sf-timeline li { grid-template-columns: minmax(0, 1fr); } .sf-timeline time { grid-row: auto; } }

/* ---------- faq ---------- */
.sf-accordion { --bs-accordion-bg: var(--surface); --bs-accordion-color: var(--ink); --bs-accordion-border-color: var(--line); --bs-accordion-btn-color: var(--ink); --bs-accordion-active-bg: var(--leaf-soft); --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent); --bs-accordion-border-radius: var(--r); --bs-accordion-inner-border-radius: calc(var(--r) - 1px); }
.sf-accordion .accordion-button { font-weight: 700; font-size: var(--t-md); padding: 1.15rem 1.4rem; gap: 1rem; }
.sf-accordion .accordion-button::after { margin-left: 0; margin-right: auto; }
.sf-accordion .accordion-body { color: var(--muted); padding: .4rem 1.4rem 1.3rem; }
:root[data-theme="dark"] .sf-accordion .accordion-button::after { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sf-accordion .accordion-button::after { filter: invert(1); } }

/* ---------- CTA + footer ---------- */
.sf-cta { padding-block: 0 clamp(4rem, 8vw, 6rem); }
.sf-cta__box { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; color: var(--hero-ink); background: radial-gradient(90% 140% at 0% 0%, #2B6B3B 0%, var(--hero-bg) 60%); }
.sf-cta__box::after { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-end: -140px; top: -180px; border-radius: 50%; border: 1px solid var(--hero-line); box-shadow: 0 0 0 40px rgba(226, 180, 68, .04), 0 0 0 90px rgba(226, 180, 68, .03); pointer-events: none; }
.sf-cta__box p { color: var(--hero-muted); margin: 0; max-width: 32em; }
.sf-cta__actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; position: relative; z-index: 1; }
.sf-copy { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .4rem .35rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--hero-muted); max-width: 100%; }
.sf-copy code { color: var(--hero-ink); font-family: var(--f-data); font-size: .9rem; direction: ltr; user-select: all; word-break: break-all; }
.sf-copy__btn { border: 0; border-radius: 999px; padding: .3rem .9rem; background: var(--hero-gold); color: #241A00; font-weight: 700; font-size: .8rem; }
.sf-footer { background: var(--hero-bg); color: var(--hero-muted); padding-block: 3.5rem 2rem; }
.sf-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.sf-footer__about { margin-top: 1rem; font-size: var(--t-sm); max-width: 28em; }
.sf-footer h4 { color: var(--hero-ink); font-size: .95rem; font-weight: 700; margin-bottom: .9rem; }
.sf-footer nav { display: flex; flex-direction: column; gap: .45rem; }
.sf-footer nav a { color: var(--hero-muted); text-decoration: none; font-size: var(--t-sm); }
.sf-footer nav a:hover { color: var(--hero-gold); }
.sf-footer__legal { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; }
@media (max-width: 767.98px) { .sf-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sf-footer__grid > div:first-child { grid-column: 1 / -1; } }
.sf-toast { background: var(--ink); color: var(--bg); border: 0; border-radius: 12px; width: auto; }

/* ---------- motion ---------- */
.reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (prefers-reduced-motion: reduce) { .sf-hero *, .sf-note { animation: none !important; } }
