/* ------------------------------
   BudgetBox website stylesheet
   ------------------------------ */

:root {
  --background: #fffdf8;
  --surface: #ffffff;
  --surface-warm: #f7eddd;
  --text: #20231f;
  --muted: #666b63;
  --line: #e9e3d8;

  --orange: #d66a16;
  --orange-dark: #a94c08;
  --orange-soft: #f7d4a4;

  --green: #5a8d3d;
  --green-soft: #dbe8bc;

  --blue: #3e6ea8;
  --blue-soft: #c8dcf0;

  --shadow: 0 24px 60px rgba(77, 57, 31, 0.12);
  --radius-large: 32px;
  --radius-medium: 20px;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-width {
  width: min(var(--page-width), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}

.brand-name {
  font-size: 1.34rem;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: #000000;
}

.brand-logo {
    width: 42px;
    height:; 42px;
    margin-right: 11px;
    object-fit: contain;
    display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.96rem;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

/* Hero */

.hero {
  overflow: hidden;
  padding: 86px 0 92px;
  background:
    radial-gradient(circle at 5% 95%, rgba(219, 232, 188, 0.65), transparent 22%),
    radial-gradient(circle at 88% 22%, rgba(247, 212, 164, 0.7), transparent 26%),
    var(--background);
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-warm);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}



.play-store-link {
  display: inline-block;
  line-height: 0;
  transition: transform 160ms ease;
}

.play-store-link:hover {
  transform: translateY(-2px);
}

.play-store-link img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}



.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 12px 24px rgba(214, 106, 22, 0.24);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  box-shadow: 0 12px 25px rgba(50, 40, 25, 0.08);
}

.button small {
  display: block;
  margin-bottom: -2px;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.82;
}

.button-icon {
  font-size: 1.3rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.shape {
  position: absolute;
  border-radius: 42% 58% 62% 38% / 49% 39% 61% 51%;
  transform: rotate(18deg);
}

.shape-one {
  width: 420px;
  height: 420px;
  background: var(--orange-soft);
}

.shape-two {
  width: 310px;
  height: 310px;
  background: rgba(219, 232, 188, 0.85);
  transform: translate(115px, 76px) rotate(-17deg);
}

.shape-three {
  width: 180px;
  height: 180px;
  background: rgba(200, 220, 240, 0.82);
  transform: translate(-165px, 170px) rotate(32deg);
}

.app-card {
  position: relative;
  z-index: 2;
  width: min(370px, 90%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  backdrop-filter: blur(12px);
}

.app-card-top,
.budget-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-card-top {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.86rem;
}

.app-card-pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-warm);
  color: var(--orange-dark);
  font-weight: 750;
}

.balance-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.balance {
  margin: 2px 0 30px;
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.budget-row {
  margin-top: 20px;
  font-size: 0.86rem;
}

.budget-row div {
  display: grid;
}

.budget-row div span {
  color: var(--muted);
  font-size: 0.75rem;
}

.progress {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #efe8de;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.progress-green span {
  background: var(--green);
}

.progress-blue span {
  background: var(--blue);
}

/* Feature strip */

.feature-strip {
  background: #ead1aa;
  border-block: 1px solid rgba(126, 83, 34, 0.11);
}

.feature-strip-grid {
  min-height: 145px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.feature-strip-grid > div {
  padding: 25px;
  text-align: center;
}

.feature-strip-grid > div + div {
  border-left: 1px solid rgba(126, 83, 34, 0.15);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  color: var(--orange-dark);
  font-size: 1.65rem;
  line-height: 1.2;
}

.feature-strip span {
  margin-top: 4px;
  color: #684d31;
  font-size: 0.9rem;
}

/* Features */

.features {
  padding: 110px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 84px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-inline: auto;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child {
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 90px;
  padding: 62px 0;
}

.feature-row + .feature-row {
  border-top: 1px solid var(--line);
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-art {
  order: 1;
}

.feature-copy {
  max-width: 570px;
}

.feature-label {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-label-green {
  color: var(--green);
}

.feature-label-blue {
  color: var(--blue);
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.feature-copy > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-art {
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.feature-art-orange {
  background:
    radial-gradient(circle at 75% 15%, rgba(255,255,255,0.65), transparent 28%),
    var(--orange-soft);
}

.feature-art-green {
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.6), transparent 27%),
    var(--green-soft);
}

.feature-art-blue {
  background:
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.6), transparent 27%),
    var(--blue-soft);
}

.mini-card {
  width: 230px;
  display: grid;
  gap: 5px;
  padding: 26px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 42px rgba(88, 58, 25, 0.15);
  transform: rotate(4deg);
}

.mini-card span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--orange);
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
}

.category-list {
  width: min(310px, 78%);
  display: grid;
  gap: 13px;
}

.category-list span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(62, 91, 41, 0.11);
  font-weight: 750;
}

.category-list i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
}

.chart {
  width: min(330px, 78%);
  height: 190px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 30px 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(39, 70, 107, 0.12);
}

.chart span {
  width: 18%;
  border-radius: 10px 10px 0 0;
  background: var(--blue);
}

/* Final CTA */

.final-cta {
  padding: 30px 0 100px;
}

.final-cta-inner {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 56px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 95% 10%, rgba(219, 232, 188, 0.88), transparent 30%),
    var(--surface-warm);
}

.final-cta h2 {
  max-width: 700px;
}

/* Footer */

.site-footer {
  padding: 60px 0 38px;
  border-top: 1px solid var(--line);
  background: #f2e4cf;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-description {
  max-width: 520px;
  color: #6b5b48;
}

.copyright {
  margin-top: 35px;
  color: #7a6c5a;
  font-size: 0.86rem;
}

.footer-links {
  min-width: 150px;
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 4px;
}

.footer-links a {
  color: #6b5b48;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive layout */

@media (max-width: 900px) {
  .hero-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .feature-row {
    gap: 38px;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-art {
    order: initial;
  }

  .feature-art {
    min-height: 290px;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .page-width {
    width: min(100% - 28px, var(--page-width));
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  .brand-name {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 400px;
  }

  .shape-one {
    width: 330px;
    height: 330px;
  }

  .shape-two {
    width: 230px;
    height: 230px;
    transform: translate(75px, 72px) rotate(-17deg);
  }

  .shape-three {
    display: none;
  }

  .app-card {
    width: min(330px, 94%);
    padding: 22px;
  }

  .feature-strip-grid {
    grid-template-columns: 1fr;
    padding-block: 14px;
  }

  .feature-strip-grid > div {
    padding: 18px;
  }

  .feature-strip-grid > div + div {
    border-top: 1px solid rgba(126, 83, 34, 0.15);
    border-left: 0;
  }

  .features {
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .feature-row {
    padding: 48px 0;
  }

  .final-cta {
    padding-bottom: 75px;
  }

  .final-cta-inner {
    padding: 34px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}





/* ---------------------------------
   Privacy policy page
   --------------------------------- */

.privacy-page {
  min-height: 70vh;
  background:
    radial-gradient(circle at 8% 18%, rgba(219, 232, 188, 0.55), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(247, 212, 164, 0.55), transparent 24%),
    var(--background);
}

.privacy-hero {
  padding: 82px 0 54px;
  text-align: center;
}

.privacy-hero-inner {
  max-width: 820px;
}

.privacy-hero .eyebrow {
  margin-inline: auto;
}

.privacy-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.privacy-hero p {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-hero .privacy-updated {
  margin-top: 14px;
  font-size: 0.88rem;
}

.privacy-content {
  padding: 16px 0 110px;
}

.privacy-list {
  max-width: 920px;
}

.privacy-item {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(77, 57, 31, 0.06);
}

.privacy-item summary {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 22px 74px 22px 28px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  user-select: none;
}

.privacy-item summary::-webkit-details-marker {
  display: none;
}

.privacy-item summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--surface-warm);
  color: var(--orange-dark);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.privacy-item[open] summary::after {
  content: "−";
}

.privacy-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.privacy-item summary:hover {
  background: #fffaf2;
}

.privacy-answer {
  padding: 24px 28px 28px;
  color: var(--muted);
}

.privacy-answer p {
  margin: 0;
}

.privacy-answer p + p {
  margin-top: 16px;
}

.privacy-answer h2,
.privacy-answer h3 {
  color: var(--text);
}

.privacy-answer a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-answer ul,
.privacy-answer ol {
  padding-left: 24px;
}

@media (max-width: 680px) {
  .privacy-hero {
    padding: 60px 0 40px;
  }

  .privacy-content {
    padding-bottom: 78px;
  }

  .privacy-item summary {
    min-height: 72px;
    padding: 18px 64px 18px 20px;
    font-size: 1rem;
  }

  .privacy-item summary::after {
    right: 18px;
  }

  .privacy-answer {
    padding: 20px;
  }
}

















/* ---------------------------------
   Abstract feature decorations
   --------------------------------- */

.feature-art {
  position: relative;
}

.feature-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.feature-decoration span {
  position: absolute;
  display: block;
}

/* Orange decoration */

.orange-blob {
  top: 38px;
  right: 44px;
  width: 190px;
  height: 155px;
  border-radius: 42% 58% 63% 37% / 52% 40% 60% 48%;
  background-color: #d66a16;
  transform: rotate(17deg);
}

.orange-ring {
  left: 42px;
  top: 72px;
  width: 150px;
  height: 150px;
  border: 25px solid #fff2df;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.orange-pill {
  left: 128px;
  bottom: 42px;
  width: 165px;
  height: 52px;
  border-radius: 999px;
  background-color: #efac69;
  transform: rotate(-11deg);
}

.orange-dot {
  right: 62px;
  bottom: 45px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff8ee;
}

/* Green decoration */

.green-leaf-large {
  left: 54px;
  top: 48px;
  width: 180px;
  height: 220px;
  border-radius: 78% 22% 70% 30% / 60% 35% 65% 40%;
  background-color: #5a8d3d;
  transform: rotate(-18deg);
}

.green-leaf-small {
  right: 50px;
  top: 64px;
  width: 135px;
  height: 175px;
  border-radius: 30% 70% 28% 72% / 40% 62% 38% 60%;
  background-color: #88ac67;
  transform: rotate(22deg);
}

.green-arch {
  left: 145px;
  bottom: -72px;
  width: 205px;
  height: 205px;
  border: 30px solid #f5faed;
  border-radius: 50%;
}

.green-circle {
  right: 38px;
  bottom: 34px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #f8fbf3;
}

/* Blue decoration */

.blue-wave-large {
  left: -65px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border: 42px solid #3e6ea8;
  border-radius: 50%;
}

.blue-wave-small {
  right: -58px;
  top: -76px;
  width: 245px;
  height: 245px;
  border: 34px solid #f3f8fd;
  border-radius: 50%;
}

.blue-bar {
  left: 116px;
  top: 74px;
  width: 185px;
  height: 58px;
  border-radius: 999px;
  background-color: #7198c2;
  transform: rotate(-18deg);
}

.blue-circle {
  right: 68px;
  bottom: 48px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-color: #3e6ea8;
}

.privacy-bullets {
  margin: 18px 0;
  padding-left: 24px;
  color: var(--muted);
}

.privacy-bullets li {
  margin-bottom: 10px;
  padding-left: 6px;
}

.privacy-bullets li::marker {
  color: var(--orange);
  font-size: 1.1em;
}