/* Public marketing layout adaptation, 2026-11-03. Original content stays in place. */
:root{--primary-color:#655bed;--primary-color-hover:#4d43c4;--primary-gradient:linear-gradient(135deg,#6e67ff,#655bed);--text-main:#161616;--text-gray:#626262;--font-heading:"Helvetica Neue",Arial,sans-serif;--font-body:"Helvetica Neue",Arial,sans-serif;--container-width:1080px;--radius-md:16px;--shadow-hover:0 10px 28px #6e67ff20}
html{scroll-behavior:smooth}body{line-height:1.7}h1,h2,h3,h4{letter-spacing:-.035em}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}:focus-visible{outline:3px solid #6357db;outline-offset:4px}[hidden]{display:none!important}
.site-header{position:relative;inset:auto;min-height:0;background:#000;color:#fff;padding:26px 0 0}.home-page .site-header{background:#fff;color:#111}.site-header__container{display:flex;flex-wrap:wrap;gap:18px;min-height:0}.site-logo{gap:0}.site-logo__mark{display:none}.site-logo__text{font:400 29px/1.2 var(--font-body);letter-spacing:-1.3px}.site-logo__text small{font:inherit;color:inherit}.header-actions{display:flex;gap:8px;margin-left:auto;align-items:center}.header-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:7px 24px;border-radius:30px;font-size:16px;white-space:nowrap}.header-login{background:#fff;color:#222;border:1px solid #e9e9e9}.header-join{background:#00885d;color:#fff}.site-nav{width:100%}.site-nav__list{margin:0;padding:0;display:flex;gap:24px;align-items:center;flex-wrap:wrap;list-style:none}.site-nav__list a:not(.btn){font-size:16px;font-weight:500;color:inherit;padding:4px 0;min-height:42px}.site-nav__list a[aria-current=page]{box-shadow:inset 0 -3px #8c83ff}.site-nav__list a:hover{color:#a49cff}.home-page .site-nav__list a:hover{color:#5548cb}.mobile-menu-toggle{color:inherit;border-color:currentColor;border-radius:30px}.site-nav__list .btn{display:none}
.hero-section{position:relative;min-height:620px;padding:64px 20px 72px;color:#111;background:radial-gradient(51.38% 51.38% at 50% 48.62%,#6e67ff2e 0%,#eb4a9010 56.77%,#ffffff17 100%);overflow:hidden}.hero__content{max-width:680px}.hero-eyebrow{display:inline-flex;gap:10px;align-items:center;font-size:14px;letter-spacing:.12em;text-transform:uppercase;font-weight:600}.spain-flag{display:inline-block;width:24px;height:16px;border-radius:2px;background:linear-gradient(#aa151b 25%,#f1bf00 25% 75%,#aa151b 75%);box-shadow:0 0 0 1px #0001}.hero__content h1{font-size:clamp(46px,5.8vw,72px);line-height:1.07;font-weight:700;margin:22px 0 24px}.hero__content p{font-size:18px;color:#5d5b66;max-width:530px}.hero-role-links{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:min(510px,100%);margin:22px auto 18px}.hero-role-links a{background:#fff;border:1px solid #e5e0f6;border-radius:40px;padding:14px 20px;box-shadow:0 2px 8px #0000000b;font-size:18px;font-weight:500}.hero-role-links a::before{content:'◯';margin-right:8px;color:#7268ed}.hero-role-links a:hover{border-color:#6e67ff;color:#5143cb}.hero__actions{margin-top:0;width:min(510px,100%);display:block}.hero__actions .btn{width:100%;background:#00885d;color:#fff;box-shadow:none;border-radius:40px;font-size:19px;min-height:56px}.hero__actions .btn:hover,.header-join:hover{background:#006e4c}.hero-boundary{font-size:13px!important;margin:16px auto 0!important;max-width:510px!important}.hero-text-link{display:inline-block;margin-top:15px;font-size:15px;color:#5448bd;text-decoration:underline;text-underline-offset:4px}
.spain-local-section{padding:50px 0 64px}.spain-local-heading{display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:28px}.spain-local-heading h2{font-size:clamp(28px,3.4vw,40px);line-height:1.15;margin:10px 0}.spain-local-heading p{max-width:520px;color:#626262;margin:12px 0 0}.local-eyebrow{font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#6053be}.city-guide-form{display:flex;align-items:end;gap:10px;min-width:290px}.city-guide-form label{font-size:13px;display:block}.city-guide-form select{background:#fff;border:1px solid #ccc;border-radius:8px;min-height:46px;max-width:200px;padding:8px 30px 8px 12px}.city-guide-form button{border:0;border-radius:30px;background:#161616;color:#fff;padding:10px 20px;min-height:46px}.spain-city-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.spain-city-card{display:flex;flex-direction:column;min-height:180px;border-radius:16px;padding:26px;background:#f2f0ff;transition:transform .15s ease}.spain-city-card:nth-child(3n+2){background:#eaf6f7}.spain-city-card:nth-child(3n){background:#fcf2df}.spain-city-card:hover{transform:translateY(-3px)}.spain-city-card h3{font-size:25px;margin:0 0 12px;line-height:1.2}.spain-city-card p{font-size:15px;color:#555;margin:0 0 16px;line-height:1.6}.spain-city-card span{font-size:14px;font-weight:600;margin-top:auto}.spain-city-card span::after{content:' ↗'}
.page-hero{padding:60px 0 54px;color:#111;background:linear-gradient(#eeedff,#fafaff)}.page-hero h1{font-size:clamp(32px,4.3vw,49px);font-weight:700;line-height:1.15;max-width:1000px}.page-hero p{color:#60606b;margin:0;max-width:850px;line-height:1.65}.breadcrumb{color:#605b72}.breadcrumb a::after{content:none}.section{padding:60px 0}.section__header h2,.role-fit-header h2,.section-heading h2{font-weight:650;font-size:clamp(28px,3.6vw,42px);line-height:1.2}.article-block h2,.editorial-content h2{font-weight:600;letter-spacing:-.025em}.article-content,.editorial-content{color:#41414a}.article-content a:not(.btn),.editorial-content a:not(.btn){color:#5145bd}.btn{border-radius:30px;box-shadow:none;font-size:15px}.btn--primary{box-shadow:none}.content-frame,.step-card,.role-fit-card,.card,.readiness-panel{border-radius:16px}.role-fit-section{background:#f9f8ff}.role-fit-card{min-height:460px;box-shadow:none;border:1px solid #eceaf2;padding:32px 24px}.role-fit-card img{width:132px;height:132px;border:0;margin-bottom:24px}.role-fit-card h3{font-size:27px}.role-fit-card p{font-size:17px}.role-fit-card a{font-size:17px}.problem-section{background:#f4f2fc}.problem-section h2{color:#111}.cta-section{background:linear-gradient(120deg,#efedff,#fff3f7);color:#111}.cta-section h2{color:#111}.cta-section p{color:#626262}.site-footer{background:#090909;color:#c9c9cf;padding:60px 0}.site-footer .site-logo__text{font-size:25px;color:#fff}.footer-grid{grid-template-columns:1.3fr repeat(4,1fr);gap:26px;font-size:13px}.footer-grid h2{font-size:15px;letter-spacing:0}.footer-grid a:hover{color:#b5adff}.footer-locale{border-top:1px solid #333;margin-top:35px;padding-top:22px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:13px;color:#ccc}.footer-locale .spain-flag{width:21px;height:14px}.footer-locale a{text-decoration:underline}
.local-context{margin:36px 0;padding:26px;border:1px solid #dedaf6;border-radius:16px;background:#f7f6ff;color:#41414a}.local-context h2{font-size:25px!important;line-height:1.3;margin:8px 0 16px!important}.local-context__eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#6155be;font-weight:700}.local-context a{text-decoration:underline;text-underline-offset:3px}.spain-faq-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:28px 0}.spain-faq-filter label{font-weight:600;width:100%}.spain-faq-filter input{flex:1;min-width:0;border:1px solid #aaa;border-radius:8px;padding:12px;min-height:48px}.spain-faq-filter button{border:1px solid #d8d4ec;border-radius:30px;padding:10px 20px;background:#f4f1ff;color:#41388b;min-height:48px}.spain-faq-item{border-bottom:1px solid #dfdce9;padding:18px 0}.spain-faq-item summary{cursor:pointer;padding:8px 0;color:#181818}.spain-faq-item summary h2{display:inline;font-size:21px;line-height:1.4;margin:0;letter-spacing:-.025em}.spain-faq-answer{padding:14px 0 4px}.spain-faq-answer p:last-child{margin-bottom:8px}.spain-faq-empty{padding:18px;background:#fff6e5;border-radius:8px}
@media(max-width:980px){.site-header .site-header__container{position:relative;flex-wrap:wrap}.site-header .site-nav{position:static;width:100%;order:4}.site-nav__list{display:none}.site-nav__list.is-open{display:flex;position:static;box-shadow:none;background:transparent;color:inherit;width:100%;padding:4px 0 20px;gap:4px}.site-nav__list.is-open a:not(.btn){color:inherit;display:block;padding:5px 0}.mobile-menu-toggle{display:inline-grid;width:44px;height:44px;margin-left:4px}.site-header{padding-top:18px}.header-actions a{padding:6px 18px}.site-header__container{gap:12px}.hero-section{padding-top:48px;min-height:580px}.spain-local-heading{display:block}.city-guide-form{margin-top:24px}.spain-city-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.site-logo__text,.site-header .site-logo__text{font-size:23px;letter-spacing:-1px}.header-actions{gap:5px}.header-actions .header-login{display:none}.header-actions a{font-size:13px;min-height:38px;padding:6px 13px}.site-header__container{gap:8px}.mobile-menu-toggle{width:40px;height:40px;font-size:11px}.hero-section{padding:38px 20px 50px;min-height:0}.hero__content h1{font-size:47px;line-height:1.09}.hero__content p{font-size:16px}.hero-eyebrow{font-size:11px}.hero-role-links{gap:10px}.hero-role-links a{font-size:14px;padding:12px 6px}.hero-role-links a::before{margin-right:4px}.hero__actions .btn{font-size:17px}.spain-local-section{padding:36px 0}.spain-city-card{padding:20px;min-height:190px}.spain-city-card h3{font-size:23px}.spain-city-card p{font-size:14px}.spain-local-heading h2{font-size:30px}.page-hero{padding:35px 0 38px}.page-hero h1{font-size:34px}.page-hero p{font-size:17px}.footer-grid{grid-template-columns:1fr 1fr;gap:24px 16px}.footer-grid>div:first-child{grid-column:1/-1}.section{padding:40px 0}.content-frame{padding:24px}.local-context{padding:20px}.spain-faq-filter button{width:auto}.city-guide-form{min-width:0}.city-guide-form>div{flex:1}.city-guide-form select{width:100%;max-width:none}.readiness-navigation button{font-size:14px}.table-wrap,.content-table{max-width:100%;overflow-x:auto}}
.home-page .site-header .site-logo__text{color:#655bed}.site-header .site-logo__text{color:#fff}.home-tool{--brand-soft:#eeebff;--surface-alt:#f6f4ff;--line:#e1ddf0}.home-tool .button,.home-tool .button-secondary{border-radius:30px}.readiness-quiz .readiness-panel{border-radius:16px}.readiness-quiz .readiness-choice{border-radius:12px}.readiness-quiz .readiness-role-card{border-radius:14px}.city-activity-section{background:#faf9ff}.city-activity-card{max-width:860px;margin:auto}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Stack the safety feature at mobile and tablet widths. */
@media (max-width: 980px) {
  .feature-section .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
    gap: 26px;
    align-items: start;
  }
  .feature-section .feature-media img {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
  .feature-section .feature-content h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
    font-weight: 600;
  }
  .feature-section .feature-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
  }
  .feature-section .feature-list {
    gap: 0;
    margin: 24px 0 0;
  }
  .feature-section .feature-list li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #e3e0ed;
    font-size: 16px;
    line-height: 1.6;
  }
  .feature-section .feature-list li::before {
    display: block;
    margin: 9px 0 0;
  }
}
