/* DIFFORMA V5.6 Phase 3C: internal pages and product catalogue only.
   Does not style the locked Phase 3A homepage, Phase 3B modal, or navigation. */
#page>.function-page{font-family:Inter,Aptos,'Segoe UI',system-ui,sans-serif;max-width:1460px;padding:56px clamp(18px,5vw,76px) 90px;color:#f4f4f4;background:transparent}
#page>.function-page .function-heading{padding-bottom:29px;margin-bottom:29px;border-bottom:1px solid #2e3033}
#page>.function-page .function-heading h1{color:#f8f5ed;font-size:clamp(31px,3.7vw,56px);letter-spacing:-.055em;line-height:1.08;font-weight:620;margin:0 0 13px}
#page>.function-page .function-heading p{font-size:clamp(13px,1.15vw,16px);color:#aeb6c1;max-width:790px;line-height:1.65}
#page>.function-page .function-card{border-radius:16px;background:linear-gradient(155deg,#11151a,#0b0e12 78%);border:1px solid #35383c;box-shadow:0 14px 45px #0002;padding:clamp(19px,2vw,28px)}
#page>.function-page a.function-card{transition:transform .22s,border-color .22s,box-shadow .22s}
#page>.function-page a.function-card:hover,#page>.function-page a.function-card:focus-visible{transform:translateY(-3px);border-color:#c39a5a;box-shadow:0 16px 45px #0006;outline:none}
#page>.function-page .function-card h2,#page>.function-page .function-card h3{color:#ecc480;font-weight:620;letter-spacing:-.035em}
#page>.function-page .function-card p{color:#abb3bf;line-height:1.7}
#page>.function-page .function-card input,#page>.function-page .function-card select,#page>.function-page .function-card textarea{background:#080b0f;border:1px solid #42474f;border-radius:10px;min-height:45px;color:#f5f5f5}
#page>.function-page .function-card :is(input,select,textarea):focus-visible{outline:2px solid #d9ad69;outline-offset:2px}
#page>.function-page .function-cards{gap:18px}
#page>.function-page .function-notice{background:#17130d;border-left-color:#d6a55d;border-radius:0 10px 10px 0}
#page>.p3c-page{max-width:1550px;padding-top:60px}
.p3c-page .p3c-eyebrow{font-size:11px;letter-spacing:.25em;font-weight:750;text-transform:uppercase;color:#d4aa6c;margin-bottom:22px}
.p3c-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;border-bottom:1px solid #292f37;padding-bottom:32px;margin-bottom:35px}
.p3c-heading h1,.p3c-detail-hero h1{font-size:clamp(42px,4.6vw,76px);letter-spacing:-.065em;font-weight:620;line-height:1.08;margin:0 0 16px;color:#f8f7f4}
.p3c-heading p,.p3c-detail-copy p{color:#b0b7bf;line-height:1.7;font-size:clamp(14px,1.15vw,17px);max-width:690px;margin:0}
.p3c-link-button{min-height:46px;display:inline-flex;gap:29px;align-items:center;justify-content:space-between;border:1px solid #80623d;background:#100f0d;border-radius:10px;padding:12px 18px;white-space:nowrap;font-size:13px;color:#edc582;font-weight:620;transition:transform .2s,border-color .2s,background .2s}
.p3c-link-button:hover,.p3c-link-button:focus-visible{border-color:#f2c785;background:#262018;transform:translateY(-2px);outline:none}
.p3c-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.p3c-product-tile{display:flex;flex-direction:column;min-height:310px;border:1px solid #343a41;background:linear-gradient(154deg,#15191f 0%,#0a0c10 65%);border-radius:16px;padding:27px;position:relative;overflow:hidden;color:#f6f6f6;transition:transform .22s,border-color .22s,box-shadow .22s}
.p3c-product-tile:before{content:'';position:absolute;right:-85px;top:-110px;width:250px;height:250px;border:1px solid #95734826;border-radius:50%;box-shadow:0 0 0 38px #95734808,0 0 0 76px #95734807;pointer-events:none}
.p3c-product-tile:hover,.p3c-product-tile:focus-visible{transform:translateY(-5px);border-color:#d3a761;box-shadow:0 24px 50px #0008;outline:none}
.p3c-product-top{display:flex;justify-content:space-between;align-items:center;color:#d8b57b}
.p3c-product-index{font-size:12px;letter-spacing:.13em}.p3c-tile-arrow{font-size:24px;transition:transform .2s}.p3c-product-tile:hover .p3c-tile-arrow{transform:translate(3px,-3px)}
.p3c-product-monogram{height:76px;width:76px;display:grid;place-items:center;border-radius:18px;border:1px solid #725732;background:linear-gradient(140deg,#2a241a,#0d0e10);font-size:27px;letter-spacing:-.06em;font-weight:540;color:#f2c988;margin:22px 0 25px}
.p3c-product-tile h2{font-size:clamp(20px,1.7vw,27px);margin:0 0 9px;font-weight:600;letter-spacing:-.04em;color:#fff}.p3c-product-tile h2 span,.p3c-detail-hero h1 span{color:#e9bc79}
.p3c-product-tile p{font-size:13px;line-height:1.7;color:#aab2bd;margin:0 0 25px;max-width:290px}
.p3c-card-link{margin-top:auto;display:inline-flex;align-items:center;gap:10px;font-size:12px;color:#d6ad70;font-weight:650}
.p3c-breadcrumb{display:flex;gap:12px;color:#89939e;font-size:12px;margin-bottom:32px}.p3c-breadcrumb a{color:#e2bb78}.p3c-breadcrumb a:hover{text-decoration:underline}
.p3c-detail-hero{display:grid;grid-template-columns:1.15fr .85fr;min-height:365px;border:1px solid #363431;border-radius:19px;background:radial-gradient(ellipse at 79% 50%,#282016,#0b0d10 58%);overflow:hidden}
.p3c-detail-copy{padding:clamp(27px,4vw,65px);display:flex;flex-direction:column;align-items:start;justify-content:center}
.p3c-detail-copy .p3c-eyebrow{margin-bottom:18px}.p3c-detail-copy h1{margin-bottom:20px}
.p3c-detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px}.p3c-link-primary{background:linear-gradient(120deg,#f5d595,#d4a05a);color:#16110a;border-color:#edc37d}
.p3c-detail-mark{position:relative;display:grid;place-items:center;border-left:1px solid #33312d;overflow:hidden;min-height:320px}
.p3c-detail-mark:before,.p3c-detail-mark:after{content:'';position:absolute;width:320px;height:320px;border:1px solid #b28a5350;border-radius:50%}.p3c-detail-mark:after{width:220px;height:220px;border-color:#b28a5340;box-shadow:0 0 0 49px #b28a5309,0 0 0 99px #b28a5305}
.p3c-detail-mark-inner{font-size:clamp(90px,10vw,160px);line-height:1;font-weight:500;letter-spacing:-.1em;color:#eac17f;text-shadow:0 3px 30px #d8a25435;z-index:1}
.p3c-detail-mark small{position:absolute;bottom:28px;right:30px;color:#b5a085;font-size:12px;letter-spacing:.2em}
.p3c-section-title{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:45px 0 20px;padding-bottom:18px;border-bottom:1px solid #33363c}
.p3c-section-title h2{margin:0;font-size:20px;font-weight:600;color:#f1f1f1}.p3c-section-title>span{font-size:12px;color:#b5bac2;text-align:right}.p3c-text-action{color:#efc582;font-size:13px}
.p3c-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.p3c-action-tile{display:block;position:relative;min-height:165px;padding:27px;border:1px solid #353940;border-radius:14px;background:#10141a;transition:transform .2s,border-color .2s;color:#fff}
.p3c-action-tile:hover,.p3c-action-tile:focus-visible{border-color:#cca060;transform:translateY(-3px);outline:none}
.p3c-action-tile h3{font-size:18px;font-weight:600;margin:0 22px 10px 0;color:#efc583}.p3c-action-tile p{font-size:13px;line-height:1.65;color:#a9b0bc;margin:0}.p3c-action-arrow{position:absolute;right:24px;top:23px;font-size:21px;color:#efc583}
.p3c-dashboard{margin-top:25px}.p3c-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.p3c-metric{display:flex;min-height:140px;flex-direction:column;justify-content:space-between;border-radius:15px;padding:23px;background:linear-gradient(135deg,#121922,#0b0e12);border:1px solid #383a3d}.p3c-metric span{color:#abb3bf;font-size:13px}.p3c-metric strong{font-size:clamp(24px,2.9vw,43px);color:#f3c880;font-weight:630;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.p3c-dashboard-columns{display:grid;grid-template-columns:1fr 1.45fr;gap:17px;margin-top:18px}.p3c-dashboard-panel{background:#101319;border:1px solid #32373e;border-radius:14px;padding:25px;min-width:0}.p3c-dashboard-panel h3{color:#f1f2f3;font-size:17px;font-weight:610;margin:0 0 20px}.p3c-data-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;padding:14px 0;border-bottom:1px solid #292e35}.p3c-data-row:last-child{border-bottom:none}.p3c-data-name{font-size:13px;color:#e5e6e8;overflow-wrap:anywhere}.p3c-data-row small{color:#a5acb5;line-height:1.5;overflow-wrap:anywhere}.p3c-ok{color:#8dce9e}.p3c-rejected{color:#f3a3a3}.p3c-empty{font-size:14px;color:#a6adb7}
@media(max-width:1050px){.p3c-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p3c-dashboard-columns{grid-template-columns:1fr}}
@media(max-width:730px){#page>.function-page{padding:30px 16px 66px}.p3c-heading{display:block}.p3c-heading .p3c-link-button{margin-top:22px}.p3c-product-grid,.p3c-action-grid,.p3c-metric-grid{grid-template-columns:1fr}.p3c-product-tile{min-height:265px}.p3c-detail-hero{grid-template-columns:1fr}.p3c-detail-mark{min-height:210px;border-left:0;border-top:1px solid #33312d}.p3c-detail-mark:before{width:190px;height:190px}.p3c-detail-mark:after{width:140px;height:140px}.p3c-detail-mark-inner{font-size:92px}.p3c-section-title{align-items:start;flex-direction:column}.p3c-section-title>span{text-align:left}.p3c-detail-copy{padding:28px}}
@media(prefers-reduced-motion:reduce){.p3c-page *{transition:none!important}}

/* Only the already-approved fourth image on the DIFFORMA Core detail page.
   Leave the five other product detail visuals and all existing UI untouched. */
.p3c-detail-mark.p3c-core-art::before,
.p3c-detail-mark.p3c-core-art::after{display:none}
.p3c-detail-mark.p3c-core-art{background:#050609}
.p3c-detail-mark.p3c-core-art .p3c-core-art-image{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  object-fit:cover;object-position:center center;
}
.p3c-detail-mark.p3c-core-art small{
  z-index:1;right:16px;bottom:15px;padding:5px 8px;
  background:rgba(5,6,9,.78);border-radius:5px;
}


/* Phase 3C - user-approved Option 3 for DIFFORMA Secure only.
   Same right-side position as the approved Core visual; other pages untouched. */
.p3c-detail-mark.p3c-secure-art::before,
.p3c-detail-mark.p3c-secure-art::after { display:none }
.p3c-detail-mark.p3c-secure-art { background:#050609 }
.p3c-detail-mark.p3c-secure-art .p3c-secure-art-image {
  position:absolute; inset:0; display:block; width:100%; height:100%;
  object-fit:cover; object-position:center center;
}
.p3c-detail-mark.p3c-secure-art small {
  z-index:1; right:16px; bottom:15px; padding:5px 8px;
  background:rgba(5,6,9,.78); border-radius:5px;
}

/* Phase 3C Gateway: user approved all four existing image options.
   One hero, three interactive gallery links; no other product page changes. */
.p3c-detail-mark.p3c-gateway-art::before,
.p3c-detail-mark.p3c-gateway-art::after{display:none}
.p3c-detail-mark.p3c-gateway-art{background:#050609}
.p3c-detail-mark.p3c-gateway-art .p3c-gateway-art-image{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  object-fit:cover;object-position:center center;
}
.p3c-detail-mark.p3c-gateway-art small{
  z-index:1;right:16px;bottom:15px;padding:5px 8px;
  background:rgba(5,6,9,.78);border-radius:5px;
}
.p3c-gateway-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px}
.p3c-gateway-gallery-item{display:block;position:relative;overflow:hidden;border-radius:13px;
  border:1px solid #34383c;background:#0b0d10;color:#edc583;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.p3c-gateway-gallery-item:hover,.p3c-gateway-gallery-item:focus-visible{transform:translateY(-3px);
  border-color:#d4ae75;box-shadow:0 14px 36px #0008;outline:none}
.p3c-gateway-gallery-item img{display:block;width:100%;height:175px;object-fit:cover;object-position:center}
.p3c-gateway-gallery-item>span{display:flex;justify-content:space-between;align-items:center;
  min-height:45px;padding:11px 15px;font-size:13px;font-weight:600;gap:10px}
@media(max-width:820px){.p3c-gateway-gallery{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.p3c-gateway-gallery{grid-template-columns:1fr}
  .p3c-gateway-gallery-item img{height:190px}}
@media(prefers-reduced-motion:reduce){.p3c-gateway-gallery-item{transition:none!important}}


/* Phase 3C DevKit: all four existing images approved. Main visual on the right,
   three clickable secondary images beneath. Do not modify other product layouts. */
.p3c-detail-mark.p3c-devkit-art::before,
.p3c-detail-mark.p3c-devkit-art::after { display:none }
.p3c-detail-mark.p3c-devkit-art { background:#050609 }
.p3c-detail-mark.p3c-devkit-art .p3c-devkit-art-image {
  position:absolute;inset:0;display:block;width:100%;height:100%;
  object-fit:cover;object-position:center center;
}
.p3c-detail-mark.p3c-devkit-art small {
  z-index:1;right:16px;bottom:15px;padding:5px 8px;
  background:rgba(5,6,9,.78);border-radius:5px;
}
.p3c-devkit-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px}
.p3c-devkit-gallery-item {display:block;position:relative;overflow:hidden;border-radius:13px;
  border:1px solid #34383c;background:#0b0d10;color:#edc583;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.p3c-devkit-gallery-item:hover,.p3c-devkit-gallery-item:focus-visible {transform:translateY(-3px);
  border-color:#d4ae75;box-shadow:0 14px 36px #0008;outline:none}
.p3c-devkit-gallery-item img {display:block;width:100%;height:175px;object-fit:cover;object-position:center}
.p3c-devkit-gallery-item>span {display:flex;justify-content:space-between;align-items:center;
  min-height:45px;padding:11px 15px;font-size:13px;font-weight:600;gap:10px}
@media(max-width:820px) {.p3c-devkit-gallery {grid-template-columns:1fr 1fr}}
@media(max-width:580px) {.p3c-devkit-gallery {grid-template-columns:1fr}
  .p3c-devkit-gallery-item img {height:190px}}
@media(prefers-reduced-motion:reduce) {.p3c-devkit-gallery-item {transition:none!important}}

/* Phase 3C Vault: approved Image 1 in the hero, Images 2-4 in a clickable gallery.
   Other product page styles are not modified. */
.p3c-detail-mark.p3c-vault-art::before,
.p3c-detail-mark.p3c-vault-art::after {display:none}
.p3c-detail-mark.p3c-vault-art {background:#050609}
.p3c-detail-mark.p3c-vault-art .p3c-vault-art-image {
  position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center center;
}
.p3c-detail-mark.p3c-vault-art small {
  z-index:1;right:16px;bottom:15px;padding:5px 8px;background:rgba(5,6,9,.78);border-radius:5px;
}
.p3c-vault-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px}
.p3c-vault-gallery-item {display:block;position:relative;overflow:hidden;border-radius:13px;
  border:1px solid #34383c;background:#0b0d10;color:#edc583;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.p3c-vault-gallery-item:hover,.p3c-vault-gallery-item:focus-visible {transform:translateY(-3px);
  border-color:#d4ae75;box-shadow:0 14px 36px #0008;outline:none}
.p3c-vault-gallery-item img {display:block;width:100%;height:175px;object-fit:cover;object-position:center}
.p3c-vault-gallery-item>span {display:flex;justify-content:space-between;align-items:center;
  min-height:45px;padding:11px 15px;font-size:13px;font-weight:600;gap:10px}
@media(max-width:820px) {.p3c-vault-gallery {grid-template-columns:1fr 1fr}}
@media(max-width:580px) {.p3c-vault-gallery {grid-template-columns:1fr}
 .p3c-vault-gallery-item img {height:190px}}
@media(prefers-reduced-motion:reduce) {.p3c-vault-gallery-item {transition:none!important}}

/* Phase 3C Enterprise: four approved images, no other page effects. */
.p3c-detail-mark.p3c-enterprise-art::before,.p3c-detail-mark.p3c-enterprise-art::after{display:none}
.p3c-detail-mark.p3c-enterprise-art{background:#050609}
.p3c-detail-mark.p3c-enterprise-art .p3c-enterprise-art-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 46%}
.p3c-detail-mark.p3c-enterprise-art small{z-index:1;right:16px;bottom:15px;padding:5px 8px;background:rgba(5,6,9,.78);border-radius:5px}
.p3c-enterprise-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px}
.p3c-enterprise-gallery-item{display:block;position:relative;overflow:hidden;border-radius:13px;border:1px solid #34383c;background:#0b0d10;color:#edc583;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.p3c-enterprise-gallery-item:hover,.p3c-enterprise-gallery-item:focus-visible{transform:translateY(-3px);border-color:#d4ae75;box-shadow:0 14px 36px #0008;outline:none}
.p3c-enterprise-gallery-item img{display:block;width:100%;height:205px;object-fit:cover;object-position:center}
.p3c-enterprise-gallery-item>span{display:flex;justify-content:space-between;align-items:center;min-height:45px;padding:11px 15px;font-size:13px;font-weight:600;gap:10px}
@media(max-width:820px){.p3c-enterprise-gallery{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.p3c-enterprise-gallery{grid-template-columns:1fr}.p3c-enterprise-gallery-item img{height:190px}}
@media(prefers-reduced-motion:reduce){.p3c-enterprise-gallery-item{transition:none!important}}
