/* Nouryvo brand: tokens and rules follow the Nouryvo Brand Guidelines design system. */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Lora:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --forest: #0f5d46;
  --forest-deep: #0a3d2e;
  --leaf: #3e9b6e;
  --mint: #dcebdd;
  --citrus: #f4a63a;
  --cream: #faf5ea;
  --surface: #ffffff;
  --ink: #14231c;
  --muted: #55655c;
  --line: #dcd5c3;
  --border-strong: #7a877f;
  --on-forest: var(--cream);
  --danger: #b23a2a;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: Lora, Georgia, serif;
  --font-sans: Figtree, system-ui, sans-serif;
  /* legacy names, kept so older rules keep working */
  --dark: var(--forest-deep);
  --lime: var(--leaf);
  --coral: var(--citrus);
  --radius: var(--radius-lg);
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; object-fit: cover; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--forest); }

.container { max-width: 1220px; margin: auto; padding: 0 28px; }
.topbar { background: var(--forest-deep); color: var(--on-forest); text-align: center; font-size: 12px; font-weight: 600; padding: 9px 15px; letter-spacing: .06em; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 85px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--forest); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .mark-small { fill: var(--leaf); }
.brand .mark-tall { fill: var(--forest); }
.brand .mark-fruit { fill: var(--citrus); }
.site-footer .brand, .fridge-footer .brand { color: var(--on-forest); }
.site-footer .brand .mark-small, .site-footer .brand .mark-tall,
.fridge-footer .brand .mark-small, .fridge-footer .brand .mark-tall { fill: var(--on-forest); }

.navlinks { display: flex; gap: 25px; align-items: center; font-size: 14px; font-weight: 600; }
.navlinks a:hover { color: var(--forest); }
.navcta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--forest); color: var(--on-forest); border: 0; border-radius: var(--radius-md); padding: 12px 22px; font-weight: 600; font-size: 15px; }
.btn:hover, .navcta:hover { background: var(--forest-deep); }
.btn.light { background: var(--cream); color: var(--forest); }
.btn.light:hover { background: var(--mint); }
.btn.outline { background: transparent; color: var(--forest); border: 1px solid var(--border-strong); }
.btn.outline:hover { background: var(--mint); }
.eyebrow { text-transform: uppercase; font-size: 12px; line-height: 16px; letter-spacing: .06em; font-weight: 600; color: var(--forest); }

.hero { background: var(--cream); padding: 60px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.08; margin: 18px 0 24px; color: var(--ink); }
.hero p, .lead { color: var(--muted); font-size: 18px; line-height: 28px; max-width: 610px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual { position: relative; }
.hero-visual img { height: 530px; border-radius: 160px var(--radius-lg) 160px var(--radius-lg); }
.float-card { position: absolute; bottom: 30px; left: -28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 21px; font-size: 14px; font-weight: 600; max-width: 235px; }
.float-card span { display: block; color: var(--forest); font-family: var(--font-display); font-size: 22px; }

.section { padding: 92px 0; }
.section.alt { background: var(--mint); }
.section.dark { background: var(--forest); color: var(--on-forest); }
.section.dark .lead, .section.dark p { color: var(--mint); }
.section.dark .eyebrow, .cta-panel .eyebrow { color: var(--mint); }
.section.dark h2 em, .cta-panel h2 em { color: var(--citrus); }
.section-head { max-width: 730px; margin-bottom: 35px; }
.section h2, .pagehero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; margin: 13px 0 17px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; border: 1px solid var(--line); }
.card img { height: 215px; }
.card-content { padding: 24px; }
.card h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 24px; margin: 0 0 15px; }
.textlink { color: var(--forest); font-weight: 600; font-size: 15px; }
.textlink:hover { text-decoration: underline; text-underline-offset: .2em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split img { height: 460px; border-radius: var(--radius-lg); }
.split p { line-height: 1.7; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius-lg); }
.step b { display: inline-grid; place-items: center; background: var(--mint); color: var(--forest); width: 40px; height: 40px; border-radius: 50%; font-weight: 600; }
.step h3 { margin: 15px 0 8px; font-size: 20px; line-height: 28px; font-weight: 600; }
.step p { font-size: 15px; color: var(--muted); line-height: 24px; }

.pagehero { padding: 65px 0; background: var(--mint); }
.pagehero .lead { max-width: 760px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-grid img { height: 260px; border-radius: var(--radius-lg); }
.pill { display: inline-flex; align-items: center; background: var(--mint); color: var(--forest); border-radius: var(--radius-pill); padding: 8px 15px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 35px; }
.cta-panel { text-align: center; background: var(--forest); border-radius: var(--radius-lg); padding: 65px 25px; color: var(--on-forest); }
.cta-panel h2 { margin: 10px 0; font-size: clamp(30px, 4vw, 46px); }
.cta-panel p { color: var(--mint); }

.site-footer { background: var(--forest-deep); color: var(--on-forest); padding: 55px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid a { display: block; font-size: 14px; margin: 10px 0; color: var(--on-forest); }
.footer-grid a:not(.brand):hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-grid h4 { margin: 0 0 12px; color: var(--on-forest); font-weight: 600; }
.footer-note { font-size: 13px; color: var(--mint); border-top: 1px solid #faf5ea33; margin-top: 45px; padding-top: 20px; line-height: 18px; }

.tool-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 27px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 15px 0; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select { border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 12px; background: var(--surface); max-width: 100%; }
.result { margin-top: 20px; background: var(--mint); border-radius: var(--radius-md); padding: 22px; }
.small { font-size: 13px; color: var(--muted); line-height: 18px; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.feature-list li:before { content: '✓'; color: var(--forest); font-weight: 700; margin-right: 12px; }
.menu-button { display: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--forest); border-radius: var(--radius-md); padding: 10px 14px; font-weight: 600; }
.navlinks.open { display: flex; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 35px; }
  .hero-visual img { height: 400px; border-radius: 120px var(--radius-lg) 120px var(--radius-lg); }
  .float-card { left: 12px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .navlinks { gap: 12px; }
}
@media (max-width: 650px) {
  .container { padding: 0 16px; }
  .nav { min-height: 70px; }
  .brand { font-size: 24px; }
  .brand svg { width: 32px; height: 32px; }
  .menu-button { display: block; }
  .navlinks { display: none; position: absolute; top: 104px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 10; flex-direction: column; padding: 24px; }
  .navcta { display: none; }
  .hero { padding: 45px 0 60px; }
  .hero-visual img { height: 310px; border-radius: 80px var(--radius-lg) 80px var(--radius-lg); }
  .cards, .steps, .photo-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .split img { height: 300px; }
  .footer-grid { gap: 18px; }
}

/* Subscription plans */
.navlinks a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .35em;
}

.pricing-section { padding-top: 42px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 860px;
}

.pricing-card { padding: clamp(20px, 4vw, 36px); }
.pricing-card-annual { background: var(--mint); border-color: var(--leaf); }

.pricing-card-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.pricing-card-heading h2,
.pricing-included h2 {
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -.01em;
  margin: 0;
}

.pricing-card .plan-price { color: var(--forest); margin-bottom: 8px; }
.plan-price strong { font-size: clamp(32px, 6vw, 48px); letter-spacing: -.02em; }
.pricing-card p:last-child { margin-bottom: 0; }
.pricing-note { margin: 18px 0 36px; }
.pricing-included { max-width: 630px; }

@media (max-width: 760px) {
  .nav .navcta { display: none; }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
