:root{
  --bg:#F6F3EE;               /* page background stays same unless you want to change it */

  --text:#2B2E34;             /* your new main text color */
  --muted: var(--text);
  --muted2: var(--text);
  --border: var(--footer-bg);

  --footer-bg:#B7D7F0;        /* footer background */
  --footer-fg:#F6F3EE;        /* footer icons + privacy link */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  display:flex;
  flex-direction:column;
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.main{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 40px; /* more top/side padding */
}

@media (max-width: 600px){
  .main{
    padding: 84px 22px 46px; /* extra breathing room on phone */
  }
}

.container{
  width:min(920px, 100%);
  text-align:center;
}

h1{
  margin: 0 auto 34px;
  font-family: "Archivo", Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;          /* Archivo Medium */
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  max-width: 520px;
}

.serif{
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight:400;
}

.sub{
  margin: 0 auto 28px;          /* more gap before form */
  max-width: 400px;             /* all devices */
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 600px){
  h1{
    max-width: 340px;           /* phone title width */
    font-size: 56px;            /* optional: keeps it from feeling too huge */
  }
}

.formWrap{
  margin: 0 auto 16px;          /* more space under the form */
  width: min(520px, 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
}

.formWrap input{
  flex:1;
  border:0;
  padding:12px 14px;
  font-size:14px;
  background:transparent;
  outline:none;
  color:var(--text);
}

.formWrap button{
  border: 0;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 500; /* Inter Medium */
  background: var(--footer-bg);
  color: var(--bg);
}

.tiny{
  margin-top: 10px;             /* adds space above */
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0;
  font-style: italic;
  color: var(--muted2);
}

.hero-title{
  margin: 0 auto 34px;
  max-width: 520px;
  text-align: center;
}

.hero-title .line{
  display: inline;
}

@media (max-width: 600px){
  .hero-title{
    max-width: 360px; /* slightly wider than before */
  }

  .hero-title .line{
    display: block;
  }

  .hero-title .line-1{
    margin-bottom: 6px;
  }

  .hero-title .line-2{
    margin-bottom: 6px;
  }
}

.privacy {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px 120px;
}

.privacy h1{
  font-family: "Archivo", Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 1.1;
  max-width: none;
  white-space: nowrap;
}

.privacy h2{
  font-family: "Archivo", Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
}

.privacy p,
.privacy li {
  line-height: 1.6;
  margin-bottom: 12px;
}

.privacy ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.privacy {
  text-align: left;
}

.privacy h1,
.privacy h2 {
  text-align: left;
}

.privacy p {
  text-align: left;
}

.privacy ul {
  padding-left: 22px;
}

.privacy li {
  margin-bottom: 8px;
}

.footer{
  width: 100%;
  padding: 12px 16px;
  border-top: 1px solid rgba(43,46,52,.12);
  background: var(--footer-bg);

  display: flex;
  align-items: center;
  justify-content: space-between;

  text-align: left;
  font-size: 12px;

  margin-top:auto;
}

.footer-left{
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-left a{
  color: var(--footer-fg);          /* icons match F6F3EE */
  display: flex;
  align-items: center;
}

/* make SVG icons follow the link color */
.footer-left .icon{
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: opacity .2s ease;

  fill: currentColor;
  stroke: none;
}

.footer-left a:hover .icon{ opacity: 1; }

.footer-right a{
  color: var(--footer-fg);          /* “Privacy Policy” link matches F6F3EE */
  text-decoration: none;
}

.footer-right a:hover{ text-decoration: underline; }

/* Mobile: keep SAME left/right layout */
@media (max-width: 600px){
  .footer{
    padding: 12px 16px;
  }
}

@media (max-width: 420px){
  .privacy h1{
    white-space: normal;
    font-size: 40px;
  }
}
