/* Extracted from safety.php during code cleanup. */

:root{
  --ink:#241d22;--muted:#766b72;--rose:#df466f;--deep:#831f42;
  --cream:#fff9f5;--line:#eadfe2;--green:#2b8b59;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.amoria-safety-page{margin:0;background:#fff;color:var(--ink);font-family:"DM Sans",Arial,sans-serif}
body.amoria-safety-page a{text-decoration:none;color:inherit}
body.amoria-safety-page img{display:block;max-width:100%}
body.amoria-safety-page main{display:block}

/* Header fallback styling so the page looks correct even if style.css fails */
.amoria-safety-page .header{position:absolute!important;z-index:50!important;top:0;left:0;width:100%;background:rgba(20,8,13,.46)!important;border-bottom:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.amoria-safety-page .nav{width:min(1240px,calc(100% - 44px));height:86px;margin:auto;display:flex;align-items:center;gap:42px}
.amoria-safety-page .logo{display:flex;align-items:center;gap:10px;min-width:190px;color:#fff}
.amoria-safety-page .logo-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px 12px 12px 4px;background:#fff;color:var(--rose);font-size:20px}
.amoria-safety-page .logo>span:last-child{display:flex;flex-direction:column}
.amoria-safety-page .logo strong{font-family:"Manrope",sans-serif;font-size:24px;line-height:1;letter-spacing:-1px}
.amoria-safety-page .logo small{margin-top:4px;font-size:8px;letter-spacing:1.2px;text-transform:uppercase;opacity:.7}
.amoria-safety-page .links{display:flex;align-items:center;gap:27px;margin-left:auto}
.amoria-safety-page .links a{font-size:15px;font-weight:800;color:rgba(255,255,255,.88)}
.amoria-safety-page .links a:hover{color:#ff86a5}
.amoria-safety-page .account{display:flex;align-items:center;gap:16px}
.amoria-safety-page .login{font-size:15px;font-weight:800;color:#fff}
.amoria-safety-page .join{padding:12px 17px;border-radius:9px;background:#fff;color:var(--deep);font-size:13px;font-weight:800}
.amoria-safety-page .menu{display:none;margin-left:auto;border:0;background:transparent}
.amoria-safety-page .menu span{display:block;width:25px;height:2px;margin:5px;background:#fff}

.safety-page-shell{width:min(1180px,calc(100% - 44px));margin:0 auto}
.safety-page-hero{position:relative;overflow:hidden;min-height:720px;display:flex;align-items:center;background:radial-gradient(circle at 78% 40%,rgba(241,67,111,.18),transparent 30%),linear-gradient(125deg,#14080d 0%,#241018 50%,#4b1228 100%);color:#fff}
.safety-page-hero::before{content:"";position:absolute;inset:auto -140px -210px auto;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(223,70,111,.28),transparent 70%)}
.safety-page-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;padding:150px 0 95px}
.safety-page-kicker{display:inline-block;color:#ff8fab;font-size:10px;font-weight:900;letter-spacing:2px}
.safety-page-kicker.dark{color:var(--rose)}
.safety-page-copy h1{max-width:760px;margin:15px 0 0;font-family:"Manrope",sans-serif;font-size:clamp(58px,7vw,92px);line-height:.96;letter-spacing:-5px}
.safety-page-copy h1 em{color:#ff6f98;font-style:normal}
.safety-page-copy>p{max-width:640px;margin:24px 0 0;color:rgba(255,255,255,.76);font-size:16px;line-height:1.8}
.safety-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.safety-primary-btn,.safety-secondary-btn{display:inline-flex;align-items:center;gap:22px;min-height:48px;padding:0 18px;border-radius:10px;font-size:12px;font-weight:900}
.safety-primary-btn{background:var(--rose);color:#fff!important;box-shadow:0 12px 28px rgba(223,70,111,.25)}
.safety-secondary-btn{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.06);color:#fff!important}
.safety-trust-row{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:30px;color:rgba(255,255,255,.66);font-size:10px;font-weight:700}
.safety-hero-panel{padding:28px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.04));box-shadow:0 30px 70px rgba(0,0,0,.24)}
.safety-hero-panel-top{display:flex;align-items:center;justify-content:space-between}
.safety-panel-badge{color:#ffd0dc;font-size:9px;font-weight:900;letter-spacing:1.4px}
.safety-panel-dot{width:9px;height:9px;border-radius:50%;background:#43d28b;box-shadow:0 0 0 6px rgba(67,210,139,.11)}
.safety-hero-shield{display:grid;place-items:center;width:100px;height:100px;margin:34px 0 20px;border-radius:28px;background:linear-gradient(135deg,#ff668b,#b52c57);font-size:47px;box-shadow:0 18px 36px rgba(223,70,111,.28)}
.safety-hero-panel h3{margin:0;font-family:"Manrope";font-size:25px;letter-spacing:-.8px}
.safety-hero-panel>p{margin:8px 0 0;color:rgba(255,255,255,.64);font-size:11px;line-height:1.65}
.safety-mini-status{display:grid;margin-top:22px;border-top:1px solid rgba(255,255,255,.10)}
.safety-mini-status div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.safety-mini-status span{color:rgba(255,255,255,.62);font-size:10px}
.safety-mini-status b{color:#7ce7aa;font-size:10px}

.safety-stats-strip{border-bottom:1px solid #eee4e7;background:#fff}
.safety-stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.safety-stats-grid div{display:flex;align-items:center;gap:14px;min-height:88px;padding:0 20px;border-right:1px solid #eee4e7}
.safety-stats-grid div:last-child{border-right:0}
.safety-stats-grid strong{color:var(--rose);font-family:"Manrope";font-size:18px}
.safety-stats-grid span{color:#5f5359;font-size:11px;font-weight:700}

.safety-features-pro{padding:105px 0 115px;background:linear-gradient(180deg,#fff 0%,#fffafb 100%)}
.safety-pro-heading{max-width:820px;margin:0 auto 52px;text-align:center}
.safety-pro-heading>span{color:var(--rose);font-size:10px;font-weight:900;letter-spacing:2px}
.safety-pro-heading h2{margin:10px 0 0;font-family:"Manrope";font-size:clamp(36px,4.8vw,58px);line-height:1.03;letter-spacing:-2.6px}
.safety-pro-heading p{max-width:680px;margin:16px auto 0;color:var(--muted);font-size:13px;line-height:1.75}
.safety-pro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.safety-pro-card{min-width:0;padding:28px;border:1px solid #eadfe2;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(70,34,47,.05);transition:.22s ease}
.safety-pro-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(70,34,47,.09)}
.safety-pro-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.safety-pro-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ffeaf0;font-size:21px}
.safety-pro-tag{padding:6px 9px;border-radius:999px;background:#fff1f5;color:#a92d54;font-size:8px;font-weight:900;letter-spacing:1px}
.safety-pro-card h3{margin:19px 0 0;font-family:"Manrope";font-size:22px;letter-spacing:-.7px}
.safety-pro-card>p{min-height:82px;margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.72}
.verification-card{background:linear-gradient(180deg,#fff,#fff9fb)}
.verify-device{margin-top:20px;padding:16px;border:1px solid #e9dfe3;border-radius:17px;background:#fff}
.verify-device-top{display:flex;justify-content:space-between;gap:15px;color:#71656b;font-size:9px}
.verify-profile{text-align:center;padding:18px 0 12px}
.verify-avatar-wrap{position:relative;width:118px;height:118px;margin:0 auto}
.verify-avatar-wrap img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.verify-scan-ring{position:absolute;inset:-8px;border:3px dashed #2bc6c2;border-radius:50%}
.verify-check{position:absolute;right:-7px;bottom:7px;display:grid;place-items:center;width:30px;height:30px;border:4px solid #fff;border-radius:50%;background:#2ebd71;color:#fff;font-weight:900}
.verify-profile strong{display:block;margin-top:14px;font-size:11px}
.verify-profile small{display:block;margin-top:3px;color:#8c7f85;font-size:8px}
.verify-result{padding:11px;border-radius:10px;background:#ebf9f1;color:#1e9c5b;font-size:9px;font-weight:900;text-align:center}

.risk-panel,.privacy-panel,.screening-panel,.chat-safety-menu,.learning-flow{margin-top:20px}
.risk-panel{padding:16px;border:1px solid #eadfe2;border-radius:14px;background:#fff}
.risk-panel-row{display:flex;gap:11px;align-items:center}
.risk-status{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e3f7ec;color:#20a75c;font-weight:900}
.risk-panel-row strong,.risk-panel-row small{display:block}
.risk-panel-row strong{font-size:10px}.risk-panel-row small{margin-top:2px;color:#8c7f85;font-size:8px}
.risk-meter{height:7px;margin-top:14px;border-radius:999px;background:#f1e8eb;overflow:hidden}
.risk-meter span{display:block;width:24%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#37be78,#e4c448,#e35f72)}
.risk-legend{display:flex;justify-content:space-between;margin-top:5px;color:#9a8c92;font-size:7px}
.chat-safety-menu{display:grid;border:1px solid #eadfe2;border-radius:14px;overflow:hidden}
.chat-safety-menu div{display:grid;grid-template-columns:25px 1fr auto;gap:8px;align-items:center;padding:13px;border-bottom:1px solid #f0e7ea;font-size:9px}
.chat-safety-menu div:last-child{border-bottom:0}.chat-safety-menu i{color:#b0385d;font-style:normal}
.screening-panel{display:grid;border:1px solid #eadfe2;border-radius:14px;overflow:hidden}
.screening-panel div,.privacy-panel div{display:flex;justify-content:space-between;gap:14px;padding:12px 13px;border-bottom:1px solid #f0e7ea}
.screening-panel div:last-child,.privacy-panel div:last-child{border-bottom:0}
.screening-panel span,.privacy-panel span{color:#7c6e75;font-size:9px}.screening-panel b{color:#22a763;font-size:9px}
.privacy-panel{padding:0 13px;border-radius:14px;background:#fff4f7}
.privacy-panel>strong{display:block;padding:13px 0 5px;font-size:10px}.privacy-panel b{color:#44383e;font-size:8px}
.learning-flow{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:14px;border-radius:14px;background:#fff5f8}
.learning-flow span{padding:6px 8px;border-radius:8px;background:#fff;font-size:8px;font-weight:800}.learning-flow i{color:var(--rose);font-style:normal}

.safety-ai-capabilities{padding:100px 0;background:#24161d;color:#fff}
.safety-ai-pro-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:75px;align-items:start}
.safety-ai-pro-copy h2{margin:10px 0 0;font-family:"Manrope";font-size:clamp(42px,5vw,62px);line-height:1.02;letter-spacing:-3px}
.safety-ai-pro-copy p{margin:18px 0 0;color:rgba(255,255,255,.62);font-size:12px;line-height:1.75}
.safety-ai-pro-list{display:grid}
.safety-ai-pro-list article{display:grid;grid-template-columns:58px 1fr;gap:18px;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.10)}
.safety-ai-pro-list b{color:#ff83a3;font-family:"Manrope";font-size:14px}
.safety-ai-pro-list strong{display:block;font-family:"Manrope";font-size:16px}
.safety-ai-pro-list p{margin:4px 0 0;color:rgba(255,255,255,.56);font-size:10px;line-height:1.6}

.safety-help-pro{padding:75px 0 95px;background:#fff}
.safety-help-pro-card{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:32px 34px;border:1px solid #f0dfe5;border-radius:20px;background:linear-gradient(135deg,#fff2f6,#fff)}
.safety-help-pro-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#ffe7ee;color:var(--rose);font-size:29px}
.safety-help-pro-card>div:nth-child(2)>span{color:var(--rose);font-size:8px;font-weight:900;letter-spacing:1.4px}
.safety-help-pro-card h2{margin:4px 0 0;font-family:"Manrope";font-size:24px}
.safety-help-pro-card p{margin:5px 0 0;max-width:680px;color:var(--muted);font-size:10px;line-height:1.6}
.safety-help-pro-card a{display:inline-flex;align-items:center;gap:18px;padding:13px 18px;border-radius:9px;background:var(--rose);color:#fff!important;font-size:10px;font-weight:900}

/* Footer fallback */
.amoria-safety-page footer{background:#21181c;color:#fff}
.amoria-safety-page .footer-main{width:min(1200px,calc(100% - 44px));margin:auto;display:grid;grid-template-columns:1.5fr .8fr .8fr .8fr 1.2fr;gap:38px;padding:65px 0 48px}
.amoria-safety-page .footer-bottom{width:min(1200px,calc(100% - 44px));margin:auto;display:flex;justify-content:space-between;padding:20px 0 26px;border-top:1px solid #382c31;color:#786b71;font-size:9px}
.amoria-safety-page .footer-col{display:flex;flex-direction:column;align-items:flex-start}
.amoria-safety-page .footer-col a{margin:6px 0;color:#a99ca2;font-size:10px}
.amoria-safety-page .footer-col h4,.amoria-safety-page .newsletter h4{margin:0 0 14px;font-family:"Manrope";font-size:13px}
.amoria-safety-page .footer-about p,.amoria-safety-page .newsletter p{margin:19px 0 0;color:#9f9298;font-size:11px;line-height:1.7}

.amoria-safety-page .back-to-top{position:fixed;right:24px;bottom:26px;z-index:9999;width:52px;height:52px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--rose),var(--deep));color:#fff;font-size:23px;font-weight:900;cursor:pointer;box-shadow:0 14px 34px rgba(82,20,45,.28);opacity:0;visibility:hidden;transform:translateY(12px);transition:.2s ease}
.amoria-safety-page .back-to-top.is-visible{opacity:1;visibility:visible;transform:none}

@media(max-width:980px){
  .safety-page-hero-grid,.safety-ai-pro-grid{grid-template-columns:1fr}
  .safety-hero-panel{max-width:560px}
  .safety-pro-grid{grid-template-columns:repeat(2,1fr)}
  .safety-stats-grid{grid-template-columns:repeat(2,1fr)}
  .amoria-safety-page .links,.amoria-safety-page .account{display:none}
  .amoria-safety-page .menu{display:block}
  .amoria-safety-page .footer-main{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .safety-page-shell{width:min(100% - 30px,1180px)}
  .safety-page-hero-grid{padding:125px 0 70px;gap:35px}
  .safety-page-copy h1{font-size:clamp(50px,15vw,70px);letter-spacing:-3px}
  .safety-pro-grid{grid-template-columns:1fr}
  .safety-pro-card>p{min-height:0}
  .safety-stats-grid{grid-template-columns:1fr}
  .safety-stats-grid div{border-right:0;border-bottom:1px solid #eee4e7}
  .safety-help-pro-card{grid-template-columns:1fr}
  .amoria-safety-page .nav{width:min(100% - 30px,1240px);height:74px}
  .amoria-safety-page .footer-main,.amoria-safety-page .footer-bottom{width:min(100% - 30px,1200px)}
  .amoria-safety-page .footer-main{grid-template-columns:1fr}
  .amoria-safety-page .footer-bottom{flex-direction:column;gap:8px}
}

/* ===== Safety banner + typography + larger professional cards ===== */
.safety-page-hero {
    min-height: 760px;
    background: #1c0c12 !important;
}
.safety-banner-photo {
    position:absolute;
    inset:0;
    z-index:0;
    background-image:url("../assets/amoria-safety-banner.png");
    background-position:center 43%;
    background-size:cover;
    background-repeat:no-repeat;
    filter:saturate(.85) contrast(1.03);
}
.safety-banner-overlay {
    position:absolute;
    inset:0;
    z-index:1;
    background:
      linear-gradient(90deg, rgba(18,7,11,.94) 0%, rgba(31,9,16,.82) 38%, rgba(52,13,28,.54) 64%, rgba(36,7,17,.42) 100%),
      linear-gradient(180deg, rgba(10,5,8,.15), rgba(49,10,25,.55));
}
.safety-page-hero-grid { z-index:2; }
.safety-page-copy h1,
.safety-pro-heading h2,
.safety-ai-pro-copy h2,
.safety-help-pro-card h2,
.safety-hero-panel h3 {
    font-family:"Manrope", "DM Sans", sans-serif !important;
}
.safety-page-copy h1 {
    font-size:clamp(66px,7vw,104px) !important;
    line-height:.92 !important;
    letter-spacing:-3px !important;
    font-weight:700 !important;
}
.safety-pro-heading h2 {
    font-size:clamp(46px,5vw,66px) !important;
    line-height:1 !important;
    letter-spacing:-1.4px !important;
}
.safety-pro-grid {
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:30px !important;
}
.safety-pro-card {
    min-height:560px;
    padding:36px !important;
    border:2px solid #ead9df !important;
    border-radius:26px !important;
    box-shadow:0 18px 46px rgba(82,35,53,.08) !important;
    background:linear-gradient(180deg,#fff 0%,#fffafb 100%) !important;
}
.safety-pro-card:hover {
    border-color:#dfa8b9 !important;
    transform:translateY(-6px) !important;
    box-shadow:0 26px 58px rgba(82,35,53,.14) !important;
}
.safety-pro-icon {
    width:58px !important;
    height:58px !important;
    border:1px solid #f1cbd6;
    border-radius:18px !important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.9);
}
.safety-pro-tag {
    padding:8px 11px !important;
    border:1px solid #f0d7df;
    font-size:9px !important;
}
.safety-pro-card h3 {
    margin-top:24px !important;
    font-family:"Manrope", "DM Sans", sans-serif !important;
    font-size:34px !important;
    line-height:1 !important;
    letter-spacing:-.5px !important;
}
.safety-pro-card>p {
    min-height:100px !important;
    margin-top:12px !important;
    font-size:14px !important;
    line-height:1.75 !important;
}
.verify-device,
.risk-panel,
.chat-safety-menu,
.screening-panel,
.privacy-panel,
.learning-flow {
    border-width:1.5px !important;
    border-color:#e6d5db !important;
    border-radius:18px !important;
}
.verify-device { padding:22px !important; }
.verify-avatar-wrap { width:150px !important; height:150px !important; }
.verify-profile strong { font-size:14px !important; }
.verify-profile small { font-size:10px !important; }
.verify-result { padding:14px !important; font-size:10px !important; }
.risk-panel { padding:22px !important; }
.risk-panel-row strong { font-size:13px !important; }
.risk-panel-row small { font-size:10px !important; }
.chat-safety-menu div { padding:17px !important; font-size:11px !important; }
.screening-panel div,.privacy-panel div { padding:15px 16px !important; }
.screening-panel span,.privacy-panel span { font-size:11px !important; }
.screening-panel b,.privacy-panel b { font-size:10px !important; }
.learning-flow { padding:18px !important; }
.learning-flow span { padding:8px 10px !important; font-size:10px !important; border:1px solid #eee0e5; }
.safety-ai-pro-list strong { font-size:19px !important; }
.safety-ai-pro-list p { font-size:12px !important; }
@media(max-width:900px){
    .safety-pro-grid{grid-template-columns:1fr !important;}
    .safety-pro-card{min-height:0;}
}
@media(max-width:680px){
    .safety-page-copy h1{font-size:clamp(56px,17vw,78px)!important;}
    .safety-pro-card{padding:26px!important;}
    .safety-pro-card h3{font-size:30px!important;}
}
