:root {
  --color-bg: #f8faf7;
  --color-card: #ffffff;
  --color-text: #172033;
  --color-muted: #566174;
  --color-navy: #0b2345;
  --color-green: #075f3a;
  --color-green-dark: #03482c;
  --color-green-light: #eaf4ed;
  --color-gold: #c6a14a;
  --color-border: #dce3dc;
  --shadow-soft: 0 16px 40px rgba(15, 35, 69, 0.10);
  --shadow-card: 0 10px 28px rgba(15, 35, 69, 0.11);
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(circle at 85% 12%, rgba(7, 95, 58, 0.08), transparent 32rem),
    linear-gradient(180deg, #fbfcfa 0%, var(--color-bg) 100%);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max-width), calc(100% - 44px));
  margin-inline: auto;
}

.site-header {
  padding: 14px 0 10px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.brand {
  color: var(--color-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.nav-links a {
  color: var(--color-green-dark);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(38px24px, 4vw, 50px);
  align-items: center;
  /*padding: clamp(32px, 5vw, 58px) 0 clamp(22px, 4vw, 42px);*/
}

.hero.home-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-green);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--color-gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 10px;
  font-size: clamp(2.8rem, 5.2vw, 3.65rem);  /* clamp(2.8rem, 5.2vw, 4.65rem) */
}

/*.product-page h1,
.contact-page h1 {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
}*/

/* Bank Easy */
.product-page h1 {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
}

.contact-page h1 {
  font-size: clamp(2.5rem, 7vw, 3.0rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.05rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--color-green-dark);
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.hero p:not(.lead) {
  max-width: 640px;
  color: var(--color-muted);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--color-green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(7, 95, 58, 0.20);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--color-green-dark);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(7, 95, 58, 0.24);
}

.button.secondary {
  background: transparent;
  color: var(--color-green);
  border-color: rgba(7, 95, 58, 0.55);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

.button.full {
  width: 100%;
}

.hero-visual {
  position: relative;
}

.decor-panel {
  min-height: 220px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.84), transparent 19rem),
    linear-gradient(135deg, rgba(234, 244, 237, 0.85), rgba(255,255,255,0.42));
  border: 1px solid rgba(7, 95, 58, 0.08);
  display: grid;
  place-items: center;
  color: rgba(7, 95, 58, 0.28);
}

.decor-panel svg {
  width: min(260px, 70%);
}

.product-image-stage {
  border-radius: var(--radius-lg);
  padding: 12px;
}

.product-image-stage img {
  filter: drop-shadow(0 20px 26px rgba(15, 35, 69, 0.15));
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin: 20px 0 34px;
  text-align: center;
}

.section-heading::before,
.section-heading::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 95, 58, 0.75));
}

.section-heading::after {
  background: linear-gradient(90deg, rgba(7, 95, 58, 0.75), transparent);
}

/*.featured-section,*/
/*.features-section,*/
.info-section {
  padding: clamp(32px, 6vw, 70px) 0;
}

.contact-main {
  padding: clamp(32px, 6vw, 70px) 0 0 0;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(7, 95, 58, 0.10);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.product-card.bank-easy-card {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
}

.product-card img {
  border-radius: 16px;
}

.product-card-copy {
  padding: clamp(12px, 2.5vw, 28px) clamp(12px, 2.5vw, 24px);
}

.accent-line {
  width: 58px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px 0 20px;
}

.product-card-copy p {
  color: var(--color-muted);
  margin: 0 0 14px;
}

.closing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 40px 0 28px;
  color: var(--color-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.note-icon,
.card-icon,
.info-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(7, 95, 58, 0.16);
  background: #f3f8f3;
  color: var(--color-green);
}

.note-icon svg,
.card-icon svg,
.info-icon svg {
  width: 34px;
  height: 34px;
}

.site-footer {
  margin-top: 26px;
  background: linear-gradient(135deg, #092044, #0b2b56);
  color: #fff;
  padding: 26px 0;
  text-align: center;
  font-size: 0.98rem;
}

/* Bank Easy page */
.product-page .hero {
  padding-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 154px;
  padding: 26px;
  border: 1px solid rgba(7, 95, 58, 0.10);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: 0 9px 24px rgba(15, 35, 69, 0.08);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card,
.message-card,
.help-card,
.external-card {
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid rgba(7, 95, 58, 0.10);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.info-card.soft-green {
  background: linear-gradient(135deg, rgba(234, 244, 237, 0.86), #fff);
}

.info-card.soft-blue {
  background: linear-gradient(135deg, rgba(232, 241, 251, 0.92), #fff);
}

.info-card-inner {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  align-items: center;
}

.info-card p,
.story-card p,
.help-card p,
.external-card p {
  color: var(--color-muted);
  margin: 8px 0 0;
}

.story-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 30px 36px;
  border: 1px solid rgba(7, 95, 58, 0.10);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: 0 10px 28px rgba(15, 35, 69, 0.08);
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--color-navy);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5d1;
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--color-text);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 184px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(7, 95, 58, 0.16);
  border-color: var(--color-green);
}

.side-stack {
  display: grid;
  gap: 24px;
}

.help-list {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: var(--color-muted);
}

.help-list li {
  margin: 8px 0;
}

.help-list li::marker {
  color: var(--color-green);
}

.email-note {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

.email-note p {
  margin: 0;
}

.external-card img {
  margin: 18px 0;
  border-radius: 12px;
}

.url-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 20px;
  color: var(--color-green);
  font-size: 1.15rem;
  font-weight: 800;
}

.url-line svg {
  width: 24px;
  height: 24px;
}

.small-text {
  color: var(--color-muted);
  font-size: 0.96rem;
}

@media (max-width: 980px) {
  .hero,
  .hero.home-hero,
  .product-card,
  .product-card.bank-easy-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .home-hero .hero-visual {
    order: 0;
  }

  .features-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 3.6rem);
  }

  .hero {
    padding-top: 34px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading::before,
  .section-heading::after {
    display: none;
  }

  .features-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .info-card-inner,
  .story-card,
  .email-note {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 12px;
  }

  .product-card-copy,
  .message-card,
  .help-card,
  .external-card,
  .info-card {
    padding: 22px;
  }

  .closing-note {
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
