/* ===========================
   Tend Photos — Shared Styles
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background-color: #FAFAF8;
  color: #1C1C1E;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #4A7C59;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout Helpers --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  background-color: #FAFAF8;
  border-bottom: 1px solid #E8E8E4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header__logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1C1C1E;
  letter-spacing: -0.01em;
}

.site-header__logo:hover {
  text-decoration: none;
  color: #4A7C59;
}

.site-header__nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.site-header__nav a {
  font-size: 0.9rem;
  color: #555;
  font-weight: 400;
}

.site-header__nav a:hover {
  color: #1C1C1E;
  text-decoration: none;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #E8E8E4;
  padding: 36px 24px;
  margin-top: 80px;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: #777;
}

.site-footer__links a:hover {
  color: #1C1C1E;
  text-decoration: none;
}

.site-footer__copy {
  font-size: 0.875rem;
  color: #999;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}

.btn--primary {
  background-color: #4A7C59;
  color: #fff;
}

.btn--primary:hover {
  background-color: #3d6849;
  text-decoration: none;
  color: #fff;
}

.btn--secondary {
  color: #4A7C59;
  background: transparent;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0;
}

.btn--secondary:hover {
  text-decoration: underline;
}

/* ===========================
   Landing Page Sections
   =========================== */

/* --- Hero --- */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A7C59;
  background-color: #EEF5F1;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero__h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1C1C1E;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 36px;
}

.hero__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* --- Waitlist Email Capture --- */
.waitlist {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.waitlist__heading {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1C1C1E;
  margin-bottom: 12px;
}

.waitlist__sub {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

.waitlist__form {
  margin-bottom: 12px;
}

.waitlist__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.waitlist__row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist__input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #1C1C1E;
  background-color: #fff;
  border: 1px solid #D6DED9;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.waitlist__input::placeholder {
  color: #999;
}

.waitlist__input:focus {
  outline: none;
  border-color: #4A7C59;
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.15);
}

.waitlist__button {
  flex: 0 0 auto;
  border: none;
  white-space: nowrap;
}

.waitlist__microcopy {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto 16px;
}

.waitlist__learn {
  display: inline-block;
}

/* Repeated waitlist band before footer */
.waitlist-band {
  background-color: #EEF5F1;
  border-top: 1px solid #D6EADe;
  border-bottom: 1px solid #D6EADe;
  padding: 72px 24px;
}

.waitlist--band .waitlist__heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: #2C4F38;
}

.waitlist--band .waitlist__sub {
  color: #3D6048;
}

.waitlist--band .waitlist__input {
  border-color: #BBD6C5;
}

/* --- Features --- */
.features {
  padding: 80px 24px;
  background-color: #fff;
  border-top: 1px solid #E8E8E4;
  border-bottom: 1px solid #E8E8E4;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1C1C1E;
  margin-bottom: 56px;
}

.features__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.feature-card {
  padding: 28px 24px;
  border: 1px solid #E8E8E4;
  border-radius: 14px;
  background-color: #FAFAF8;
}

.feature-card__icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1C1C1E;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

/* --- How It Works --- */
.how-it-works {
  padding: 80px 24px;
}

.steps {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 32px 36px 32px 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background-color: #E8E8E4;
}

.step:not(:first-child) {
  padding-left: 36px;
  padding-right: 0;
}

.step:last-child {
  padding-right: 0;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #4A7C59;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step__label {
  font-size: 1rem;
  font-weight: 600;
  color: #1C1C1E;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step__desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

/* --- Privacy Trust Band --- */
.privacy-band {
  background-color: #EEF5F1;
  border-top: 1px solid #D6EADe;
  border-bottom: 1px solid #D6EADe;
  padding: 72px 24px;
  text-align: center;
}

.privacy-band__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2C4F38;
  margin-bottom: 20px;
}

.privacy-band__body {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  color: #3D6048;
  line-height: 1.7;
}

/* --- Pricing --- */
.pricing {
  padding: 80px 24px;
}

.pricing__subheading {
  text-align: center;
  font-size: 1rem;
  color: #777;
  margin-top: -40px;
  margin-bottom: 52px;
}

.pricing__grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.pricing-card {
  border: 1px solid #E8E8E4;
  border-radius: 16px;
  padding: 36px 32px;
  background-color: #fff;
}

.pricing-card--pro {
  border-color: #4A7C59;
  background-color: #F5FBF7;
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4A7C59;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 4px;
}

.pricing-card__price {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1C1C1E;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: #777;
}

.pricing-card__launch {
  display: inline-block;
  font-size: 0.8rem;
  color: #4A7C59;
  font-weight: 600;
  background-color: #EEF5F1;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.pricing-card__free-label {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1C1C1E;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.pricing-card__divider {
  border: none;
  border-top: 1px solid #E8E8E4;
  margin: 20px 0;
}

.pricing-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__list li {
  font-size: 0.9rem;
  color: #444;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.pricing-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4A7C59;
  font-weight: 700;
}

.pricing-card__tagline {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
}

/* ===========================
   Inner Pages (Privacy / Support)
   =========================== */

.page-hero {
  padding: 64px 24px 40px;
  border-bottom: 1px solid #E8E8E4;
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1C1C1E;
  margin-bottom: 10px;
}

.page-hero__meta {
  font-size: 0.9rem;
  color: #888;
}

.prose {
  padding: 52px 24px 80px;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C1C1E;
  letter-spacing: -0.01em;
  margin-top: 44px;
  margin-bottom: 12px;
}

.prose p {
  font-size: 0.975rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.75;
}

.prose ul {
  margin: 12px 0 16px 20px;
}

.prose ul li {
  font-size: 0.975rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 6px;
}

.prose em {
  color: #888;
  font-size: 0.875rem;
}

/* --- Support / FAQ --- */
.faq-section {
  padding: 52px 24px 24px;
}

.faq-section__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1C1C1E;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

details.faq-item {
  border-bottom: 1px solid #E8E8E4;
}

details.faq-item:first-of-type {
  border-top: 1px solid #E8E8E4;
}

summary.faq-item__question {
  padding: 18px 4px;
  font-size: 0.975rem;
  font-weight: 600;
  color: #1C1C1E;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

summary.faq-item__question::-webkit-details-marker {
  display: none;
}

summary.faq-item__question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: #999;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

details[open] summary.faq-item__question::after {
  transform: rotate(45deg);
  color: #4A7C59;
}

.faq-item__answer {
  padding: 0 4px 20px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* --- Contact Block --- */
.contact-block {
  max-width: 680px;
  margin: 48px auto 0;
  padding: 32px;
  background-color: #EEF5F1;
  border-radius: 14px;
  text-align: center;
}

.contact-block__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2C4F38;
  margin-bottom: 10px;
}

.contact-block__body {
  font-size: 0.9rem;
  color: #3D6048;
  line-height: 1.65;
}

.contact-block__body a {
  color: #2C4F38;
  font-weight: 600;
}

/* --- Support Useful Links --- */
.useful-links {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 24px;
  border-top: 1px solid #E8E8E4;
}

.useful-links__heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
  margin-bottom: 12px;
}

.useful-links__list {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.useful-links__list a {
  font-size: 0.9rem;
  color: #4A7C59;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding: 28px 0;
    border-bottom: 1px solid #E8E8E4;
  }

  .step:last-child {
    border-bottom: none;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step:not(:first-child) {
    padding-left: 0;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .pricing-card--pro {
    margin-top: 16px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 64px 0 56px;
  }
}

@media (max-width: 480px) {
  .site-header__nav {
    gap: 16px;
  }
}
