:root {
  --bg-paper: #f5efe6;
  --bg-paper-muted: #f1e7da;
  --bg-card: #fffaf2;
  --bg-elevated: #fdf7ee;

  --bg-card-light: rgba(255, 255, 255, 0.85);
  --bg-light: #f7f5ed;
  --bg-muted: #f7f5ed;


  --text-main: #2f2922;
  /* --text-muted: #7a6f64; */
  --text-muted: #70665c;
  --text-soft: #a09487;

  --accent: #e1c8a7;
  --accent-soft: #f0dcc2;
  --accent-strong: #d29a67;

  --circle-1: #f4d5d0;
  --circle-2: #d7e3f1;
  --circle-3: #f6e6b8;
  --circle-4: #d9e4dd;

  --purple-muted: #B7A3C9;
  --green-muted: #5A7D6C;
  --orange-muted: #D7975A;
  --pink-muted: #B9797B;

  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.07);

  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  --font-serif-display: "EB Garamond", "Georgia", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
   background: radial-gradient(circle at top left, #f7efe4, #f3e5d5 40%, #f6f0e7); 
  background: var(--bg-paper);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
    overflow-x: hidden; 
  overflow-y: auto; 
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}  */

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;    
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg-paper);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
} 

/* Typography */
/* 
creates weird scroll on each section
#hero,
#features,
#support,
#faq {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible; 
}  */

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif-display);
  font-weight: 400;
  color: var(--text-main);
}

p,
li,
a,
button,
span,
figcaption {
  font-family: var(--font-sans);
}

h1 {
  font-size: 4.2rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  /* letter-spacing: -0.02em; */
}

h3 {
  font-size: 1.6rem;
  color: #5e554c;
}




.small-serif-header {
  font-family: var(--font-serif-display);
  font-weight: 400;
  font-size: 1rem; 
}

p,
li {
  line-height: 1.6;
}

.faq-answer ul {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

h1 .hero-heading-em  {
  font-family: var(--font-serif-display);
  font-weight: 400;
  color: var(--text-main);
  font-style: italic;
  font-synthesis: none;
}

/* Layout */


.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

section > * {
  position: relative;
  z-index: 10; /* put all section content above circles */
}

.section-muted {
  background: linear-gradient(
    145deg,
    var(--bg-paper-muted),
    rgba(255, 255, 255, 0.7)
  );
}

.section-header {
  max-width: 620px;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 10px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: var(--bg-paper);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.brand-mark-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* or "cover" if you want it fully cropped */
}

.brand-circle {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 18px;
}

.nav-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
  border-color: rgba(163, 140, 105, 0.4);
}

.nav-cta {
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 14px;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}



/* Mobile nav */

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(163, 140, 105, 0.35);
  background: rgba(252, 244, 232, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle-line {
  width: 16px;
  height: 1.5px;
  background: #7a6f64;
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 80px 0 70px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.hero-overline {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

.hero-content h1 {
  margin: 0 0 12px;
}

.hero-description {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Buttons */

.btn {
  border-radius: 999px;
  border: none;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
  background: none;
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--accent-soft), var(--accent));
  color: var(--text-main);
  box-shadow: 0 12px 30px rgba(160, 120, 80, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(160, 120, 80, 0.25);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(163, 140, 105, 0.5);
  color: var(--text-main);
  padding-inline: 16px;
}

.btn-ghost:hover {
  background: rgba(250, 243, 231, 0.9);
}

/* Badge */

.badge {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(114, 94, 70, 0.3);
  background: rgba(255, 255, 255, 0.72);
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  margin: 0 auto;
  padding: 0px;

  overflow: hidden;
  max-width: 360px; 
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .hero-image-wrapper {
    max-width: 360px;
    padding: 12px;
  }

  .features-image {
    max-width: 360px;
    padding: 12px;
  }

}




/* Decorative hero circles */

.hero-circle {
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
  z-index: 1;
}

.hero-circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle at bottom right,
    var(--pink-muted),
    rgba(244, 213, 208, 0)
  );
  top: -15px;
  right: 400px;
}

.hero-circle-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle at top left,
    var(--orange-muted),
    rgba(214, 227, 241, 0)
  );
  top: 50px; 
  left: -100px;  
  z-index: 0;
}

.hero-circle-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle at top right,
    var(--green-muted),
    rgba(246, 230, 184, 0)
  );
  bottom: -300px;
  right: -30px;
}

.hero-circle-4 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle at bottom right,
    var(--green-muted),
    rgba(246, 230, 184, 0)
  );
  bottom: -350px;
  right: -120px;
}

.hero-circle-5 {
  width: 540px;
  height: 540px;
  background: radial-gradient(
    circle at top right,
    var(--orange-muted),
    rgba(246, 230, 184, 0)
  );
  z-index: -1;
  /* right: -400px;
  top: 450px; */
    right: -300px;
  top: 750px;
}

.hero-circle-6 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle at top left,
    var(--pink-muted),
    rgba(246, 230, 184, 0)
  );
  /* bottom: -80px;
  right: 240px; */
    bottom: -100px;
  left: -140px;
  z-index: -1;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: var(--bg-card-light);
  border: 1px solid rgba(181, 158, 128, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.feature-card h3 {
  margin: 0 0 6px;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(181, 158, 128, 0.6);
}

/* New features layout */

.features-layout {
  display: flex;
  flex-direction: column;
  gap: 80px; 
  margin-top: 40px;
}

.features-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  align-items: stretch; 
  gap: 48px; 
}

.features-block-bottom {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr);
  align-items: stretch; 
  gap: 48px;
}

/* screenshot wrapper */
.features-image {
  padding: 18px;
}

.features-image img {
  width: 90%;
  height: auto;
}

.features-column {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 26px;
  padding-top: 46px;
}

.features-column .feature-card p {
  margin-top: 6px;
}

@media (max-width: 960px) {
  .features-block,
  .features-block-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-image-top {
    order: -1; 
  }

  .features-image-bottom {
    order: -1; 
  }

  .features-layout {
    gap: 48px;
  }

    .features-image {
    max-width: 420px;     
    width: 90%;          
    margin-left: auto;
    margin-right: auto;
  }

  .features-image img {
    width: 95%;          
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .features-column {
    gap: 20px;
  }

  .features-image {
    padding: 14px;
  }
}

/* Screenshots */

.section-screenshots {
  background: radial-gradient(circle at top, #fdf6ea, #f4e6d7);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.screenshot-card {
  margin: 0;
}

.screenshot-frame {
  border-radius: 26px;
  padding: 12px;
  background: radial-gradient(circle at top, #fffaf4, #f2e4d5);
  border: 1px solid rgba(181, 158, 128, 0.4);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.screenshot-card figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About */

.section-about {
  background: var(--bg-light);
  /* background: radial-gradient(circle at , var(--bg-paper), var(--green-muted)); */
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}

.about-text h2 {
  margin: 0 0 12px;
}

.about-text p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: var(--bg-card-light);
  /* background: radial-gradient(circle at top left, var(--bg-elevated), #f4e7d7); */
  border: 1px solid rgba(181, 158, 128, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.about-card h3 {
  margin: 0 0 10px;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list li {
  font-size: 0.82rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(181, 158, 128, 0.4);
  color: var(--text-main);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between dot and text */
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(181, 158, 128, 0.4);
  color: var(--text-main);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  }

.pill:hover {
  transform: translateY(-0px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.pill-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

/* Dot colors */
.pill-dot.purple {
  background-color: var(--purple-muted);
}
.pill-dot.green {
  background-color: var(--green-muted);
}
.pill-dot.orange {
  background-color: var(--orange-muted);
}
.pill-dot.pink {
  background-color: var(--pink-muted);
}

.about-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Privacy */

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 18px;
}

.privacy-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-card-light);
  border: 1px solid rgba(181, 158, 128, 0.38);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.privacy-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.privacy-card p,
.privacy-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.privacy-card ul {
  padding-left: 18px;
  margin: 0;
}

.privacy-long {
  grid-row: span 1;
}

.text-link {
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(210, 154, 103, 0.4);
  padding-bottom: 1px;
}

.text-link:hover {
  border-bottom-color: rgba(210, 154, 103, 0.8);
}

/* Support */

#support {
  overflow: hidden; /* clips circles */
}

.support-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  z-index: 2;
}

.support-main h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.support-main p {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.support-card {
  margin-top: 14px;
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: var(--bg-card-light);
  border: 1px solid rgba(181, 158, 128, 0.5);
  /* box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06); */
}

.support-main {
  z-index: 6;
}

.support-card h3 {
  margin: 0 0 8px;
}

.support-card p {
  margin: 0 0 6px;
}

/* FAQ */

.support-faq h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.faq-list {
  border-radius: 18px;
  border: 1px solid rgba(181, 158, 128, 0.4);
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(181, 158, 128, 0.3);
}

.faq-question {
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-main);
}

.faq-question span:first-child {
  text-align: left;
}

.faq-icon {
  font-size: 1rem;
  color: var(--text-soft);
  transition: transform var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  transition: max-height var(--transition-med), padding-bottom var(--transition-med);
}

.faq-answer p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 10px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* FAQ Section */
#faq {
  position: relative;
  text-align: center;
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

#faq .section-header.centered {
  text-align: center;
  margin-bottom: 30px;
}

#faq .faq-list {
  border-radius: 18px;
  border: 1px solid rgba(181, 158, 128, 0.4);
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-align: left; 
}

#faq .faq-item + .faq-item {
  border-top: 1px solid rgba(181, 158, 128, 0.3);
}

#faq .faq-question {
  width: 100%;
  padding: 14px 18px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-main);
}

#faq .faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

#faq .faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 12px;
}

/* Footer */

.site-footer {
  z-index: 1;
  margin-top: auto;
  padding: 22px 0 26px;
  background: var(--bg-paper-muted);
  /* border-top: 1px solid rgba(181, 158, 128, 0.4); */
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-soft);
  z-index: 2;
}

.footer-right {
  display: flex;
  gap: 14px;
}

.footer-right a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-right a:hover {
  color: var(--text-main);
}

.footer-brand {
  font-weight: 500;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-visual {
    order: 1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .privacy-grid,
  .support-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy-grid {
    row-gap: 14px;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-desktop-only {
    display: none;
  }

  .nav {
    position: absolute;
    right: 20px;
    top: 58px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(254, 247, 238, 0.97);
    border: 1px solid rgba(181, 158, 128, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-links {
    flex-direction: column;
    gap: 6px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 60px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .screenshots-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}