/* Duftee Website — generated from Figma "Duftee Website" */

:root {
  --ink: #333333;
  --muted: #707a8a;
  --line: #eaecef;
  --bg-alt: #fafafa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: #fff;
}

img { display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: inset 0 -1px 0 0 var(--line);
}

.site-header .header-inner {
  width: 100%;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand img { width: 18px; height: 24px; }

.brand span {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.64px;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 50px;
}

.site-nav a {
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: var(--ink);
}

.site-nav a:hover { color: #000; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #fff;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero-deco--left {
  left: calc(50% - 720px + 120px);
  top: -6px;
  width: 534px;
  height: 712px;
}

.hero-deco--right {
  left: calc(50% - 720px + 832px);
  top: 148px;
  width: 712px;
  height: 558px;
}

.hero h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 230px;
  width: 824px;
  max-width: 90%;
  font-weight: 900;
  font-size: 100px;
  line-height: 120px;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Products ---------- */

.products {
  padding: 100px 0 128px;
  background: #fff;
}

.section-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: var(--ink);
}

.products .section-title { margin-bottom: 78px; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 6px;
  border-radius: 24px;
  text-align: center;
}

.product-card--alt { background: var(--bg-alt); }

.product-card .product-icon { width: 120px; height: 120px; }

.product-card h3 {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: var(--ink);
  margin-bottom: 8px;
}

.product-card p {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: var(--muted);
}

/* ---------- About ---------- */

.about {
  background: var(--bg-alt);
  padding: 133px 0;
}

.about .about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.team-grid {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  position: relative;
  width: 360px;
  height: 360px;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
}

.team-card img {
  width: 270px;
  height: 270px;
  margin: 0 auto;
  object-fit: cover;
}

.team-card p {
  position: absolute;
  left: 45px;
  top: 302px;
  width: 270px;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: var(--ink);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #fff;
}

.contact-deco {
  /* The 90deg rotation is baked into the SVG (viewBox 712x558).
     Left edge bleeds 60px past the viewport's left side. */
  position: absolute;
  left: -60px;
  top: 202px;
  width: 712px;
  height: 558px;
  pointer-events: none;
  user-select: none;
}

.contact-ellipse {
  position: absolute;
  left: calc(50% - 720px + 1185px);
  top: 472px;
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.contact-body {
  position: absolute;
  left: calc(50% - 720px + 732px);
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.contact-body .section-title { text-align: right; }

.contact-body p {
  width: 588px;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-align: right;
  color: var(--muted);
}

.contact-email {
  position: absolute;
  right: calc(50% - 720px + 120px);
  top: 552px;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--ink);
}

.contact-email:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: #fff;
  box-shadow: inset 0 1px 0 0 var(--line);
}

.site-footer .footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: center;
}

.site-footer p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: var(--muted);
  text-align: center;
}

.site-footer a:hover { text-decoration: underline; }

/* ---------- Legal pages (Terms / Privacy) ---------- */

.legal {
  padding-top: 60px;
  padding-bottom: 80px;
}

.legal-head {
  position: relative;
  text-align: center;
  margin-bottom: 16px;
}

.legal-head h1 {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
}

.back-link {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
}

.back-link:hover { background: var(--bg-alt); }

.legal-updated {
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal h2 {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  margin: 48px 0 20px;
}

.legal h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  margin: 28px 0 12px;
}

.legal p, .legal li {
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal li { margin-bottom: 6px; }

.legal a { text-decoration: underline; }

/* Privacy tabs */

.pp-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.pp-tab {
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 24px;
  cursor: pointer;
}

.pp-tab.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.pp-panel { display: none; }
.pp-panel.active { display: block; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .container { padding: 0 40px; }

  .hero h1 {
    font-size: 72px;
    line-height: 88px;
  }

  .hero-deco--left { left: -60px; }
  .hero-deco--right { left: auto; right: -120px; }

  .contact-deco { left: -83px; }
  .contact-ellipse { left: auto; right: 60px; }
  .contact-body { left: auto; right: 40px; }
  .contact-email { right: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .site-header .header-inner { padding: 24px 20px; }
  .site-nav { display: none; }

  .hero { height: 560px; }

  .hero-deco--left {
    left: -33px;
    top: 40px;
    width: 236px;
    height: 315px;
  }

  .hero-deco--right {
    left: auto;
    right: -130px;
    top: 210px;
    width: 315px;
    height: 247px;
  }

  .hero h1 {
    top: 96px;
    width: 279px;
    font-size: 56px;
    line-height: 64px;
  }

  .products { padding: 24px 0 48px; }

  .section-title {
    font-size: 22px;
    line-height: 24px;
  }

  .products .section-title { margin-bottom: 24px; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card { padding: 64px 6px; gap: 24px; }
  .product-card .product-icon { width: 96px; height: 96px; }
  .product-card h3 { font-size: 22px; line-height: 24px; }
  .product-card p { font-size: 14px; line-height: 22px; }

  .about { padding: 32px 0 48px; }
  .about .about-inner { align-items: flex-start; gap: 32px; }

  .team-grid {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    align-items: center;
  }

  .team-card {
    width: 335px;
    max-width: 100%;
    height: 335px;
  }

  .team-card img { width: 251px; height: 251px; }

  .team-card p {
    left: 42px;
    top: 281px;
    width: 251px;
    font-size: 16px;
    line-height: 24px;
  }

  .contact {
    height: auto;
    padding: 48px 0 0;
  }

  .contact-deco, .contact-ellipse { position: static; transform: none; }

  .contact-body {
    position: static;
    align-items: flex-start;
    gap: 16px;
    padding: 0 20px;
  }

  .contact-body .section-title { text-align: left; }

  .contact-body p {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
  }

  .contact-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
  }

  .contact-ellipse { width: 48px; height: 48px; }

  .contact-email {
    position: static;
    font-size: 16px;
    line-height: 24px;
  }

  .contact-deco {
    width: calc(100vw - 40px);
    height: auto;
    margin: 40px auto 0;
  }

  .contact-deco-wrap {
    display: flex;
    justify-content: center;
  }

  .site-footer .footer-inner { padding: 24px 20px; }
}

@media (min-width: 769px) {
  .contact-extra { display: contents; }
  .contact-deco-wrap { display: contents; }
}
