/* Estimate builder */
.est-page .menu a[aria-current="page"]::after { transform: scaleX(1); }
.est { padding: 0 var(--pad); }
.est-hero { position: relative; padding: clamp(130px, 18vw, 200px) 0 clamp(40px, 6vw, 70px); isolation: isolate; }
.est-glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -30vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(227,168,87,.42), rgba(217,101,59,.2) 42%, transparent 68%); filter: blur(40px); animation: breathe 14s ease-in-out infinite alternate; }
.est-title { font-weight: 300; font-size: clamp(52px, 9vw, 150px); line-height: .92; letter-spacing: -0.055em; margin: 0 0 22px; text-wrap: balance; }
.est-title em { color: var(--ochre); }
.est-lede { max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(241,235,224,.78); margin: 0; text-wrap: pretty; }

.est-grid { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(24px, 4vw, 60px); align-items: start; padding-bottom: 120px; }
.est-step { padding: 34px 0; border-top: 1px solid var(--line); }
.est-step h2 { margin: 0 0 18px; font-weight: 400; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 14px; }
.est-step h2 span { font-family: var(--serif); font-style: italic; color: var(--ochre); font-size: .6em; }
.est-step h2 i { font-style: normal; color: var(--muted); font-size: .5em; letter-spacing: 0; }
.est-hint { color: var(--muted); margin: -6px 0 18px; font-size: 15px; }

/* Base cards */
.base-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.base { position: relative; text-align: left; background: rgba(241,235,224,.03); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px 20px; cursor: pointer; font: inherit; transition: border-color .3s, background .3s, transform .4s var(--ease); display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.base:hover { border-color: rgba(227,168,87,.5); transform: translateY(-2px); }
.base.on { border-color: var(--ochre); background: linear-gradient(160deg, rgba(227,168,87,.16), rgba(217,101,59,.06)); }
.base svg { width: 30px; height: 30px; fill: none; stroke: var(--ochre); stroke-width: 1.5; margin-bottom: 8px; }
.base b { font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.base small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.base .from { margin-top: auto; padding-top: 10px; font-size: 14px; color: rgba(241,235,224,.85); }
.base .from em { color: var(--ochre); font-size: 1.15em; }
.base .tick { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.base.on .tick { background: var(--ochre); border-color: var(--ochre); }
.base.on .tick::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); }

/* Feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.feat { position: relative; text-align: left; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px; cursor: pointer; font: inherit; transition: border-color .25s, background .25s; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; }
.feat:hover { border-color: rgba(227,168,87,.45); }
.feat.on { border-color: var(--ochre); background: rgba(227,168,87,.09); }
.feat .t { font-weight: 500; letter-spacing: -0.01em; }
.feat .p { color: var(--ochre); font-size: 14px; white-space: nowrap; }
.feat .d { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.feat .chk { position: absolute; right: 14px; bottom: 14px; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.feat.on .chk { background: var(--ochre); border-color: var(--ochre); }
.feat.on .chk::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.feat .d { padding-right: 28px; }
.feat.included { cursor: default; opacity: .75; }
.feat.included .p { color: var(--muted); }
.stepper { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 17px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.stepper button:hover { border-color: var(--ochre); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.feat.qty { cursor: default; }
.feat.qty .chk { display: none; }

/* Total panel */
.est-total { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px; background: linear-gradient(170deg, rgba(241,235,224,.06), rgba(241,235,224,.015)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.est-range { margin: 0; font-weight: 300; font-size: clamp(30px, 2.6vw, 40px); white-space: nowrap; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .2em; }
.est-range i { font-style: normal; color: var(--muted); }
.est-range span { display: inline-block; transition: color .3s; }
.est-range.bump span { animation: bump .5s var(--ease); }
@keyframes bump { 40% { color: var(--ochre); transform: translateY(-3px); } }
.est-time { color: var(--muted); margin: 10px 0 18px; font-size: 14px; }
.est-sum { list-style: none; margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 14px; max-height: 300px; overflow-y: auto; }
.est-sum li { display: flex; justify-content: space-between; gap: 12px; color: rgba(241,235,224,.82); }
.est-sum li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-sum li.base-line { color: var(--ink); font-weight: 500; }
.est-monthly { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: rgba(227,168,87,.08); color: rgba(241,235,224,.85); font-size: 14px; }
.est-total .btn { width: 100%; justify-content: center; }
.est-reset { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.est-reset:hover { color: var(--ink); }
.est-fine { color: var(--muted); font-size: 13px; max-width: 640px; border-top: 1px solid var(--line); padding-top: 22px; margin: 0; }

/* Mobile bottom bar */
.est-bar { display: none; }
@media (max-width: 900px) {
  .est-grid { grid-template-columns: 1fr; }
  .est-total { position: static; }
  .est-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(22,20,17,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); transform: translateY(150%); transition: transform .5s var(--ease); }
  .est-bar.show { transform: none; }
  .est-bar small { display: block; color: var(--muted); font-size: 11px; }
  .est-bar b { font-weight: 500; font-variant-numeric: tabular-nums; }
  .est-bar .btn { padding: 12px 20px; }
}
.est-page .foot { padding-top: 0; }
.est-page .foot .foot-row { border-top: 0; }

/* Built to grow with you */
.grow { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 18px; padding: clamp(24px, 3.5vw, 40px); border-radius: 26px; border: 1px solid rgba(227,168,87,.55); background: linear-gradient(135deg, #2a1d12 0%, #1a1511 55%, #14110e 100%); box-shadow: 0 30px 80px -40px rgba(227,168,87,.45); }
.grow::before { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -15%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(227,168,87,.45), rgba(217,101,59,.18) 45%, transparent 70%); filter: blur(30px); animation: breathe 10s ease-in-out infinite alternate; }
.grow-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); }
.grow h3 { margin: 0 0 14px; font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance; }
.grow h3 em { color: var(--ochre); }
.grow-text > p:last-child { margin: 0; color: rgba(241,235,224,.78); line-height: 1.55; text-wrap: pretty; max-width: 420px; }
.grow-path { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 20px; }
.grow-path::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 34px; width: 2px; background: linear-gradient(var(--ochre), rgba(227,168,87,.15)); transform-origin: top; animation: growLine 1.6s var(--ease) both; }
.grow-path li { position: relative; padding-left: 38px; display: grid; gap: 1px; }
.grow-path i { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ochre); background: #1a1511; }
.grow-path li:nth-child(1) i { width: 12px; height: 12px; left: 2px; top: 4px; }
.grow-path li:nth-child(3) i { width: 22px; height: 22px; left: -3px; top: -1px; background: var(--ochre); box-shadow: 0 0 0 6px rgba(227,168,87,.15); }
.grow-path b { font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.grow-path span { color: var(--muted); font-size: 14px; }
@keyframes growLine { from { transform: scaleY(0); } }
@media (max-width: 760px) { .grow { grid-template-columns: 1fr; } }
.est-grow { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

/* Pricing FAQ */
.est-faq { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 9vw, 120px); border-top: 1px solid var(--line); max-width: 960px; }
.est-faq-title { font-weight: 300; font-size: clamp(36px, 5vw, 70px); line-height: 1; letter-spacing: -0.05em; margin: 0 0 30px; text-wrap: balance; }
.est-faq-title em { color: var(--ochre); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 28px; color: var(--ochre); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 24px; max-width: 720px; color: rgba(241,235,224,.78); line-height: 1.6; text-wrap: pretty; }

/* "Starting point" note in the total panel */
.est-note { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(227,168,87,.35); background: rgba(227,168,87,.07); }
.est-note b { display: block; font-weight: 500; font-size: 14.5px; color: var(--ochre); margin-bottom: 4px; }
.est-note p { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(241,235,224,.78); text-wrap: pretty; }

/* Bundle savings */
.bundle { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -4px 0 20px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(227,168,87,.35); background: linear-gradient(120deg, rgba(227,168,87,.12), rgba(217,101,59,.04)); }
.bundle b { font-weight: 400; font-size: 18px; letter-spacing: -0.02em; margin-right: auto; }
.bundle em { color: var(--ochre); }
.bundle span { font-size: 13.5px; padding: 5px 12px; border-radius: 99px; background: rgba(14,13,11,.5); border: 1px solid var(--line); color: var(--ochre); font-weight: 500; }
.bundle span i { font-style: normal; color: rgba(241,235,224,.75); font-weight: 400; margin-right: 4px; }
.est-sum li.save, .est-sum li.save span:last-child { color: #8fd19e; }
.est-next { margin: 0 0 16px; font-size: 13.5px; color: rgba(241,235,224,.8); text-wrap: pretty; }
.est-next b { color: var(--ochre); font-weight: 500; }
