.craft-shell {
  --craft-green: #254638;
  --craft-deep: #19382b;
  --craft-cream: #f8f7f2;
  --craft-border: #e5e4db;
  background: var(--craft-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.craft-shell .workspace, .craft-header-inner, .craft-footer > div {
  width: min(calc(100% - 76px), 1240px);
  margin-inline: auto;
}

.craft-shell .workspace { max-width: none; padding: 29px 0 72px; flex: 1; }
.craft-header { background: #fffdf8; border-bottom: 1px solid var(--craft-border); }
.craft-header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.craft-header .brand { margin: 0; align-self: center; gap: 11px; }
.craft-header .brand-text strong { font-size: 1.27rem; letter-spacing: -.035em; }
.craft-header .brand img { width: 44px; height: 44px; box-shadow: none; }
.craft-navigation { display: flex; align-items: center; gap: 30px; }
.craft-navigation a { display: flex; align-items: center; min-height: 48px; color: #405348; font-size: 1rem; font-weight: 660; white-space: nowrap; }
.craft-navigation a:not(.button):hover, .craft-navigation a[aria-current] { color: #903d27; }
.craft-navigation .craft-header-apply { min-width: 126px; }

.craft-hero { position: relative; isolation: isolate; display: flex; align-items: stretch; min-height: 400px; overflow: hidden; border: 1px solid #e9e1d2; border-radius: 20px; background: #f5eddd; }
.craft-hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 76%; height: 100%; object-fit: cover; object-position: 68% 53%; }
.craft-hero::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, #f5eddd 0%, #f5eddd 24%, #f5edddf5 34%, #f5edddcf 44%, #f5eddd30 62%, transparent 74%); }
.craft-hero-copy { width: min(100%, 610px); padding: 49px 52px 44px; }
.craft-eyebrow { display: flex; gap: 8px; align-items: center; color: #8e492e; font-size: .88rem; font-weight: 730; letter-spacing: .035em; }
.craft-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: #ac5137; }
.craft-hero h1 { margin-top: 13px; font-size: clamp(2.85rem, 6.2vw, 5rem); color: #203a2d; line-height: 1.04; letter-spacing: -.085em; font-weight: 800; }
.craft-hero-lead { max-width: 23em; margin-top: 21px; font-size: 1.15rem; line-height: 1.66; color: #34483b; }
.craft-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 25px; }
.craft-button-main.button { border-color: transparent; background: var(--craft-green, #254638); color: #fffaf1; padding: 10px 22px; min-height: 52px; font-size: 1rem; font-weight: 730; }
.craft-button-main.button:hover:not(:disabled) { background: var(--craft-deep, #19382b); }
.craft-inline-link { display: inline-flex; align-items: center; min-height: 48px; color: #374b40; font-size: 1rem; font-weight: 680; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #7d877b; }
.craft-inline-link:hover { color: #8c412b; }
.craft-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 15px 0 0; background: #fffdf8; border: 1px solid var(--craft-border); border-radius: 12px; }
.craft-benefits li { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 13px 14px; min-height: 60px; color: #344c3e; font-weight: 650; font-size: 1rem; word-break: keep-all; }
.craft-benefits li + li { border-left: 1px solid var(--craft-border); }
.craft-benefits li svg { color: #4b6c57; }

.craft-catalog, .craft-guide { margin-top: 43px; scroll-margin-top: 21px; }
.craft-application-guide { margin-top: 33px; padding: 24px 26px; border: 1px solid #dce3d7; border-radius: 15px; color: #254638; background: #edf1e8; scroll-margin-top: 21px; }
.craft-application-guide h2 { font-size: 1.53rem; letter-spacing: -.035em; line-height: 1.23; }
.craft-application-guide ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 17px 0 0; padding: 0; list-style: none; }
.craft-application-guide li { display: flex; align-items: start; gap: 11px; background: #fffdf8; border: 1px solid #dce4d8; padding: 15px 13px; border-radius: 10px; }
.application-step-icon { display: grid; place-items: center; flex: none; border-radius: 8px; width: 36px; height: 36px; color: #42664f; background: #e8efe5; }
.craft-application-guide h3 { font-size: 1.02rem; line-height: 1.36; }
.craft-application-guide h3 span { color: #964a31; }
.craft-application-guide p { margin-top: 5px; font-size: .98rem; line-height: 1.55; color: #42564a; }
.craft-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 15px 22px; margin-bottom: 21px; }
.craft-section-head h2 { font-size: clamp(1.72rem, 3.5vw, 2.36rem); color: var(--craft-deep); letter-spacing: -.065em; line-height: 1.19; }
.craft-section-head p { color: #4d5c52; margin-top: 8px; font-size: 1.05rem; }
.craft-first-application-notice { display: flex; gap: 12px; align-items: start; margin: 0 0 19px; padding: 15px; background: #f9ecdd; border: 1px solid #dfb998; border-radius: 10px; color: #653724; }
.craft-first-application-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; background: #efdbc6; border-radius: 8px; color: #75422b; }
.craft-first-application-notice strong { display: block; font-size: 1.15rem; line-height: 1.4; }
.craft-first-application-notice p { margin-top: 4px; font-size: 1rem; line-height: 1.55; }
.craft-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; align-items: center; width: min(100%, 670px); margin: 0 0 20px; padding: 5px; list-style: none; border: 1px solid #e2e7dc; border-radius: 12px; background: #f0f2ea; }
.craft-flow li { min-width: 0; }
.craft-flow li a, .craft-step-label { display: flex; min-height: 48px; gap: 8px; align-items: center; justify-content: center; padding: 5px 7px; border-radius: 8px; color: #405346; font-size: .97rem; font-weight: 650; text-align: center; word-break: keep-all; }
.craft-flow li a:hover { color: #244533; background: #e5eae0; }
.craft-flow li[aria-current='step'] .craft-step-label { background: #fffdf8; color: #254638; box-shadow: 0 1px 3px #1e3d2811; }
.craft-step-number { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e4e9df; color: #486051; font-size: .75rem; }
.craft-flow li[aria-current='step'] .craft-step-number { background: #254638; color: #fffdf6; }
.craft-filters { display: flex; gap: 6px; flex: 0 0 auto; }
.craft-filters button { padding: 6px 15px; min-height: 48px; border: 1px solid #dce1d6; border-radius: 25px; background: #fffdf8; color: #43554a; font-size: .98rem; font-weight: 650; white-space: nowrap; }
.craft-filters button:hover { border-color: #889e8d; }
.craft-filters button[aria-pressed='true'] { border-color: var(--craft-green); background: var(--craft-green); color: #fffdfa; }
.craft-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.craft-product-card { display: flex; min-width: 0; overflow: hidden; border: 1px solid #e3e1d7; border-radius: 13px; background: #fffdf8; box-shadow: 0 2px 5px #20291c07; transition: border-color .18s, box-shadow .18s; }
.craft-product-card:hover { border-color: #a6b1a0; box-shadow: 0 6px 18px #263b2420; }
.craft-product-link { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.craft-product-link:focus-visible { outline-offset: -3px; }
.craft-product-visual { position: relative; background-color: #eae6db; overflow: hidden; min-width: 0; }
.craft-product-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.craft-photo-caption { position: absolute; left: 11px; bottom: 11px; padding: 4px 7px; border-radius: 5px; color: #344b3e; background: #fffdf6; font-size: .73rem; }
.craft-product-card .craft-product-visual { aspect-ratio: 1.5; }
.craft-product-card img { transition: transform .24s ease; }
.craft-product-card:hover img { transform: scale(1.045); }
.craft-product-content { display: flex; flex: 1; flex-direction: column; padding: 16px 17px 14px; }
.craft-card-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 9px; }
.craft-category { color: #8c4931; font-size: .9rem; font-weight: 720; }
.craft-level { padding: 3px 8px; border-radius: 20px; color: #3a5644; background: #ebf0e8; font-size: .88rem; font-weight: 690; white-space: nowrap; }
.craft-level-medium { color: #78532f; background: #f5eddf; }
.craft-product-content h3 { margin-top: 6px; color: #263d31; font-size: 1.33rem; letter-spacing: -.045em; line-height: 1.22; }
.craft-product-content p { margin-top: 9px; margin-bottom: 14px; color: #4b5a50; font-size: 1rem; line-height: 1.58; }
.craft-product-bottom { display: flex; justify-content: space-between; align-items: end; gap: 4px 9px; margin-top: auto; flex-wrap: wrap; }
.craft-product-bottom div { display: flex; flex-direction: column; gap: 1px; }
.craft-product-bottom small { color: #4b5a50; font-size: .88rem; }
.craft-product-bottom strong { color: #224432; font-size: 1.31rem; letter-spacing: -.024em; }
.craft-product-bottom > span { color: #465a4c; font-size: .92rem; white-space: nowrap; padding-bottom: 3px; }
.craft-card-action { display: flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 8px; color: #294b39; background: #e9efe8; border: 1px solid #dce5d9; border-radius: 8px; padding: 6px 10px; margin-top: 13px; font-weight: 730; font-size: .99rem; }
.craft-product-card:hover .craft-card-action { color: #fffdf8; background: #254638; border-color: #254638; }

.craft-guide { padding: 27px 30px 30px; background: #eff1e8; border: 1px solid #e1e7da; border-radius: 15px; }
.craft-guide-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 9px 14px; }
.craft-guide-row { border: 1px solid #dfe4d9; border-radius: 9px; background: #fffefa; }
.craft-guide-row summary { display: flex; align-items: center; min-height: 55px; padding: 8px 12px; gap: 10px; list-style: none; color: #314b3b; cursor: pointer; font-size: 1rem; }
.craft-guide-row summary::-webkit-details-marker { display: none; }
.craft-guide-row summary > strong { flex: 1; }
.craft-guide-row summary > svg { transition: transform .18s; }
.craft-guide-row[open] summary > svg { transform: rotate(180deg); }
.craft-guide-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: #edf1e8; color: #466b53; }
.craft-guide-row p { padding: 0 13px 14px 50px; color: #46594c; font-size: 1rem; line-height: 1.63; }

.craft-footer { border-top: 1px solid var(--craft-border); background: #f0efe7; }
.craft-footer > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 70px; padding-block: 8px; gap: 4px 24px; }
.craft-footer strong { color: #2e4938; font-size: .97rem; }
.craft-footer nav { display: flex; flex-wrap: wrap; gap: 3px 19px; }
.craft-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: #516056; font-size: .8rem; }
.craft-footer nav a:hover { text-decoration: underline; }

.craft-back { display: inline-flex; align-items: center; gap: 5px; min-height: 48px; margin-bottom: 12px; color: #485d50; font-weight: 670; font-size: 1rem; }
.craft-back:hover { color: #8c412b; }
.craft-detail-intro { display: grid; grid-template-columns: minmax(0, 43%) minmax(0, 1fr); min-height: 350px; overflow: hidden; border: 1px solid var(--craft-border); border-radius: 16px; background: #fffcf5; }
.craft-detail-intro > .craft-product-visual { min-height: 320px; max-height: 410px; }
.craft-detail-intro > .craft-product-visual img { object-position: center 48%; }
.craft-detail-intro-copy { align-self: center; padding: 28px 38px; min-width: 0; }
.craft-detail-intro-copy h1, .craft-apply-heading h1, .craft-missing h1 { color: var(--craft-deep); font-size: clamp(2.12rem, 5vw, 3.5rem); line-height: 1.13; letter-spacing: -.06em; margin: 5px 0 12px; }
.craft-detail-intro-copy h1 + p, .craft-apply-heading p, .craft-missing p { color: #485a4e; font-size: 1.09rem; line-height: 1.65; }
.craft-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0; padding: 13px 0; gap: 8px; border-block: 1px solid var(--craft-border); }
.craft-stats dt { color: #4b5e51; font-size: .94rem; word-break: keep-all; }
.craft-stats dd { margin: 3px 0 0; color: #234935; font-size: clamp(1rem, 2.4vw, 1.32rem); font-weight: 750; }
.craft-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 35%); align-items: start; gap: 17px; margin-top: 19px; }
#work-terms { scroll-margin-top: 16px; }
.craft-detail-main { display: grid; gap: 16px; }
.craft-detail-panel { padding: 21px 24px; background: #fffdf8; border: 1px solid var(--craft-border); border-radius: 13px; }
.craft-detail-panel h2 { color: #253e30; font-size: 1.31rem; font-weight: 750; }
.craft-detail-panel p { color: #46594d; font-size: 1.06rem; line-height: 1.65; margin-top: 8px; }
.craft-difficulty h2 span { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 5px; background: #e9efe7; color: #42614c; font-size: .8rem; vertical-align: 2px; }
.craft-steps { counter-reset: work-step; list-style: none; margin: 8px 0 0; padding: 0; color: #405446; font-size: 1.05rem; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.craft-steps li { counter-increment: work-step; display: grid; grid-template-columns: 29px minmax(0,1fr); column-gap: 11px; align-items: start; padding: 12px 0; }
.craft-steps li + li { border-top: 1px solid #ebede5; }
.craft-steps li::before { content: counter(work-step); display: grid; place-items: center; height: 27px; color: #325d43; background: #edf1e7; border-radius: 7px; font-weight: 730; }
.craft-payout { background: #eef2e9; border-color: #e0e7da; }
.craft-quote { margin: 16px 0; padding: 0; }
.craft-quote > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #dce3d7; padding: 9px 0; }
.craft-quote dt { color: #3e5245; font-size: .99rem; }
.craft-quote dt small { display: block; color: #465a4d; font-size: .9rem; }
.craft-quote dd { color: #244a35; font-size: 1.09rem; font-weight: 750; margin: 0; white-space: nowrap; }
.craft-quote > div:last-child dd { color: #8f422b; font-size: 1.27rem; }
.craft-detail-panel .craft-payout-note { color: #465a4d; font-size: .96rem; }
.craft-payout > .button { margin-top: 14px; }
.craft-application-cta.button { width: 100%; min-height: 56px; font-size: 1.1rem; }
.craft-detail-guide { margin-top: 22px; }
.craft-detail-guide .craft-section-head h2 { font-size: 1.5rem; }

.craft-apply-heading { margin: 0 0 20px; }
.craft-apply-heading h1 { font-size: clamp(2rem, 4vw, 3rem); }
.craft-apply-grid { margin-top: 0; }
.craft-apply-product { display: flex; gap: 11px; align-items: center; margin: 13px 0; }
.craft-apply-product .craft-product-visual { width: 52px; height: 52px; border-radius: 7px; flex: none; }
.craft-apply-product strong { color: #344e3e; }
.craft-apply-product p { margin: 1px 0 0; font-size: .96rem; }
.craft-form-panel .panel-heading h2 { font-size: 1.32rem; }
.craft-form-panel .required-note { font-size: .94rem; }
.craft-form-selection { display: flex; align-items: center; gap: 9px 13px; flex-wrap: wrap; background: #edf2e9; color: #344e3e; border: 1px solid #dce7da; border-radius: 9px; padding: 12px 14px; margin-bottom: 21px; }
.craft-form-selection span { font-size: .97rem; }
.craft-form-selection strong { font-size: 1.12rem; }
.craft-form-panel .field { display: grid; grid-template-rows: auto 1fr auto auto; gap: 6px; }
.craft-form-panel .field label { font-size: 1.08rem; font-weight: 750; }
.craft-form-panel .field label b { color: #9b452d; }
.craft-field-hint { color: #4b5d50; font-size: .97rem; font-weight: 450; line-height: 1.55; }
.craft-form-panel .field input, .craft-form-panel .field textarea { min-height: 54px; padding: 12px 13px; font-size: 1.07rem; border-color: #acb9ac; }
.craft-form-panel .field input[aria-invalid], .craft-form-panel .field textarea[aria-invalid] { border-color: #a5432b; background: #fff7f3; }
.craft-field-error { color: #93351f; font-size: .97rem; font-weight: 650; margin-top: 3px; }
.craft-quantity-estimate { color: #28543c; font-size: .97rem; font-weight: 700; margin-top: 4px; }
.craft-data-purpose { color: #45594c; font-size: .97rem; margin-top: 13px; }
.craft-confirmation { display: flex; align-items: center; gap: 12px; min-height: 57px; padding: 11px 12px; margin-top: 18px; border-radius: 8px; border: 1px solid #c9d7c8; background: #f0f4eb; color: #344b3d; font-size: 1rem; font-weight: 650; cursor: pointer; }
.craft-confirmation input { flex: none; width: 23px; height: 23px; margin: 2px; accent-color: #254638; }
.craft-confirmation b { color: #a44228; }
.craft-confirmation:has([aria-invalid]) { border-color: #a5432b; }
.craft-submit.button { min-width: 210px; min-height: 58px; font-size: 1.15rem; }
.craft-form-panel .form-error { font-size: 1rem; }
.craft-form-panel .form-error:focus { outline: 2px solid #93351f; outline-offset: 2px; }
.craft-quick-action { display: none; }
.craft-shell .receipt p { font-size: 1.04rem; }
.craft-shell .receipt h2 { font-size: 1.48rem; }
.craft-missing { padding: 20px 0 40px; }
.craft-missing .button { margin-top: 18px; }

@media (max-width: 1050px) {
  .craft-shell .workspace, .craft-header-inner, .craft-footer > div { width: calc(100% - 52px); }
  .craft-hero-copy { padding-inline: 40px; }
  .craft-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .craft-shell .workspace, .craft-header-inner, .craft-footer > div { width: calc(100% - 34px); }
  .craft-shell .workspace { padding-top: 17px; padding-bottom: 45px; }
  .craft-header-inner { min-height: 61px; gap: 10px; }
  .craft-navigation { gap: 13px; }
  .craft-navigation a { min-height: 48px; font-size: 1rem; }
  .craft-header .brand-text strong { font-size: 1.13rem; }
  .craft-header .brand img { width: 37px; height: 37px; }
  .craft-hero { min-height: 305px; }
  .craft-hero-copy { padding: 30px 23px 25px; }
  .craft-hero h1 { font-size: clamp(2.35rem, 7.8vw, 3.35rem); }
  .craft-hero-lead { max-width: 20em; font-size: 1.05rem; }
  .craft-hero-image { width: 91%; object-position: 62% 50%; }
  .craft-hero::after { background: linear-gradient(90deg, #f5eddd 0%, #f5edddf0 30%, #f5edddc9 49%, #f5eddd38 76%, transparent); }
  .craft-hero-actions { margin-top: 16px; }
  .craft-benefits li { gap: 6px; padding: 10px 7px; font-size: .95rem; }
  .craft-benefits li svg { width: 19px; height: 19px; }
  .craft-catalog, .craft-guide { margin-top: 33px; }
  .craft-section-head { flex-wrap: wrap; margin-bottom: 14px; }
  .craft-section-head p { font-size: 1rem; }
  .craft-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .craft-product-content { padding: 12px; }
  .craft-product-content h3 { font-size: 1.21rem; }
  .craft-guide { padding: 18px; }
  .craft-guide-rows { grid-template-columns: minmax(0, 1fr); }
  .craft-detail-intro { min-height: 0; }
  .craft-detail-intro > .craft-product-visual { min-height: 0; max-height: 370px; }
  .craft-detail-intro-copy { padding: 21px; }
  .craft-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .craft-shell .workspace-grid { margin-top: 16px; }
  .craft-quick-action { position: fixed; z-index: 4; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 9px 17px calc(9px + env(safe-area-inset-bottom)); background: #fffdf8; border-top: 1px solid #dce4d8; box-shadow: 0 -4px 18px #1c3b291b; }
  .craft-quick-action .button { width: min(100%, 420px); font-size: 1.09rem; }
  .craft-shell:has(.craft-quick-action) .craft-footer { margin-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 530px) {
  .craft-header-inner { flex-wrap: wrap; gap: 4px 12px; padding: 8px 0; }
  .craft-header .brand { gap: 8px; }
  .craft-navigation { width: 100%; justify-content: space-between; gap: 10px; }
  .craft-flow li a, .craft-step-label { gap: 5px; min-height: 48px; padding-inline: 3px; font-size: .87rem; }
  .craft-step-number { width: 20px; height: 20px; font-size: .73rem; }
  .craft-hero { min-height: 312px; }
  .craft-hero-image { width: 100%; object-position: 65% 42%; }
  .craft-hero::after { background: linear-gradient(90deg, #f5edddf7 0%, #f5edddf1 16%, #f5edddda 40%, #f5eddd94 67%, #f5eddd25); }
  .craft-hero-lead { max-width: 15em; margin-top: 14px; }
  .craft-benefits { grid-template-columns: minmax(0, 1fr); }
  .craft-benefits li { justify-content: start; min-height: 47px; padding-inline: 14px; }
  .craft-benefits li + li { border-inline: 0; border-top: 1px solid var(--craft-border); }
  .craft-application-guide { padding: 18px 15px; }
  .craft-application-guide ol { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .craft-filters { flex-wrap: wrap; }
  .craft-filters button { min-height: 48px; padding-inline: 12px; }
  .craft-product-grid { grid-template-columns: minmax(0, 1fr); }
  .craft-product-content { padding: 15px; }
  .craft-product-content p { margin-bottom: 9px; }
  .craft-product-bottom { column-gap: 5px; }
  .craft-product-bottom strong { font-size: 1.31rem; }
  .craft-detail-intro { grid-template-columns: minmax(0, 1fr); }
  .craft-detail-intro > .craft-product-visual { max-height: 250px; aspect-ratio: 1.36; }
  .craft-detail-panel { padding: 18px; }
  .craft-form-panel .form-grid { grid-template-columns: minmax(0, 1fr); }
  .craft-submit.button { width: 100%; }
}

@media (max-width: 375px) {
  .craft-flow li a, .craft-step-label { flex-direction: column; gap: 3px; min-height: 54px; }
}
