:root {
  --ink: #10251d;
  --ink-soft: #50625a;
  --green: #4d982f;
  --green-dark: #287334;
  --green-light: #e9f5e5;
  --cream: #f8faf7;
  --white: #ffffff;
  --line: #dfe9df;
  --dark: #0b2d26;
  --shadow: 0 24px 70px rgba(22, 61, 42, .12);
  --radius: 26px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(22px, 6vw, 96px);
  background: rgba(248, 250, 247, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 233, 223, .7);
}
.brand img { width: 184px; height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 650; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--green); transition: right .25s ease; }
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 12px 20px; color: var(--white); background: var(--dark); border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(70px, 9vw, 130px) clamp(22px, 7vw, 112px);
  background:
    radial-gradient(circle at 83% 32%, rgba(106, 177, 70, .14), transparent 26%),
    radial-gradient(circle at 65% 76%, rgba(44, 121, 59, .08), transparent 28%),
    var(--cream);
}
.eyebrow { margin: 0 0 18px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; }
.hero h1 { margin: 0; max-width: 740px; font-size: clamp(50px, 6vw, 88px); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 14px 30px rgba(53, 130, 53, .2); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; font-weight: 650; }
.hero-points li::before { content: "●"; color: var(--green); margin-right: 9px; font-size: 8px; vertical-align: 2px; }

.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.phone { position: relative; z-index: 4; width: 310px; height: 610px; padding: 12px; border-radius: 46px; background: #15201c; box-shadow: 0 45px 80px rgba(17, 47, 34, .25); transform: rotate(5deg); }
.phone::after { content: ""; position: absolute; inset: 5px; border-radius: 41px; border: 1px solid rgba(255,255,255,.2); pointer-events: none; }
.phone-top { position: absolute; z-index: 5; top: 18px; left: 50%; width: 112px; height: 24px; transform: translateX(-50%); border-radius: 0 0 16px 16px; background: #15201c; }
.phone-screen { height: 100%; padding: 52px 20px 20px; border-radius: 35px; background: #f9fbf8; overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 750; }
.app-mark { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--green); border-radius: 10px; font-size: 11px; }
.dots { margin-left: auto; letter-spacing: 2px; }
.screen-title { margin: 34px 0 18px; font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.04em; }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.screen-card { min-height: 104px; display: flex; flex-direction: column; justify-content: flex-end; padding: 15px; background: white; border: 1px solid #e8eee8; border-radius: 17px; box-shadow: 0 10px 25px rgba(33, 67, 49, .06); }
.screen-card strong { font-size: 25px; }
.screen-card span { margin-top: 4px; color: #748179; font-size: 12px; }
.privacy-card { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 15px; color: white; background: var(--dark); border-radius: 18px; }
.privacy-card .lock { display: grid; place-items: center; min-width: 38px; height: 38px; background: var(--green); border-radius: 12px; }
.privacy-card strong, .privacy-card span { display: block; }
.privacy-card strong { font-size: 13px; }
.privacy-card span { margin-top: 4px; color: #c9d9d0; font-size: 10px; line-height: 1.4; }
.binary-cloud { position: absolute; z-index: 1; top: 80px; left: 0; width: 360px; color: rgba(71, 148, 45, .15); font: 800 35px/1.65 ui-monospace, monospace; letter-spacing: 14px; word-break: break-all; transform: rotate(-8deg); }
.pear-orbit { position: absolute; border: 1px solid rgba(77, 152, 47, .22); border-radius: 50%; }
.pear-orbit-one { width: 510px; height: 510px; }
.pear-orbit-two { width: 650px; height: 360px; transform: rotate(-34deg); }

.section { padding: clamp(85px, 10vw, 150px) clamp(22px, 7vw, 112px); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 130px); background: white; }
.section-heading h2, .contact h2 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.intro-copy { padding-top: 34px; color: var(--ink-soft); font-size: 19px; line-height: 1.8; }
.intro-copy p { margin: 0 0 24px; }
.section-summary { max-width: 650px; margin: 22px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.services { background: var(--cream); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.feature-card { position: relative; min-height: 390px; padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-number { position: absolute; right: 28px; top: 26px; color: #9aaba1; font-size: 12px; font-weight: 800; }
.feature-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 78px; color: white; background: var(--dark); border-radius: 19px; font: 800 22px ui-monospace, monospace; }
.feature-card h3 { margin: 0 0 14px; font-size: 25px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--ink-soft); line-height: 1.75; }

.principles { padding-top: 0; background: var(--cream); }
.principles-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding: clamp(45px, 7vw, 90px); color: white; background: var(--dark); border-radius: 38px; overflow: hidden; box-shadow: var(--shadow); }
.eyebrow.light { color: #94d275; }
.principles-panel h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -.05em; }
.principle-list article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.principle-list article:first-child { padding-top: 0; }
.principle-list article:last-child { border-bottom: 0; padding-bottom: 0; }
.principle-list article > span { display: grid; place-items: center; width: 40px; height: 40px; color: var(--dark); background: #91cf73; border-radius: 50%; font-weight: 850; font-size: 12px; }
.principle-list h3 { margin: 0 0 7px; font-size: 21px; }
.principle-list p { margin: 0; color: #c4d4cc; line-height: 1.65; }

.process { background: white; }
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 65px; counter-reset: process; }
.process-step { position: relative; padding: 0 30px 0 0; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 54px; right: 22px; height: 1px; background: var(--line); }
.process-step > span { position: relative; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; color: white; background: var(--green); border-radius: 50%; font-weight: 800; }
.process-step h3 { margin: 23px 0 10px; font-size: 21px; }
.process-step p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

.contact { padding-top: 0; background: white; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(42px, 7vw, 86px); color: white; background: linear-gradient(135deg, #0b3028, #123e32); border-radius: 36px; }
.contact-panel p:not(.eyebrow) { max-width: 610px; margin: 18px 0 0; color: #c8d9d0; font-size: 18px; line-height: 1.7; }
.button-light { flex: 0 0 auto; color: var(--dark); background: white; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; padding: 40px clamp(22px, 7vw, 112px); color: var(--ink-soft); border-top: 1px solid var(--line); font-size: 13px; }
.footer-brand img { width: 145px; height: 50px; object-fit: contain; object-position: left center; }

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

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 540px; }
  .phone { width: 270px; height: 530px; }
  .section-intro, .principles-panel { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-icon { margin-bottom: 52px; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 42px; }
  .process-step:nth-child(2)::after { display: none; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .site-header { min-height: 74px; }
  .brand img { width: 145px; height: 48px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 74px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 16px 22px 24px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(20, 50, 36, .08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .nav-cta { margin-top: 8px; padding: 14px 20px !important; text-align: center; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-visual { min-height: 460px; overflow: hidden; }
  .phone { width: 235px; height: 465px; border-radius: 38px; }
  .phone-screen { padding: 48px 15px 15px; }
  .screen-title { margin-top: 24px; font-size: 21px; }
  .screen-card { min-height: 82px; padding: 12px; }
  .binary-cloud { font-size: 24px; width: 290px; }
  .pear-orbit-one { width: 390px; height: 390px; }
  .pear-orbit-two { width: 480px; height: 260px; }
  .section { padding-left: 22px; padding-right: 22px; }
  .principles-panel { padding: 38px 24px; border-radius: 26px; }
  .process-track { grid-template-columns: 1fr; }
  .process-step:not(:last-child)::after { display: none; }
  .contact-panel { padding: 38px 25px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
