:root {
  color-scheme: light;
  --landing-ink: #233748;
  --landing-muted: #4d6070;
  --landing-warm: #a08c77;
  --landing-blue: #31566b;
  --landing-cream: #fffaf5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing-page {
  margin: 0;
  background: #fffdfb;
  color: var(--landing-ink);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.landing-page a { color: inherit; text-decoration: none; }
.landing-page a:focus-visible { outline: 2px solid var(--landing-blue); outline-offset: 5px; }
.landing-page svg { display: block; }
.landing-page section { scroll-margin-top: 24px; }

.site-header {
  height: 64px;
  max-width: 1440px;
  margin: auto;
  padding: 0 clamp(32px, 4.7vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 39px; height: 39px; display: block; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: "Montserrat", "DM Sans", "Segoe UI", sans-serif;
  line-height: 1.05;
  color: #1e306e;
}
.brand-name-primary {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.brand-name-secondary {
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(22px, 3vw, 44px); font-size: 12px; }
.main-nav a, .login-link, .footer-links a { transition: color .2s ease; }
.main-nav a:hover, .login-link:hover, .footer-links a:hover { color: #7f9aa8; }
.header-actions { gap: 28px; font-size: 12px; }
.button {
  min-width: 153px;
  height: 47px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--landing-blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s ease, transform .2s ease;
}
.button:hover { background: #24465a; transform: translateY(-2px); }
.button-small { min-width: 107px; height: 37px; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; }
.text-link:hover .link-arrow { transform: translateX(5px); }
.link-arrow { width: 19px; height: 19px; stroke-width: 1.5; transition: transform .2s ease; }
.eyebrow { margin: 0; color: #746758; font-size: 12px; font-weight: 600; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }

.hero {
  position: relative;
  max-width: 1440px;
  min-height: 533px;
  margin: auto;
  background: var(--landing-cream);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; width: 50%; padding: 55px 0 52px clamp(32px, 4.7vw, 72px); }
.hero h1 { max-width: 520px; margin: 18px 0 19px; font-size: clamp(42px, 4.8vw, 67px); font-weight: 500; line-height: 1.07; letter-spacing: -.055em; }
.hero h1 span { color: #536572; font-weight: 400; }
.hero-description { max-width: 405px; margin: 0; color: #354b5c; font-size: 16px; line-height: 1.48; }
.hero-actions, .cta-actions { display: flex; align-items: center; gap: 33px; margin-top: 30px; }
.hero-visual { position: absolute; inset: 0 0 0 47.4%; }
.hero-image-shape { height: 475px; overflow: hidden; border-radius: 44% 0 48% 38% / 58% 0 54% 34%; background: #e7dfd5; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.handwritten { color: #536a77; font-family: "Caveat", "Segoe Print", cursive; font-weight: 400; line-height: .94; }
.hero-note { position: absolute; right: 4.7%; bottom: 88px; margin: 0; font-size: 23px; transform: rotate(-10deg); }
.hero-note::after, .cta-note::after { content: ""; display: block; width: 58px; margin: 10px 0 0 32px; border-top: 1px solid #a29280; transform: rotate(-9deg); }

.features { max-width: 1440px; margin: auto; padding: 39px clamp(32px, 3.4vw, 56px) 49px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.feature { text-align: center; }
.feature-icon { width: 34px; height: 34px; margin: 0 auto 14px; color: #a08b76; }
.feature-icon svg { width: 100%; height: 100%; stroke-width: 1.55; }
.feature h2 { margin: 0 0 7px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.feature p { max-width: 155px; margin: auto; color: var(--landing-muted); font-size: 14px; line-height: 1.45; }

.intro { max-width: 760px; margin: auto; padding: 25px 24px 49px; text-align: center; }
.intro h2 { margin: 19px 0 12px; font-size: clamp(30px, 3.5vw, 42px); font-weight: 400; letter-spacing: -.045em; line-height: 1.14; }
.intro > p:last-child { max-width: 620px; margin: auto; color: var(--landing-muted); font-size: 16px; line-height: 1.45; }

.cta {
  position: relative;
  max-width: calc(1440px - 68px);
  min-height: 300px;
  margin: 0 auto 50px;
  border-radius: 15px;
  padding: 31px 44px;
  overflow: hidden;
  background: #f6f0e9;
}
.cta::before { content: ""; position: absolute; width: 450px; height: 300px; right: -90px; top: -92px; background: #fff9f3; border-radius: 30% 0 50% 50%; transform: rotate(-18deg); }
.cta::after { content: ""; position: absolute; width: 300px; height: 140px; right: 21%; bottom: -85px; border-radius: 50%; background: #ebe9e5; transform: rotate(-20deg); }
.cta-copy { position: relative; z-index: 1; width: 55%; }
.cta h2 { max-width: 470px; margin: 15px 0 14px; font-size: clamp(27px, 3vw, 38px); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
.cta-copy > p:not(.eyebrow) { max-width: 470px; margin: 0; color: var(--landing-muted); font-size: 16px; line-height: 1.45; }
.cta-actions { margin-top: 26px; }
.cta-botanical { position: absolute; z-index: 1; right: 24%; bottom: -29px; width: 185px; height: 250px; color: #a29282; }
.cta-note { position: absolute; z-index: 1; right: 4%; bottom: 45px; margin: 0; font-size: 23px; transform: rotate(-6deg); }

.contact { max-width: 700px; margin: auto; padding: 14px 24px 68px; text-align: center; }
.contact h2 { margin: 15px 0 11px; font-size: clamp(27px, 3vw, 38px); font-weight: 400; letter-spacing: -.04em; line-height: 1.16; }
.contact > p:not(.eyebrow) { color: var(--landing-muted); line-height: 1.5; }
.contact .button { margin-top: 13px; }

.site-footer { max-width: 1440px; margin: auto; padding: 11px clamp(32px, 4.7vw, 72px) 22px; }
.footer-top { display: flex; align-items: center; gap: 18px; }
.footer-tagline { margin: 0; padding-left: 17px; border-left: 1px solid #e3ddd5; color: var(--landing-muted); font-size: 13px; line-height: 1.2; white-space: pre-line; }
.footer-links { display: flex; gap: 24px; margin-left: auto; color: var(--landing-muted); font-size: 12px; }
.copyright { margin: 35px 0 0; color: #71808a; font-size: 12px; }

.login-page-shell { min-height: 100vh; padding: 24px clamp(24px, 5vw, 72px); background: var(--landing-cream); }
.login-card { max-width: 500px; margin: min(13vh, 110px) auto 0; padding: clamp(27px, 5vw, 48px); border-radius: 18px; background: #fffdfb; }
.login-card h1 { margin: 15px 0 10px; font-size: clamp(31px, 4vw, 42px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.login-card > p:not(.eyebrow, .login-error) { color: var(--landing-muted); line-height: 1.5; }
.login-error { margin: 22px 0 0; padding: 11px 13px; border-radius: 6px; background: #fdf0ec; color: #8d382b; font-size: 14px; }
.login-form { display: flex; flex-direction: column; gap: 12px; margin-top: 29px; }
.login-form label { font-size: 14px; font-weight: 600; }
.login-input-wrap { display: flex; align-items: center; min-height: 48px; border: 1px solid #cfc6bc; border-radius: 8px; background: #fff; overflow: hidden; }
.login-input-wrap:focus-within { outline: 2px solid var(--landing-blue); outline-offset: 2px; }
.login-input-wrap input { width: 100%; min-width: 0; padding: 11px 14px; border: 0; outline: 0; color: var(--landing-ink); font: inherit; }
.login-input-wrap span { flex: 0 0 auto; padding-right: 14px; color: var(--landing-muted); font-size: 14px; }
.login-form .button { width: 100%; margin-top: 9px; border: 0; cursor: pointer; font-family: inherit; }
.login-back { display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; margin: 24px auto; font-size: 14px; }

@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .header-actions { gap: 14px; }
  .hero-copy { width: 55%; }
  .hero-visual { left: 50%; }
  .hero h1 { font-size: clamp(38px, 5vw, 49px); }
  .hero-note { bottom: 75px; font-size: 20px; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .cta { margin-left: 24px; margin-right: 24px; }
  .cta-botanical { right: 17%; opacity: .65; }
  .cta-note { right: 3%; }
}
@media (max-width: 680px) {
  .site-header { height: auto; min-height: 72px; padding: 12px 22px; flex-wrap: wrap; gap: 10px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-name { font-size: 16px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; padding: 8px 0 4px; }
  .header-actions .login-link { display: none; }
  .button-small { min-width: 98px; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { width: 100%; padding: 37px 24px 35px; }
  .hero h1 { max-width: 550px; font-size: clamp(40px, 9vw, 55px); }
  .hero-description { max-width: 500px; }
  .hero-actions { gap: 24px; }
  .hero-visual { position: relative; inset: auto; height: 390px; margin-left: 18px; }
  .hero-image-shape { height: 340px; border-radius: 42% 0 43% 28% / 56% 0 54% 32%; }
  .hero-note { bottom: 13px; right: 8%; color: var(--landing-ink); }
  .features { padding: 43px 24px 37px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .intro { padding: 26px 24px 44px; }
  .cta { margin: 0 16px 44px; min-height: 425px; padding: 28px 25px; }
  .cta-copy { width: 100%; }
  .cta h2 { max-width: 480px; }
  .cta-botanical { right: 26%; bottom: -74px; width: 160px; }
  .cta-note { right: 5%; bottom: 31px; font-size: 21px; }
  .contact { padding-bottom: 47px; }
  .site-footer { padding: 0 24px 22px; }
  .footer-top { flex-wrap: wrap; }
  .footer-links { width: 100%; margin: 12px 0 0; }
  .copyright { margin-top: 27px; }
}
@media (max-width: 370px) {
  .hero-actions, .cta-actions { gap: 15px; }
  .hero-actions .button, .cta-actions .button { min-width: 130px; }
  .text-link { font-size: 14px; }
  .cta-note { max-width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing-page a, .link-arrow { transition: none; }
}
