:root {
  --paper: #f5f2e9;
  --ink: #183d35;
  --muted: #647169;
  --line: #d9ddd1;
  --amber: #e9a444;
  --white: #fffef8
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

button,input {
  font: inherit
}

button,a,input,summary {
  -webkit-tap-highlight-color: transparent
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 5px
}

.wrap {
  width: min(1240px,calc(100% - 96px));
  margin-inline: auto
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
  gap: 30px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 1.4px
}

.brand-bottom {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 5px
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: var(--muted)
}

.nav a:hover,.text-link:hover,.back-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px
}

.account-link {
  border: 1px solid #b6c1b5;
  border-radius: 5px;
  padding: 13px 17px;
  font-size: 13px;
  white-space: nowrap
}

.account-link span {
  margin-left: 18px
}

.account-link:hover {
  background: #e6eadf
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 55px;
  padding-top: 72px;
  padding-bottom: 68px
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.6;
  margin: 0 0 26px
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0
}

h1,h2,h3,p {
  overflow-wrap: break-word
}

h1 {
  font-size: clamp(46px,5.4vw,76px);
  line-height: 1.02;
  letter-spacing: -3.4px;
  font-weight: 500;
  margin: 0 0 29px
}

em {
  font-family: Georgia,'Times New Roman',serif;
  font-weight: 400
}

h1 em {
  color: #54725d
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 450px;
  margin: 0
}

.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 32px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 5px;
  padding: 17px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s,transform .15s
}

.button:hover {
  background: #285548;
  transform: translateY(-1px)
}

.text-link {
  font-size: 13px;
  white-space: nowrap
}

.text-link span {
  margin-left: 8px
}

.hero-footnote {
  margin-top: 30px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6
}

.drawing {
  position: relative;
  background: #edeedc;
  border: 1px solid #d7dccb;
  border-radius: 9px;
  overflow: hidden;
  transform: rotate(1deg)
}

.drawing-top,.drawing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 23px;
  font-size: 9px;
  letter-spacing: 1.3px;
  gap: 12px
}

.drawing-top {
  border-bottom: 1px solid #d7dccb
}

.drawing-bottom {
  border-top: 1px solid #d7dccb;
  font-size: 8px
}

.drawing-bottom span:first-child {
  display: flex;
  align-items: center;
  gap: 7px
}

.drawing-bottom i {
  width: 6px;
  height: 6px;
  background: #9db196;
  border-radius: 50%
}

.house {
  width: 100%;
  display: block;
  padding: 23px 10px 15px
}

.principles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 23px;
  font-size: 12px;
  color: var(--muted);
  gap: 24px
}

.principles span {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center
}

.principles span:before {
  content: '+';
  font-size: 17px;
  color: #82977c
}

.section {
  padding-top: 96px;
  padding-bottom: 96px
}

.approach {
  display: grid;
  grid-template-columns: .4fr 1.1fr .8fr;
  gap: 45px
}

.section-label {
  padding-top: 8px
}

h2 {
  font-weight: 500;
  font-size: clamp(32px,3.3vw,46px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 0 0 24px
}

.section-copy {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 450px;
  margin: 0
}

.approach-note {
  padding: 24px 0 0 30px;
  border-left: 1px solid var(--line);
  align-self: start
}

.note-mark {
  font-size: 35px;
  color: #8ba184
}

.approach-note p {
  font-size: 17px;
  line-height: 1.65;
  margin: 12px 0 25px
}

.small-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted)
}

.stages-section {
  background: #e9eddf;
  border-top: 1px solid #e0e4d5;
  border-bottom: 1px solid #e0e4d5
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 45px
}

.section-heading h2 {
  margin-bottom: 0
}

.section-heading>p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  max-width: 240px;
  margin: 0
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid #cbd4c4;
  border-radius: 7px;
  overflow: hidden
}

.stage {
  padding: 29px 25px 25px;
  border-right: 1px solid #cbd4c4;
  display: flex;
  flex-direction: column
}

.stage:last-child {
  border-right: 0
}

.stage-number {
  font-family: Georgia,serif;
  font-size: 34px;
  color: #8da187;
  font-style: italic;
  margin-bottom: 50px
}

.stage h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 14px
}

.stage p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 30px
}

.stage-tag {
  font-size: 9px;
  border-top: 1px solid #cbd4c4;
  padding-top: 16px;
  margin-top: auto;
  letter-spacing: .3px
}

.notes {
  display: grid;
  grid-template-columns: .8fr 1.25fr;
  gap: 100px
}

.notes-list {
  padding-top: 15px
}

.notes-list details {
  border-bottom: 1px solid var(--line)
}

.notes-list details:first-child {
  border-top: 1px solid var(--line)
}

.notes-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  line-height: 1.5;
  padding: 25px 0
}

.notes-list summary::-webkit-details-marker {
  display: none
}

.notes-list summary>span {
  font-size: 10px;
  color: #87947f
}

.notes-list summary>b {
  margin-left: auto;
  font-size: 24px;
  font-weight: 400;
  flex-shrink: 0
}

.notes-list details[open] summary>b {
  transform: rotate(45deg)
}

.notes-list details>p {
  padding: 0 34px 24px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9
}

.cabinet-band {
  padding: 45px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden
}

.cabinet-band:after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #426055;
  transform: rotate(35deg);
  right: 210px;
  top: -110px;
  pointer-events: none
}

.cabinet-band .eyebrow {
  color: #c4cfbe;
  margin-bottom: 18px
}

.cabinet-band h2 {
  font-size: 38px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1
}

.cabinet-band p:last-child {
  color: #c4cfbe;
  font-size: 13px;
  line-height: 1.8;
  margin: 0
}

.button-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  flex-shrink: 0;
  position: relative;
  z-index: 1
}

.button-light:hover {
  background: #e1e8d6
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 120px;
  font-size: 10px;
  color: var(--muted)
}

.footer-name {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600
}

.footer>p {
  margin: 0;
  line-height: 1.7
}

.footer>span:last-child {
  font-size: 9px
}

.back-link {
  font-size: 13px;
  color: var(--muted)
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 110px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
  flex: 1
}

.login-intro h1 {
  font-size: clamp(48px,5.2vw,72px)
}

.login-intro .lead {
  max-width: 360px;
  font-size: 15px
}

.plan-lines {
  color: #94a28a;
  max-width: 390px;
  margin-top: 38px
}

.plan-lines svg {
  display: block;
  width: 100%
}

.plan-lines span {
  font-size: 8px;
  letter-spacing: 1.9px
}

.login-card {
  padding: 43px 40px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 60px #183d3509
}

.login-icon {
  display: grid;
  place-items: center;
  background: #e9eddf;
  border-radius: 7px;
  width: 42px;
  height: 42px;
  font-size: 23px;
  margin-bottom: 30px
}

.login-card .eyebrow {
  font-size: 8px;
  margin-bottom: 12px
}

.login-card h2 {
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: -1.2px
}

.login-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 32px
}

.login-fields {
  display: flex;
  flex-direction: column
}

.login-fields label {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 9px
}

.login-fields>input,.password-field {
  margin-bottom: 22px
}

.login-fields input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d7ddd0;
  border-radius: 5px;
  background: #fafbf5;
  height: 48px;
  padding: 0 13px;
  color: var(--ink);
  font-size: 13px
}

.login-fields input::placeholder {
  color: #90978d
}

.password-field {
  position: relative
}

.password-field input {
  padding-right: 84px
}

.password-field button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  position: absolute;
  right: 9px;
  top: 9px;
  height: 30px;
  padding: 0 6px;
  cursor: pointer
}

.login-submit {
  width: 100%;
  margin-top: 2px
}

.login-status {
  font-size: 11px;
  line-height: 1.7;
  background: #f0f2e8;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 5px;
  margin: 20px 0
}

.login-status.is-active {
  background: #f7edda;
  color: #795818
}

.login-home {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px
}

.login-home:hover {
  text-decoration: underline;
  text-underline-offset: 3px
}

.login-page .footer {
  border-top: 1px solid var(--line);
  min-height: 80px
}

@media(min-width:1450px) {
  .hero {
    gap: 85px
  }
  .hero-copy h1 {
    font-size: 80px
  }
  .hero {
    padding-block: 90px
  }
}

@media(max-width:1000px) {
  .wrap {
    width: calc(100% - 56px)
  }
  .nav {
    gap: 18px
  }
  .hero {
    gap: 30px;
    padding-block: 50px
  }
  h1 {
    letter-spacing: -2.5px
  }
  .hero-actions {
    gap: 18px
  }
  .button {
    gap: 20px;
    padding: 16px 18px
  }
  .approach {
    grid-template-columns: 1.2fr .85fr;
    gap: 35px
  }
  .section-label {
    grid-column: 1/-1;
    margin-bottom: 0
  }
  .section {
    padding-block: 65px
  }
  .stage {
    padding: 24px 18px
  }
  .stage h3 {
    font-size: 15px
  }
  .stage-number {
    margin-bottom: 32px
  }
  .notes {
    gap: 50px
  }
  .login-layout {
    gap: 50px
  }
  .login-card {
    padding: 32px 28px
  }
  .drawing-top,.drawing-bottom {
    padding: 16px;
    font-size: 7px
  }
}

@media(max-width:720px) {
  .wrap {
    width: calc(100% - 36px)
  }
  .header {
    min-height: 89px;
    gap: 15px;
    flex-wrap: wrap;
    padding-block: 20px
  }
  .brand {
    font-size: 16px
  }
  .brand img {
    width: 34px;
    height: 34px
  }
  .brand-bottom {
    font-size: 8px
  }
  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 7px
  }
  .account-link {
    font-size: 10px;
    padding: 11px
  }
  .account-link span {
    margin-left: 7px
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 42px
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 22px
  }
  h1 {
    font-size: 58px;
    letter-spacing: -2.6px;
    margin-bottom: 24px
  }
  .lead {
    font-size: 14px;
    line-height: 1.8
  }
  .hero-actions {
    margin-top: 27px;
    gap: 22px;
    flex-wrap: wrap
  }
  .hero-footnote {
    margin-top: 22px
  }
  .drawing {
    max-width: 510px;
    width: 100%;
    margin-inline: auto;
    transform: rotate(.5deg)
  }
  .drawing-top,.drawing-bottom {
    font-size: 8px;
    padding: 17px
  }
  .house {
    padding: 8px 15px
  }
  .principles {
    grid-template-columns: 1fr;
    font-size: 11px;
    gap: 15px;
    padding-block: 22px
  }
  .principles span {
    justify-content: flex-start
  }
  .section {
    padding-block: 52px
  }
  .approach {
    grid-template-columns: 1fr;
    gap: 24px
  }
  .section-label {
    margin-bottom: 0
  }
  h2 {
    font-size: 35px;
    letter-spacing: -1.4px;
    margin-bottom: 20px
  }
  .section-copy {
    font-size: 13px
  }
  .approach-note {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0
  }
  .approach-note p {
    font-size: 16px;
    max-width: 420px
  }
  .section-heading {
    display: block;
    margin-bottom: 28px
  }
  .section-heading>p {
    max-width: 320px;
    margin-top: 20px
  }
  .stage-grid {
    grid-template-columns: 1fr 1fr
  }
  .stage {
    padding: 22px 19px;
    min-width: 0
  }
  .stage:nth-child(2) {
    border-right: 0
  }
  .stage:nth-child(-n+2) {
    border-bottom: 1px solid #cbd4c4
  }
  .stage-number {
    font-size: 30px;
    margin-bottom: 25px
  }
  .stage p {
    font-size: 11px;
    margin-bottom: 23px
  }
  .stage h3 {
    font-size: 15px
  }
  .stage-tag {
    font-size: 8px
  }
  .notes {
    grid-template-columns: 1fr;
    gap: 24px
  }
  .notes-list {
    padding-top: 0
  }
  .notes-list summary {
    font-size: 13px;
    gap: 12px;
    padding-block: 21px
  }
  .notes-list details>p {
    padding-left: 25px;
    padding-right: 18px;
    font-size: 12px
  }
  .cabinet-band {
    padding: 33px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px
  }
  .cabinet-band h2 {
    font-size: 33px
  }
  .cabinet-band:after {
    right: -150px;
    top: 40px
  }
  .footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
    padding-block: 28px;
    min-height: 0
  }
  .footer>p {
    flex-basis: 100%;
    order: 3
  }
  .footer>span:last-child {
    margin-left: auto
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 40px
  }
  .login-intro h1 {
    font-size: 50px
  }
  .login-intro .lead {
    max-width: 400px;
    font-size: 14px
  }
  .plan-lines {
    display: none
  }
  .login-card {
    padding: 30px 25px
  }
  .login-card h2 {
    font-size: 30px
  }
  .login-icon {
    margin-bottom: 25px
  }
  .back-link {
    font-size: 11px
  }
  .login-page .footer>p {
    flex-basis: auto;
    margin-left: auto;
    order: 0
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  .button {
    transition: none
  }
  .button:hover {
    transform: none
  }
}
