/* Intent public website.
   Ported from docs/screens/website/styles.css, which remains the design reference. */

:root{
  --burgundy:#72253f;--deep:#43192d;--rose:#c66d88;--pink:#f9ecef;--ivory:#fffaf4;
  --ink:#32212a;--muted:#816d77;--line:#eadde0;--white:#fff;--shadow:0 18px 65px #3b172522;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px}
button,input,textarea,select{font:inherit}
a{color:inherit;text-decoration:none}
button,a{touch-action:manipulation}
button{cursor:pointer}
img{display:block;max-width:100%}
.wrap{width:min(1180px,calc(100% - 44px));margin:auto}

/* Header */
.header{position:sticky;top:0;z-index:30;background:#fffaf4ed;backdrop-filter:blur(16px);border-bottom:1px solid #eee2e4}
.navwrap{display:flex;align-items:center;gap:26px;min-height:79px}
.brand{font:700 31px 'Playfair Display',Georgia,serif;letter-spacing:-1.7px;color:var(--burgundy);white-space:nowrap}
/* The logo is one image, drawn to the height of the line it sits on. */
.wm-logo{display:block;height:50px;width:auto}
.footer .wm-logo{height:38px}
.navlinks{display:flex;gap:23px;align-items:center;margin-left:auto}
.navlinks a{font-size:13px;font-weight:700;color:#5e4b55}
.navlinks a.active,.navlinks a:hover{color:var(--burgundy)}
.mobile-cta{display:none}

/* Buttons */
.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid var(--burgundy);background:var(--burgundy);color:#fff;border-radius:12px;padding:13px 21px;font-weight:800;font-size:13px;transition:.2s;white-space:nowrap}
.button:hover{transform:translateY(-2px);box-shadow:0 9px 22px #72253f28}
.button.light{background:#fff;color:var(--burgundy);border-color:#fff}
.button.outline{background:transparent;color:var(--burgundy)}
.button.soft{background:var(--pink);border-color:var(--pink);color:var(--burgundy)}
.button.sm{padding:10px 14px}
/* An icon inside a button sits at the type's size rather than the card size. */
.button svg{width:16px;height:16px;flex:none}
.menu{display:none;margin-left:auto;background:none;border:0;color:var(--burgundy)}
.menu svg{width:27px;height:27px}

/* Type */
.eyebrow{color:var(--rose);text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:800}
.serif,h1,h2,.feature-title{font-family:'Playfair Display',Georgia,serif;letter-spacing:-1.4px}
h1{font-size:clamp(44px,5.4vw,76px);line-height:1.07;margin:17px 0 20px}
h2{font-size:clamp(32px,3.8vw,49px);line-height:1.14;margin:12px 0 16px}
h3{font-size:21px;margin:0 0 10px}
.lead{font-size:18px;line-height:1.75;color:var(--muted);max-width:590px}
.muted{color:var(--muted);line-height:1.75}

/* Home hero */
.hero{position:relative;min-height:640px;display:grid;align-items:center;overflow:hidden;background:#f8eceb}
.hero .wrap{position:relative;z-index:2}
/* Wide enough that each hero sentence holds one line: "Find your Match." and
   "Grow your Connection." are read as two statements, not four fragments. */
.hero .copy{width:min(720px,66%)}
.hero h1{font-size:clamp(42px,4.8vw,60px)}
.hero .lead{max-width:480px}
.hero-photo{position:absolute;inset:0 0 0 48%;background-size:cover;background-position:center 43%}
.hero-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f8eceb 0%,#f8eceb9c 25%,#f8eceb00 58%)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}
.hero-note{margin-top:25px;font-size:12px;color:#806c74}

/* Store badges: the black two-line buttons the stores themselves provide,
   carrying each store's own mark. */
.store-badge{display:inline-flex;align-items:center;gap:10px;background:#000;color:#fff;border:1px solid #000;border-radius:12px;padding:9px 16px 9px 14px;text-decoration:none;transition:.2s;white-space:nowrap}
.store-badge:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(0,0,0,.22)}
.store-badge svg{width:23px;height:23px;fill:#fff;flex:none}
.store-badge span{display:block;text-align:left;line-height:1.1}
.store-badge small{display:block;font-size:9px;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.store-badge b{display:block;font-size:16px;font-weight:800}
.store-badge+.store-badge svg{width:21px;height:25px}

/* Sections */
.section{padding:91px 0}
.section.tint{background:#f7edef}
.section.dark{background:var(--deep);color:#fff}
.section.dark .muted,.section.dark .lead{color:#ecd8df}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:32px}
.section-head h2{max-width:680px}

/* Grids */
.grid{display:grid;gap:22px}
.grid>*{min-width:0}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Cards */
.card{background:#fff;border:1px solid var(--line);border-radius:23px;padding:25px;box-shadow:0 8px 30px #451a2c08}
.card .muted{font-size:14px}
.card img{width:100%;object-fit:cover}
.image-card{padding:0;overflow:hidden}
.image-card img{height:225px}
.image-card .inner{padding:23px}
.image-card .inner h3{font-family:'Playfair Display',serif;font-size:23px}
.card-icon{width:49px;height:49px;display:grid;place-items:center;background:var(--pink);border-radius:16px;color:var(--burgundy);margin-bottom:20px}
.card-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.link{color:var(--burgundy);font-size:13px;font-weight:800;display:inline-flex;gap:6px;align-items:center}
.tag{display:inline-flex;border-radius:30px;padding:7px 11px;background:var(--pink);color:var(--burgundy);font-size:11px;font-weight:800}

/* Split composition */
.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.photo-panel{border-radius:30px;overflow:hidden;min-height:420px;position:relative}
.photo-panel img{width:100%;height:460px;object-fit:cover}
.photo-panel .float{position:absolute;bottom:22px;left:22px;right:22px;background:#fffcf4e8;backdrop-filter:blur(12px);border-radius:18px;padding:18px}

/* Steps */
.steps{counter-reset:step}
.step{display:flex;gap:17px;padding:19px 0;border-bottom:1px solid var(--line)}
.step-num{display:grid;place-items:center;flex:0 0 43px;height:43px;border-radius:50%;background:var(--pink);color:var(--burgundy);font-weight:800}
.step strong{display:block;margin-bottom:5px}
.step p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}

/* Banner */
.banner{background:linear-gradient(110deg,#72253f,#49182e);border-radius:30px;color:#fff;padding:55px;display:flex;justify-content:space-between;align-items:center;gap:28px}
.banner h2{margin:0 0 12px}
.banner p{color:#f0d7df}

/* Footer */
.footer{background:#2f1725;color:#fff;padding:64px 0 25px}
.footer .brand{color:#fff}
.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:34px}
.footer a{display:block;color:#e7cbd5;font-size:13px;margin:12px 0}
.footer h4{margin:5px 0 17px}
.footer-bottom{border-top:1px solid #ffffff2c;margin-top:40px;padding-top:22px;display:flex;justify-content:space-between;gap:15px;color:#c8aab7;font-size:12px}

/* Page hero */
.page-hero{background:linear-gradient(140deg,#f6e9ec,#fffaf4);padding:85px 0 75px}
.page-hero .lead{max-width:730px}
.page-hero h1{max-width:870px}
.page-hero.photo{background-size:cover;background-position:center;color:#fff}
.page-hero.photo .lead{color:#fbe9ed}
.page-hero.photo .eyebrow{color:#f1b7c9}

/* Filters and search */
.filters{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0 26px}
.filter{background:#fff;border:1px solid var(--line);color:var(--muted);padding:10px 17px;border-radius:30px;font-size:12px;font-weight:800}
.filter.active{background:var(--burgundy);color:#fff;border-color:var(--burgundy)}
.search{width:100%;padding:14px 17px;border-radius:13px;border:1px solid var(--line);background:#fff;outline-color:var(--rose)}

/* Forms */
.field{display:grid;gap:7px;font-size:13px;font-weight:700}
.field input,.field textarea,.field select{width:100%;padding:13px 15px;border-radius:12px;border:1px solid var(--line);background:#fff;outline-color:var(--rose);color:var(--ink)}
.field textarea{min-height:140px;resize:vertical}
.form{display:grid;gap:17px}
.form .two-col{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.notice{background:#fff5e9;border:1px solid #f2dcc3;padding:14px 18px;border-radius:14px;color:#8b6341;font-size:13px;line-height:1.6}

/* FAQ */
/* Help Center */
.help-panel{display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:0 8px 30px #451a2c08;margin-bottom:26px}
.help-panel h2{margin:6px 0 0;font-size:clamp(26px,3vw,34px)}
.help-panel .search{background:var(--ivory)}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.faq{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 18px;margin:0;box-shadow:0 6px 22px #451a2c06}
.faq summary{cursor:pointer;font-weight:800;padding:15px 0;list-style:none;display:flex;justify-content:space-between;gap:14px;line-height:1.45}
.faq summary:after{content:'+';color:var(--burgundy);font-size:21px;line-height:1;flex:none}
.faq[open] summary:after{content:'−'}
.faq p{color:var(--muted);font-size:14px;line-height:1.75;margin:0 0 16px}
.help-support{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--deep);color:#fff;border-radius:24px;padding:27px 30px;margin-top:34px}
.help-support strong{font-family:'Playfair Display',serif;font-size:23px;letter-spacing:-.4px}
.help-support p{color:#ecd8df;margin:5px 0 0;font-size:14px;line-height:1.6}
.help-support .button{flex:none}

/* Feature rows */
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding:55px 0;border-bottom:1px solid var(--line)}
.feature-row:nth-child(even) .feature-img{order:-1}
.feature-img{border-radius:24px;overflow:hidden}
.feature-img img{height:370px;width:100%;object-fit:cover}
.feature-row ul{padding-left:19px;color:var(--muted);line-height:2}

/* Article */
.article{max-width:780px;margin:0 auto;font-size:17px;line-height:1.9}
.article h2{font-size:33px;margin-top:40px}
.article p{color:#594752}
.article img{border-radius:23px;margin:24px 0;width:100%;max-height:430px;object-fit:cover}
.smallprint{font-size:12px;color:var(--muted)}

/* Modal and toast */
.modal-backdrop{position:fixed;inset:0;background:#2f1725aa;display:none;place-items:center;z-index:80;padding:20px}
.modal-backdrop.show{display:grid}
.modal{background:#fff;padding:30px;border-radius:23px;width:min(480px,100%);box-shadow:var(--shadow)}
.modal h3{font-family:'Playfair Display',serif;font-size:29px}
.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,100px);background:var(--deep);color:#fff;padding:14px 20px;border-radius:13px;z-index:90;opacity:0;transition:.25s;max-width:90vw}
.toast.show{transform:translate(-50%,0);opacity:1}
.newsletter{display:flex;gap:8px;max-width:80%}
.newsletter input{min-width:0;flex:1;border-radius:12px;border:1px solid var(--line);padding:12px}
.empty{padding:40px;text-align:center;color:var(--muted)}
.progress{height:7px;background:#f2dce3;border-radius:10px;overflow:hidden}
.progress span{display:block;height:100%;background:var(--burgundy)}

/* Phone mock */
.mock-phone{border:9px solid #251922;border-radius:37px;background:var(--ivory);padding:26px 18px 22px;max-width:290px;box-shadow:var(--shadow);transform:rotate(4deg);margin:auto}
.mock-phone .mock-photo{height:240px;object-fit:cover;border-radius:17px;width:100%}
.mock-phone .mock-head{font:700 25px 'Playfair Display',serif;color:var(--burgundy)}
.mock-phone .mock-btn{background:var(--burgundy);color:#fff;border-radius:10px;padding:12px;text-align:center;font-size:12px;font-weight:800;margin-top:15px}

/* Server-side form feedback */
.flash{background:#eef7f1;border:1px solid #cfe6d8;color:#24614a;padding:14px 18px;border-radius:14px;font-size:13px;line-height:1.6;margin-bottom:18px}
.errors{background:#fdeef1;border:1px solid #f3c9d3;color:#8c2440;padding:14px 18px;border-radius:14px;font-size:13px;line-height:1.6;margin-bottom:18px}
.errors ul{margin:0;padding-left:18px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Responsive */
@media(max-width:950px){
  .navlinks{gap:12px}
  .navlinks a{font-size:12px}
  .navwrap{gap:12px}
  .split,.feature-row{gap:30px}
  .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .navwrap{min-height:69px}
  .menu{display:block}
  .navlinks{display:none;position:absolute;left:0;right:0;top:69px;background:var(--ivory);padding:17px 22px 24px;box-shadow:0 15px 20px #43192d16;flex-direction:column;align-items:stretch;gap:0}
  .navlinks.open{display:flex}
  .navlinks a{padding:13px 0;font-size:14px;border-bottom:1px solid var(--line)}
  .header .navwrap>.button{display:none}
  .mobile-cta{display:block}
  /* The hero becomes one stacked column: the copy, then the photograph right
     under it — no fixed offset and no empty band between the two. */
  .hero{display:flex;flex-direction:column;min-height:0;align-items:stretch}
  .hero .wrap{order:1;margin-top:0;margin-bottom:0}
  .hero .copy{width:100%;padding:40px 0 28px}
  .hero h1{font-size:clamp(34px,9vw,42px)}
  .hero-photo{order:2;position:relative;inset:auto;height:clamp(320px,58vh,540px);background-position:center 40%}
  /* The photograph rises out of the copy: the hero's own colour at the top,
     clear by a third of the way down. */
  .hero-photo:before{display:block;inset:0;background:linear-gradient(180deg,#f8eceb 0%,#f8ecebcc 10%,#f8eceb00 34%)}
  .hero .lead{max-width:330px}
  .section{padding:64px 0}
  /* One card per row: the Circle cards on Home and the four journey cards on
     How It Works read as a list on a phone, not two cramped columns. */
  .grid.four{grid-template-columns:1fr}
  .split,.feature-row,.grid.two,.grid.three{grid-template-columns:1fr}
  /* About closes with a photo; the next section does not need the full
     section gap on top of it. */
  body[data-page="about"] .section{padding:34px 0}
  /* The panel reserves space for a tall desktop picture; on a phone the
     picture sets the height itself, so nothing is left under it. */
  .photo-panel{min-height:0}
  .feature-row:nth-child(even) .feature-img{order:0}
  .section-head{display:block}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer-bottom{display:block}
  .banner{display:block;padding:30px}
  .banner .button{margin-top:12px}
  .page-hero{padding:62px 0}
  .photo-panel img{height:340px}
  .form .two-col{grid-template-columns:1fr}
  .feature-row{padding:30px 0}
  .feature-img img{height:270px}
  .newsletter{flex-wrap:wrap}
  .newsletter input{flex-basis:100%}
  /* Help Center: one question per row on a phone. */
  .help-panel{grid-template-columns:1fr;padding:22px;gap:16px}
  .faq-grid{grid-template-columns:1fr}
  .help-support{display:block}
  .help-support .button{margin-top:16px}
}
